Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append Data to table

Status
Not open for further replies.

kondzio

IS-IT--Management
Nov 2, 2002
17
US
I am trying to append (import) data to a table which has constraints and locks put on some of the columns.Is there any way to add data to my table, as import wizard will not work because of the constraints, and imported data comes in .cvs format. I tried copy and paste directly into the table but that does not work neither.

I am new at this, so please help. I will provide any additional info if needed.

Thank you,

 
Create a staging table, bulk insetr into that then use an SP to add the data to the production tables.
See

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top