D
D
Hello everyone -
General question. How would I create a SQL code in ASP that
will insert selected records into a new table, and then delete those
same records from the original table in one command? I can INSERT INTO
and DELETE individually but I want them to run in conjunction with
each. Here is my sample code
SQL = "INSERT INTO tbl_Cancelled SELECT * FROM Tbl_employee where EmpID
like '" & request.querystring("EmpID") & and deleted='yes'"'"
General question. How would I create a SQL code in ASP that
will insert selected records into a new table, and then delete those
same records from the original table in one command? I can INSERT INTO
and DELETE individually but I want them to run in conjunction with
each. Here is my sample code
SQL = "INSERT INTO tbl_Cancelled SELECT * FROM Tbl_employee where EmpID
like '" & request.querystring("EmpID") & and deleted='yes'"'"