I have two simple SQL scripts that I use to transfer data from one table to another after the data's been 'cleaned'.
One table gets the 'dirty' data, a human cleans it up and presses a button on an Access form to transfer the cleaned data to the second and final table.
What I need to do is to allow them to transfer the single cleaned record to the next table one at a time instead of as a batch. The scripts I'm using are;
Of course, this will send the contents of the first table to the second.
Then I use this script to delete them all;
Is there anyway to just transfer (and subsequently delete) the current record to the second table instead of * at once?
Thanks guys.
dB
One table gets the 'dirty' data, a human cleans it up and presses a button on an Access form to transfer the cleaned data to the second and final table.
What I need to do is to allow them to transfer the single cleaned record to the next table one at a time instead of as a batch. The scripts I'm using are;
Code:
INSERT INTO dbo_secondtable
SELECT *
FROM dbo_firsttable;
Of course, this will send the contents of the first table to the second.
Then I use this script to delete them all;
Code:
DELETE *
FROM dbo_firsttable
WHERE listno is null;
Is there anyway to just transfer (and subsequently delete) the current record to the second table instead of * at once?
Thanks guys.
dB