Subject | Re: [firebird-support] Big Problem |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2004-04-05T07:13:47Z |
On 2 Apr 2004 at 21:24, DB Soluзхes wrote:
statement, but doesn't do this for procedure parameters.
PAGINAS. That's not good. If you declare it BLOB, you have to provide
it with blob_id.
> I have a problem with a database of one of my clients. It s the sameFirebird automatically convert string values/constants for INSERT
> database as all the other clients but when I call the following procedure,
>I
> get "Unsuccessful execution caused by a system error that precludes
> successful execution of subsequent statements. internal error." But when I
> do the insert outside the procedure, it works just fine.
statement, but doesn't do this for procedure parameters.
> CREATE PROCEDURE GERENCIA_FAX(I bet, you call this procedure, using a string as value for
> ACT INTEGER,
> ID_FAX INTEGER,
> ID_USUARIO INTEGER,
> ID_DOCUMENTO INTEGER,
> ID_SISTEMA_FAX INTEGER,
> NUMERO_ENVIO VARCHAR(20),
> PAGINAS_TOTAL INTEGER,
> PAGINAS BLOB SUB_TYPE 1 SEGMENT SIZE 10,
PAGINAS. That's not good. If you declare it BLOB, you have to provide
it with blob_id.
> STATUS SMALLINT)SY, Dimitry Sibiryakov.