Subject | RE: [firebird-support] Problem with Execute statement |
---|---|
Author | Leyne, Sean |
Post date | 2006-04-08T18:13:31Z |
> I have made this test procedure to verify if is working:The STRSQL is too small, change the definition to VARCHAR(100) and try
>
> CREATE PROCEDURE T2 (
> T VARCHAR(20))
> RETURNS (
> IDN VARCHAR(30),
> IDL INTEGER)
> AS
> DECLARE VARIABLE STRSQL VARCHAR(50);
> begin
> strsql='select loc_id, loc_name from '||T;
> for execute statement :strsql into :idl, :idn do
> begin
> suspend;
> end
>
> end
>
> I pass table name (SYS_LOCATION) and I get this error message:
again.
Sean