Help regarding INSERT INTO statement

Поиск
Список
Период
Сортировка
От Smitha V. Babu
Тема Help regarding INSERT INTO statement
Дата
Msg-id B0DA2772AD4CD711A8F300C04F1524A6FC5ACC@BG1MAIL
обсуждение исходный текст
Ответы Re: Help regarding INSERT INTO statement  ("paul butler" <paul@entropia.co.uk>)
Список pgsql-novice
Hi all,
In my pgm i want to insert to the table a number of data..
I want toinsert it through variable names...
my program look like this

char *name="smitha";
char *address="Bangalore";

PQexexc(conn,"INSERT INTO data VALUES(name,address)");

whare data is the tablename having two fields UserName and UserAddress...

but this doesn't works

Can any one of u help me....

Thanking in advance..
smitha

*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************

В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [WAS] postmaster fatal error LC_TIME:fr when launching
Следующее
От: "paul butler"
Дата:
Сообщение: Re: Help regarding INSERT INTO statement