Script to generate BCP Statements for a Database

The Script below creates a Stored Procedure that returns a Macro SQL Statement. When this SQL statement is executed, it inturn returns BCP Out Statements for all the tables in a given database. The database name should be passed as a parameter to the procedure. Before the procedure is created, the SA Password must be […]

1 (1)

2002-01-07

3,674 reads

Blogs

Built-in Duotone Image Filter, Editor Navigation via Persistent List View, and Other Block Editor Improvements

By

The next batch of exciting updates to the block editor is live on WordPress.com....

Are You a Diverse User Group or Event?

By

One of the things that I’ve seen crop up at various points in my...

Daily Coping 18 Jun 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

Argument syntax for SSIS Execute Process Task Editor

By Isabelle2378

Hi, I'm trying to modify my SSIS packages to use sftp and since it...

Seeking input on Best Method to Join on First or Last Row in a 1:M Join

By YSLGuru

I have included the DDL to re-create the 2 tables in this examples. I...

DB logins permission script out

By sqltester1

Hi, Can anyone share or point me to get -DB logins permissions in a...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers