Generate create table statements in code like visual studio integration project import/export wizard

StackOverflow https://stackoverflow.com/questions/22155542

  •  19-10-2022
  •  | 
  •  

In a visual studio integration services project you can use the import/export wizard to generate a package which contains a Control Flow Execute SQL task. The Execute SQL task gets an automatically generated create table statement in the SQLStatement property. I would like to access this functionality for generating create table statements through .net code, without using the wizard. Does anybody know if this is exposed anywhere in the SSIS .NET api?

没有正确的解决方案

其他提示

I like using SMO - SQL Management Objects for stuff like this.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top