Hi, I have been trying to populate my db with data. I have a load of tapes in my "tapes" db. I have fields: "Barcodes", "Pool".
The Barcodes field has entries 0 to 1000. I want to do something similar to the following code, but I can't get the syntax correct.
So if the barcode is in the 390's set the pool to primary.
Can anyone give me the syntax for this, pretty much a noob at sql. Thanks for your help.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom
The Barcodes field has entries 0 to 1000. I want to do something similar to the following code, but I can't get the syntax correct.
Code:
INSERT INTO tapeinfo(Pool) values(Primary) WHERE Barcode > 389 AND < 400
Can anyone give me the syntax for this, pretty much a noob at sql. Thanks for your help.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom