Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 SQL Bulk Copy/Insert - create destination table?

Author  Topic 

Gordopolis
Starting Member

4 Posts

Posted - 2010-04-12 : 17:00:49
Hi,

I'm using sql bulk copy from my c# app. If I wanted to programmatically create a destination table based on the source table schema if it doesn;t exist, what is the easiest way to do this (ideally if I could say sqlBulkCopy.CreateIdDoesntExist = true, but that property doesn't appear to exist!)?

Cheers in advance,
Gordopolis
   

- Advertisement -