SQL Clone
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)

BCP all user tables of a database

By swede,

This script will BCP all user tables of a database to individual files. The file names are tablenameyyyymmddhhmmss.dat
To execute
usp_bcp_out_alltables 'database','path','server'
You will need to change your default
1) path
2) server

Total article views: 235 | Views in the last 30 days: 1