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 1033, Level 15, State 1, Procedure xxxx , Line 105 [Batch Start Line 0] The ORDER BY clause is invalid in views, inline functions, deri...
-
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...
No comments:
Post a Comment