Like the sp_xfrdata_v2.0.sql script below, this SQL 7.0 script will generate insert-statements for rows in a table and is useful for quick transfers between databases or for filling tables with test or standard info.
- handles identity columns (using identity_insert)
- skips timestamp columns
- handles quotes in strings
- handles text fields to a maximum of 1000
- sorts output to make comparing output from different moments / databases simpler
Author: Inez Boone
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
"as -is", without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose...
Back to Database Journal Home