Insert, update into mysql database. Hi, I've recently been programming in asp.net and one thing i noticed on the insert and update statements into the mssql database it was common practice to remove the ' around the variable when inserting a number eg:
insert into table (field_string, field_integer) values ('$string', $integer)
I was wondering whether I should be doing this, also I was wondering whether enum is a number or a string.
Appreciate any help. Cheers
insert into table (field_string, field_integer) values ('$string', $integer)
I was wondering whether I should be doing this, also I was wondering whether enum is a number or a string.
Appreciate any help. Cheers