Subject Re: [firebird-support] Table name as variable in SQL
Author emel.hu
wojciech_materna írta:
>
> Hello,
> Do You know a method to put table name as parameter to stored
> procedure and retrive columns from it? F.ex I have 5 tables with
> different names TABL1,TABL2.... TABL5, same structure - and I want
> to create one stored procedure which returns rows (after little
> calculation) from one if them - with name passed in anyway to
> procedure. The way not to create 5 stored procedures but only one.

see Firebird_v15.108_ReleaseNotes.pdf / execute statement

eMeL