Trying to convert data from paradox to MS SQL. The ID Column is a Identity column on MS SQL. I'm trying to use a TMSSQL to set the identity_insert on:
Code: Select all
SET IDENTITY_INSERT TestApp.dbo.TableName ONCode: Select all
taMSTable.insert;
taMSTable.FieldByName('ID').value := taPDoxTable.FieldByName('OLDID').value;
taMSTable.FieldByName('VALUE1').value := taPDoxTable.FieldByName('OLDVALUE1').value;
ect...
taMSTable.post;Code: Select all
SET IDENTITY_INSERT TestApp.dbo.TableName OFFThe reason that I'm using the TMSTable is that I would like to be able to do field convertion as I'm moving from Paradox to MS SQL...
Any ideas?
-Kurt