Subject | Re: [firebird-support] Unclear error calling sp from delphi |
---|---|
Author | Helen Borrie |
Post date | 2004-09-10T14:51:56Z |
At 02:15 PM 10/09/2004 +0000, you wrote:
There are other data types it won't support; and a large number of new SQL
constructs. The nearest you'll get to supporting Firebird is BDE 5.2 (the
last-ever) driver which I think you can ONLY get with Delphi 6
Enterprise. But it doesn't fully support the Dialect 3 datatypes
either. (Borland has completely deprecated the BDE for everything but
Access and Paradox...)
Basically, ditch the BDE and get an alternative data access layer. IB
Objects (I think) is the only (and anyway, best) option for working with
Firebird and Delphi 4. (Though UIBComponents and one or two of the other
"thin" data access packages *might* have a Delphi 4 version...)
See http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_dev_comps
btw, this is not a Delphi list.
./heLen
>Hi all,The InterBase driver for the BDE with Delphi 4 is for InterBase 5.0.
>
>I have a stored procedure in firebird 1.5 wich wordks from IBConsole
>and from sqlexplorer, but fails when called from delphi.
>
>The error I get is "General SQL error. Internal error".
>
>I am using Delphi 4 and the BDE.
>I already tried it in a very simple program, the error stays. OtherYup. InterBase 5 didn't support the TIMESTAMP type or quoted identifiers.
>Stored Procedure in the same database are working just fine, the only
>difference is that this sp adds records to a table with a calculated
>field ("ONTVANGENOP" TIMESTAMP Default 'Now' NOT NULL).
>
>Anybody any idea?
There are other data types it won't support; and a large number of new SQL
constructs. The nearest you'll get to supporting Firebird is BDE 5.2 (the
last-ever) driver which I think you can ONLY get with Delphi 6
Enterprise. But it doesn't fully support the Dialect 3 datatypes
either. (Borland has completely deprecated the BDE for everything but
Access and Paradox...)
Basically, ditch the BDE and get an alternative data access layer. IB
Objects (I think) is the only (and anyway, best) option for working with
Firebird and Delphi 4. (Though UIBComponents and one or two of the other
"thin" data access packages *might* have a Delphi 4 version...)
See http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_dev_comps
btw, this is not a Delphi list.
./heLen