Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Do not include that column or value in your Insert. Let the DB engine handle
it. NickHK "Striker" wrote in message ... I am trying to inset into a SQL database table some information based on cell entries. One of my fields takes a NULL value, when I look at the SQL table it actually says NULL in there. So my question is how do I get the Null into the table from my insert query? Should the variable I'm copying the data from the cell to, be a Integer, or String etc. MySQL = "insert into carer (carer_lookup_type,carer_code,carer_prompt,full_na me,carer_prompt_sp) values (" & sLookup & ", " & _ iCarCode & ", '" & iPrompt & "', '" & sFname & "', '" & iSP & "')" Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Failed to save table attributes of (null) into (null). | Excel Discussion (Misc queries) | |||
How to test for imported Access table null cell? | Excel Worksheet Functions | |||
Null, "null", vbNull, vbNullString, vbEmpty | Excel Programming | |||
Pivot table format changes if value of source data is null | Excel Discussion (Misc queries) | |||
need Lookup table to return null or zero | Excel Worksheet Functions |