Last active
December 16, 2015 01:59
-
-
Save tecnocrata/5358844 to your computer and use it in GitHub Desktop.
Busca objetos dentro los nombres de columnas en T-SQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select | |
| o.name,c.name | |
| from sys.columns c | |
| inner join sys.objects o on c.object_id=o.object_id | |
| where c.name Like '%bus_no%' | |
| order by o.name,c.column_id | |
| -- for query tables use sys.tables | |
| -- for query stored procedures use sys.procedures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment