Subject | Re: [Firebird-Architect] Re: Fb 2.1 and TYPE OF in PSQL |
---|---|
Author | Alex Peshkov |
Post date | 2006-11-24T17:46:30Z |
Adriano dos Santos Fernandes:
functionality. May be also use that syntax:
In epp file was:
BASED ON QLI$PROCEDURES.QLI$PROCEDURE_NAME padded_name;
In SQL may be:
DECLARE <varname> BASED ON <tablename>.<columnname>
> Vlad Horsun wrote:Great, I also like it. We reanimate very useful GPRE's operator BASED ON
>>> Why not use the the table column type?
>>> Oracle has this feature:
>>>
>>> Columname table.column%type;
>>>
>> I also like it. But without "%type" :) I.e.
>>
>> DECLARE <varname> TYPE OF <tablename>.<columnname>
>>
>> Adriano, what do you think ?
>>
> The functionality and the syntax looks great to me, if future schemas
> shares the same namespace as tables, to not have ambiguity.
>
functionality. May be also use that syntax:
In epp file was:
BASED ON QLI$PROCEDURES.QLI$PROCEDURE_NAME padded_name;
In SQL may be:
DECLARE <varname> BASED ON <tablename>.<columnname>