Technical Article

Script and Export (via BCP) SQL Tables

Script via OLE Automation and Export via BCP.  Check for existance of object, checks count of table with count of exported file (reads BCP output).  Will do DBCC UPDATEUSAGE if at first the SQL record count does not match BCP count.  Full options for scripting (with w/o indexes, Referential integrity, etc).  REQUIRES ADMIN ACCESS - […]

5 (2)

You rated this post out of 5. Change rating

2004-04-15

2,467 reads

Blogs

Copilot in Microsoft Fabric

By

Microsoft Copilot is an app that uses AI to help you find information, create content,...

Test Data Manager in Under 10 Minutes

By

Test Data Manager (TDM) is a suite of products from Redgate that make it...

T-SQL Tuesday #176 One piece of advice that you wish Past you had

By

This month’s T-SQL Tuesday is hosted by a dear friend, long time SQL Server...

Read the latest Blogs

Forums

Add custom toolbar to SSMS

By richardmgreen1

Hi all   I'm fairly certain I've done this before but can't figure it...

Add custom toolbar to SSMS

By richardmgreen1

Hi all   I'm fairly certain I've done this before but can't figure it...

Streaming Event Data through RabbitMQ to a Microsoft Fabric Eventstream

By Koen Verbeeck

Comments posted to this topic are about the item Streaming Event Data through RabbitMQ...

Visit the forum

Question of the Day

What's Wrong with this Table?

What's wrong with this code and causes an error?

CREATE TABLE Customer
(
    CustomerID INT NULL,
    FirstName NVARCHAR(50) NOT NULL,
    LastName NVARCHAR(50) NULL,
    Email NVARCHAR(100) NOT NULL,
CONSTRAINT CustomerPK PRIMARY KEY (CustomerID, LastName)
);


See possible answers