Not easy, although I can do two ways to do this:
- Write down a series of stored procedures that identify all the varchar and text columns of all tables and generate separate update statements for each column of each table in the form "UPDATE foo SET BAR = REPLACE (BAR," foobar "," quux ")"). Probably this is due to a large number of queries to system tables with a large number of experiments - Microsoft is not going to document this material.
- , /, . , MS SQL Server, . Microsoft Microsoft SQL Server Database Publishing Wizard , SQL Server , SQL DDL DML. , ,
sqlcmd, .
, , DPW SQL Server. , , (MS SQL Server 2000/2005), .