Hi I have an urgent problem
I want to insert values into a table using the C
syscalls provided by the libpq library, but i find that i can not insert into
the table when i use variables instead of values...like so:
int a,b,c,d;
using the C function
res=PQexecute(Conn,"INSERT into table
values(a,b,c,d));....
executing above statement with plain integers does fine and inserts them
into table..
Is there some special way to insert variables
rather than plain values? do i have to build functions (in sql) or
somehting?help!
Thanx |
- Re: [SQL] Dan Langille
- [SQL] marcello miorelli
- [SQL] Vishal Charan (IT Fiji)
- Re: [SQL] Jan Wieck
- [SQL] ronald
- Re: [SQL] Louise Cofield
- [SQL] ronald
- [SQL] Andreas Heissenberger
- [SQL] sundaresan raman
- Re: [SQL] A.Bhuvaneswaran
- Re: [SQL] MUKTA
- Re: [SQL] email
- [SQL] MUKTA
- Re: [SQL] Richard Huxton
- [SQL] Prashanthi Muthyala