sql server - SSIS Script - Export tables to files with metadata and import them using script task -


i have requirement export 100-150 tables sybase out .csv files on daily basis. need export metadata of each table (column names + data types) when import them, dont have guesstimate metadata. have gotten first part done using code here:

welcome techbrothersit: c# - how export data sql server table or view text file in c sharp[^]

however believe need metadata when importing these files back, otherwise how code know data type set column to?

i still not sure code 2nd part, is, how import these files tables using code. assume need generated metadata figure out data types. 3rd party add-ons not option, hard requirement to use file based cdc hence option. can on this?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -