I've written some code (with a lot of help!) which passes values from SQL to a perl script as arguments at a command line.
One of the fields in the SQL table is 'read status'.
I'd like to include some code which:
1) detects the read status of 0 (acts as a validation - 0 = records are to be extracted).
2) changes the 0 to a 1 so that specific record is ignored on future sweeps.
Any advice or pointers to online resources would be very welcome.
Cheers,
One of the fields in the SQL table is 'read status'.
I'd like to include some code which:
1) detects the read status of 0 (acts as a validation - 0 = records are to be extracted).
2) changes the 0 to a 1 so that specific record is ignored on future sweeps.
Any advice or pointers to online resources would be very welcome.
Cheers,