Advertisement
PtiTom

TFS 01 - Create Tables

May 14th, 2014
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.18 KB | None | 0 0
  1. SELECT
  2. 'use ' + name + '
  3. CREATE TABLE TBL_TransactionLogMark (LogMark int)
  4. GO
  5. INSERT INTO TBL_TransactionLogMark (LogMark) VALUES (1)
  6. GO'
  7. FROM
  8.     sysdatabases
  9. WHERE SID <> 0x01
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement