How to insert NULL as parameter for TMSSQL ?
For example I have code like that :
Code: Select all
if (some if statement) then
aqZapisz.ParamByName('p1').AsInteger := 1
else
aqZapisz.ParamByName('p1').Value := Variants.null
but I receive error that I need to use convert to insert nulll..
The column is defnded as int type with allow nulls