our client is having a 'spring cleaning' on their database now and would like the following done:
1) table name: assessment
field name: ABC
end date: dd/MM/yyyy
if field name = ABC and end date is greater than 1/12/2008, to replace all the records' end date to 30/11/2008 and
2) to create another record with a field name of XYZ with a start date of 1/12/2008
how can i combine all the queries into 1 script? any suggestions please?
thank you.
1) table name: assessment
field name: ABC
end date: dd/MM/yyyy
if field name = ABC and end date is greater than 1/12/2008, to replace all the records' end date to 30/11/2008 and
2) to create another record with a field name of XYZ with a start date of 1/12/2008
how can i combine all the queries into 1 script? any suggestions please?
thank you.