Board index » delphi » Passing null values to a stored procedure
Nick Barrett
![]() Delphi Developer |
Mon, 24 May 2004 17:19:25 GMT
Passing null values to a stored procedure
I'm having problems passing a null value using a TIBStoredProc to a stored
procedure. The input parameter is of type Date. Inside the stored proc the value of the parameter is used in an INSERT query. Here is an example of my setup. create table "My_Table" ("Date_One" Date not null, "Date_Two" Date); set term ^ ; In the above example I would expect a null in the 'A_Date' parameter would To set the parameter null in the TIBStoredProc I tried using the Clear I played around a bit and found that if I placed the line I have used a TIBQuery with parameters set to null before and they have Cheers, |