
weblogs.sqlteam.com/brettk/2006/09/22/12454
Preview meta tags from the weblogs.sqlteam.com website.
Linked Hostnames
2Search Engine Appearance
How do I find all the tables referenced by Stored Procedures or Functions
Like this SELECT o.name, t.TABLE_NAME, c.text FROM syscomments c JOIN sysobjects o ON c.id = o.id JOIN INFORMATION_SCHEMA.Tables t ON c.text LIKE '%'+t.TABLE_NAME+'%' Legacy Comments Peter DeBetta, Microsoft MVP - S 2006-09-22 re: How do I find all the tables referenced by Stored Procedures or Functions Actually, that isn't entirely reliable if the code of the procedure is longer than 8000 characters.
Bing
How do I find all the tables referenced by Stored Procedures or Functions
Like this SELECT o.name, t.TABLE_NAME, c.text FROM syscomments c JOIN sysobjects o ON c.id = o.id JOIN INFORMATION_SCHEMA.Tables t ON c.text LIKE '%'+t.TABLE_NAME+'%' Legacy Comments Peter DeBetta, Microsoft MVP - S 2006-09-22 re: How do I find all the tables referenced by Stored Procedures or Functions Actually, that isn't entirely reliable if the code of the procedure is longer than 8000 characters.
DuckDuckGo
How do I find all the tables referenced by Stored Procedures or Functions
Like this SELECT o.name, t.TABLE_NAME, c.text FROM syscomments c JOIN sysobjects o ON c.id = o.id JOIN INFORMATION_SCHEMA.Tables t ON c.text LIKE '%'+t.TABLE_NAME+'%' Legacy Comments Peter DeBetta, Microsoft MVP - S 2006-09-22 re: How do I find all the tables referenced by Stored Procedures or Functions Actually, that isn't entirely reliable if the code of the procedure is longer than 8000 characters.
General Meta Tags
6- titleHow do I find all the tables referenced by Stored Procedures or Functions | Brett Kaiser (x002548) Blog
- charsetutf-8
- viewportwidth=device-width, initial-scale=1, shrink-to-fit=no
- article:published_time2006-09-22T12:32:54-05:00
- article:modified_time2006-09-22T12:32:54-05:00
Open Graph Meta Tags
4- og:titleHow do I find all the tables referenced by Stored Procedures or Functions
- og:descriptionLike this SELECT o.name, t.TABLE_NAME, c.text FROM syscomments c JOIN sysobjects o ON c.id = o.id JOIN INFORMATION_SCHEMA.Tables t ON c.text LIKE '%'+t.TABLE_NAME+'%' Legacy Comments Peter DeBetta, Microsoft MVP - S 2006-09-22 re: How do I find all the tables referenced by Stored Procedures or Functions Actually, that isn't entirely reliable if the code of the procedure is longer than 8000 characters.
- og:typearticle
- og:urlhttps://weblogs.sqlteam.com/brettk/2006/09/22/12454/
Twitter Meta Tags
3- twitter:cardsummary
- twitter:titleHow do I find all the tables referenced by Stored Procedures or Functions
- twitter:descriptionLike this SELECT o.name, t.TABLE_NAME, c.text FROM syscomments c JOIN sysobjects o ON c.id = o.id JOIN INFORMATION_SCHEMA.Tables t ON c.text LIKE '%'+t.TABLE_NAME+'%' Legacy Comments Peter DeBetta, Microsoft MVP - S 2006-09-22 re: How do I find all the tables referenced by Stored Procedures or Functions Actually, that isn't entirely reliable if the code of the procedure is longer than 8000 characters.
Link Tags
2- canonicalhttps://weblogs.sqlteam.com/brettk/2006/09/22/12454/
- stylesheethttps://weblogs.sqlteam.com/brettk/css/style.css
Links
4- https://weblogs.sqlteam.com/brettk
- https://weblogs.sqlteam.com/brettk/2006/09/22/12454
- https://weblogs.sqlteam.com/brettk/tags/sql-server
- https://www.sqlteam.com