Questions about embedded-sql!

Поиск
Список
Период
Сортировка
От Anna Langer
Тема Questions about embedded-sql!
Дата
Msg-id 19990420091812.48659.qmail@hotmail.com
обсуждение исходный текст
Ответы Re: [SQL] Questions about embedded-sql!
Список pgsql-sql
Hi!

We are having some problems with writing embedded-sql. We want to
write like this but it doesn't work. test1 is our table in our
database.
 res = PQexec(conn, "select * from test1");   if (!res || PQresultStatus(res) != PGRES_COMMAND_OK)   {
fprintf(stderr,"DECLARE CURSOR command failed\n");       PQclear(res);       exit_nicely(conn);   }  PQclear(res);
 

In the example that we have get this part from are they using CURSORS.
Do you have to use them? Does anybody know where we can find some
examples anbout embedded-sql in C or C++? Does anybody know where we
can find anyting about CURSOR?

We really need some help!!!!

Anna and Maria

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


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

Предыдущее
От: Michael J Davis
Дата:
Сообщение: RE: [SQL] OUTER JOINS
Следующее
От: "Magnum Ind. da Amazonia S/A"
Дата:
Сообщение: Re: [SQL] Questions about embedded-sql!