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 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...
-
This is an error that is coming from SQL server and not from windows batch script. If you are passing Parameter with special characters ...
-
Normal way of creating a view is.. create[alter] view myViewWithoutCTE as ( select * from ... ) Create view with CTE ...notice brac...
No comments:
Post a Comment