|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
sql 2k insert into errorhi,
I need to insert records from one table to another in the same database. INSERT INTO A (field1, field2) Select field1, field2 From B where C='c' Table A has 5 fields the rest of 3 fields allow null values. I got error says that Can't insert more than one at a time I don't want to open cursor. There is any way to do it? Thanks > I need to insert records from one table to another in the same database. That is exactly how you should do this. I suspect that there is a poorly > INSERT INTO A (field1, field2) Select field1, field2 From B where C='c' written trigger that is causing the error. In the future, please post the EXACT error message. |
|||||||||||||||||||||||