Hey,
a little SQL question:
I have a SQL-database which contains barcodes(strings).
Now I have to delete a range of barcodes from the DB,
I know where the deletion begins (startbarcode to delete and the stopbarcode).
I illustrate my question with a simple example:
my database contains the following barcodes
400123000001
400123000002
400123000003
400123000004
400123000005
Now I have to delete all barcodes from barcode '400123000002' to barcode '400123000004'.
The resulting database must be:
400123000001
400123000005
What is the most efficient way to delete this range of barcodes from the SQL-database?
Thanks in advance
nick
a little SQL question:
I have a SQL-database which contains barcodes(strings).
Now I have to delete a range of barcodes from the DB,
I know where the deletion begins (startbarcode to delete and the stopbarcode).
I illustrate my question with a simple example:
my database contains the following barcodes
400123000001
400123000002
400123000003
400123000004
400123000005
Now I have to delete all barcodes from barcode '400123000002' to barcode '400123000004'.
The resulting database must be:
400123000001
400123000005
What is the most efficient way to delete this range of barcodes from the SQL-database?
Thanks in advance
nick