Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Script Tbl Data to Insert Stmts. - Handles Unicode

By StormNorm,

Script Table Data to Insert Statements - Handles Unicode datatypes (nchar, nvarchar, ntext). This script works with SQL 2000 and has been improved to handle properly the nchar, nvarchar, and ntext data types for Unicode, as well as handle apostrophes in data correctly. Usage is to run the script to create the stored proc in the database that contains the table you want to script inserts for, then call the proc in the context of that database as follows: exec InsertGenerator @tableName = 'myTableName' ... Original script from, and thanks go to Sumit Amar at,

Total article views: 566 | Views in the last 30 days: 3
Related Articles

Multi-Script, Multi-DB Deployments

A way to handle application releases involving multiple scripts and/or multiple databases.


PHP error handling onto database

PHP error handling


I need script related to databases

glnp scripts on database


Generate scripts for all databases

Generate scripts for all databases