Subject | How to set a field to NULL |
---|---|
Author | Stefan Heymann |
Post date | 2007-01-20T18:34:08Z |
What is the recommended way to set a Parameter for a writing operation
(INSERT, UPDATE) to NULL:
(1) TIb_Cursor1.ParamByName ('TP_ID').AsVariant := NULL
(2) TIb_Cursor1.ParamByName ('TP_ID').IsNull := TRUE;
(3) another one?
Regards
Stefan
(INSERT, UPDATE) to NULL:
(1) TIb_Cursor1.ParamByName ('TP_ID').AsVariant := NULL
(2) TIb_Cursor1.ParamByName ('TP_ID').IsNull := TRUE;
(3) another one?
Regards
Stefan