SELECT c.name AS ColName, t.name AS TableName FROM sys.columns c JOIN sys.tables t ON c.object_id = t.object_id WHERE c.name LIKE '%ColYouWantTofind%';
Subscribe to:
Post Comments (Atom)
Recently Executed queries
SELECT txt.TEXT AS [SQL Statement], qs.EXECUTION_COUNT [No. Times Executed], qs.LAST_EXECUTION_TIME AS [Last Time Executed], ...
-
Msg 155, Level 15, State 2, Line 1 'datetime' is not a recognized CURSOR option. We get an error of this kind when we miss...
-
Msg 457, Level 16, State 1, Line 15 Implicit conversion of char value to char cannot be performed because the collation of the value is u...
-
DECLARE @temp varchar(50) DECLARE @ID int=1234 SELECT @temp= CAST(@ID AS VARCHAR(50)) RAISERROR(N'This is how you concat with Rais...
No comments:
Post a Comment