Hello,

I came up with following SQL in order to list calculated fields in a table

select rdb$relation_fields.rdb$field_name from rdb$fields
left join rdb$relation_fields on rdb$relation_fields.rdb$field_source =
rdb$fields.rdb$field_name
where rdb$computed_blr is not null and rdb$relation_name =
'ACCOUNTINGRECEIPT'

As one can guess, ACCOUNTINGRECEIPT above is name of table.

That did solve problem.

Thank you.
Ertan Küçükoğlu


-----Original Message-----
From: [email protected] <[email protected]> 
Sent: Thursday, December 26, 2019 1:56 PM
To: [email protected]
Subject: Re: [firebird-support] Identify computed by columns in table

26.12.2019 11:53, [email protected] [firebird-support] wrote:
> I need to identify columns in a table created as "computed by"

   These columns have DRB$FIELDS.RDB$COMPUTED_BLR not NULL.


-- 
   WBR, SD.


------------------------------------

------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item on the
main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at
http://www.ibphoenix.com/resources/documents/ 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------

Yahoo Groups Links





------------------------------------

------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

Reply via email to