Subject | Re: Digest Number 4172 |
---|---|
Author | Adam |
Post date | 2006-08-03T00:31:42Z |
--- In firebird-support@yahoogroups.com, "Diego Gandino - FGKP
Software" <diegog@...> wrote:
values. When I trie to ejecute the SP with no data in this fields the
SP raise and error because it can convert the null value. I tried
passing the word 'null' and raise the same error. What value i have to
pass to the SP when the date value is null?
Also, make sure you are not quoting null, as that turns it into text.
Use:
null
Not:
'null'
If this does not fix the problem, you will need to post the exact
error message.
Adam
Software" <diegog@...> wrote:
>save data in one table. One of the fields is type date and allow nulls
> Support for users of Firebird/InterBaseI have a store procedure that
values. When I trie to ejecute the SP with no data in this fields the
SP raise and error because it can convert the null value. I tried
passing the word 'null' and raise the same error. What value i have to
pass to the SP when the date value is null?
>What program are you executing the SP from? Try using iSQL first.
> Sorry if my english is not good enough, I'm writing from Argentina
Also, make sure you are not quoting null, as that turns it into text.
Use:
null
Not:
'null'
If this does not fix the problem, you will need to post the exact
error message.
Adam