I have to import 9 csv files using SSIS. These files are having primary keys, foreign keys. While importing the files in package, how can I maintain these constraints on my target SQL tables?
Any ideas?
Should I split the work in 2 stages
Stage 1 - directly import raw data into temp tables
Stage 2 - copy from temp tables to target SQL tables and then create the PK, FK on target tables.
sql serverthen later alter tables inDB?? have you tried this - vhadalgi