ms sql null values
- From: "Aaron Masser" <amasser@xxxxxxxxxxxxx>
- Date: Fri, 14 Jul 2006 13:19:15 -0400
Does anyone know how I can send a null value into an MS SQL database
table
from Delphi 7.
I am using the following line of code
InjoistmasterQ.params[0].asfloat := 0;
I do not want 0 to show in the table. I want the value to be null, but
if I try
InjoistmasterQ.params[0].isnull
then I get "Could not covert variant of type (Null) into type (Double).
I have tried
InjoistmasterQ.params[0].clear and get the same thing.
I have even tried creating a varaible and setting it equal to null and then
using that as my input value and that does not work.
Thanks
Aaron Masser
.
- Follow-Ups:
- Re: ms sql null values
- From: John Herbster
- Re: ms sql null values
- From: Bill Todd
- Re: ms sql null values
- Prev by Date: stop delphi TAdoConnection from conecting
- Next by Date: Re: ms sql null values
- Previous by thread: stop delphi TAdoConnection from conecting
- Next by thread: Re: ms sql null values
- Index(es):
Relevant Pages
|