Re: More on "What am I doing wrong!"

Поиск
Список
Период
Сортировка
От Wm. G. Urquhart
Тема Re: More on "What am I doing wrong!"
Дата
Msg-id Pine.LNX.4.44.0205190948210.510-100000@mailer.wurquhart.co.uk
обсуждение исходный текст
Ответ на More on "What am I doing wrong!"  ("Wm. G. Urquhart" <wgu@wurquhart.co.uk>)
Список pgsql-general
On Sat, 18 May 2002, mordicus wrote:

> faile with a message ?

No there is nothing. Only my own error trap.

> in your function CPatient::ApplyData(CDataBase* pData)
> "ret" should not be 0 since it's an integer ?

Ok, I'll change that.

> if (Ok = SQL_SUCCEEDED(SQLBindParameter(pData->GetHandle(), 1,
> SQL_PARAM_OUTPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &nParent, 0, &ret)))
>
> Ok, so, if i understand, with psql when you do
>
> select apply_parent_details(...your params...) it work and
> in your code, when you do the same think it faile ?

Yes, exactly.

> Can you active sql log to see what happend ?

How do I do that?

> I've tested with my own code, and it work well.

Tested what?

> Can you send me the shema of your database ?

Sure. Will a dump() do?

--
Regards,


Wm. G. Urquhart
Custom Software Solutions
http://www.wurquhart.co.uk




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

Предыдущее
От: Cindy
Дата:
Сообщение: sun solaris & postgres
Следующее
От: "Wm. G. Urquhart"
Дата:
Сообщение: Re: More on "What am I doing wrong!"