From: | "Wm(dot) G(dot) Urquhart" <wgu(at)wurquhart(dot)co(dot)uk> |
---|---|
To: | PostgreSQL General Forum <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: More on "What am I doing wrong!" |
Date: | 2002-05-19 08:53:25 |
Message-ID: | Pine.LNX.4.44.0205190948210.510-100000@mailer.wurquhart.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Wm. G. Urquhart | 2002-05-19 08:56:44 | Re: More on "What am I doing wrong!" |
Previous Message | Cindy | 2002-05-19 07:31:49 | sun solaris & postgres |