Created
May 13, 2011 08:13
-
-
Save FilipDeVos/970187 to your computer and use it in GitHub Desktop.
Create Collation safe TempTables
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 'tempdb' as db, TABLE_NAME, COLUMN_NAME, COLLATION_NAME | |
FROM tempdb.INFORMATION_SCHEMA.COLUMNS | |
WHERE TABLE_NAME like '#RockStarInfo3%' | |
AND TABLE_SCHEMA = current_user | |
AND COLUMN_NAME = 'name' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment