Subject | Re: Datatype uknown error in a stored proc |
---|---|
Author | fabiano_bonin |
Post date | 2003-05-09T14:46:23Z |
--- In ib-support@yahoogroups.com, "Joseph Osende" <osendej@y...>
wrote:
insert into sometable (field1, field2, fieldn) select ... from ...
wrote:
> Hi, List !stored
>
>
>
> I'm using Firebird 1.0.2.
>
>
>
> Could you please tell what's wrong with the following code in a
> proc :atable.fieldn from
>
>
>
>
>
> declare variable entie integer ;
>
>
>
> .
>
> ..
>
> entier = 10 ;
>
> .
>
>
>
> insert into sometable select atable.field1, :entier,
> atabledid you try to specify the column names?
>
insert into sometable (field1, field2, fieldn) select ... from ...
>
>
>
>
> I've tried to cast ( :entier as integer )
>
> And always received the Datatype uknown error.
>
>
>
> Thanks in advance,
>
>
>
>
>
> Joseph Osende
>
> BP 5975
>
> Pointe-Noire
>
> Rép. du Congo
>
>
>
> Tél : +242 670808
>
> Mail : osendej@y...
>
>
>
>
>
> [Non-text portions of this message have been removed]