Home > other >  SQL insert a NULL value
SQL insert a NULL value

Time:12-24

I use the database/SQL packages have inserted into the database, the following code NAME sometimes have value sometimes not, I want to ask when the NAME didn't value in addition to with what method can not insert the NAME field to insert a NULL value
Var id string
Var name string
Id="1", "
Name="SFDDD
"Aconn. Exec (" insert into table_1 (id, name) values (?,?,?,?,? ,?) ", id, name)"
  • Related