in reply to Inserting a record into an Access database
my $sql ="INSERT INTO Billing VALUES ('Doyle','doyle.com','1010','100' +,'Yes')";
Don't do this! Maybe it's not the problem just in this case, but it's dangerous anyway. What if someone, a year later changes the schema of the database. Slightly, just by adding a column into this table, booooooooom.
Always specify the columns you intend to insert to. Please!
Jenda
|
We'd like to help you learn to help yourself Look around you, all you see are sympathetic eyes Stroll around the grounds until you feel at home -- P. Simon in Mrs. Robinson |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inserting a record into an Access database
by RiotTown (Scribe) on Feb 22, 2005 at 03:53 UTC |