Created
March 28, 2018 16:23
-
-
Save shaneis/26f2b7c4382213426019034b70db5947 to your computer and use it in GitHub Desktop.
Getting the suffix at the end of a temp table name
This file contains 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
CREATE TABLE #HasSuffix (id int) | |
SELECT name FROM tempdb.sys.tables WHERE name LIKE '%Suffix%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment