Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.32 KB | None | 0 0
  1. UPDATE [Tables] SET [Definition].modify('replace value of ((/SchemeTable/SchemePrimaryKey/@Name)[1]) with (fn:concat("pk_", sql:column("Name")))');
  2.  
  3. UPDATE [Tables] SET [Definition].modify('replace value of ((/SchemeTable/SchemeUniqueKey[@Name="ndx_LibraryIDName"]/@Name)[1]) with ("ndx_LocalizationEntries_LibraryIDName")');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement