NULLs in ecpg

From: <wespvp(at)syntegra(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: NULLs in ecpg
Date: 2004-07-16 15:50:43
Message-ID: BD1D6383.F3B0%wespvp@syntegra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I couldn't find this in the archives... In an ecpg program, given the
statement (taken from the manual):

EXEC SQL INSERT INTO sometable VALUES (:v1, ¹foo¹, :v2);

Is there a way to create the record where ':v1' is NULL - as with indicators
in a FETCH? Or, do I have to generate different SQL statements in the C
program?

Wes

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Edmund Bacon 2004-07-16 16:11:06 Re: NULLs in ecpg
Previous Message Mario Jose Canto Barea 2004-07-13 16:57:44 i need a driver dbexpress for connected to postgresql with delphi 7