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: firebird-support@yahoogroups.com <firebird-support@yahoogroups.com> 
Sent: Thursday, December 26, 2019 1:56 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Identify computed by columns in table

26.12.2019 11:53, ertan.kucuko...@1nar.com.tr [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:
    firebird-support-dig...@yahoogroups.com 
    firebird-support-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    firebird-support-unsubscr...@yahoogroups.com

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

  • [firebird-support... ertan.kucuko...@1nar.com.tr [firebird-support]
    • Re: [firebir... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
      • RE: [fir... ertan.kucuko...@1nar.com.tr [firebird-support]
        • Re: ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
          • ... ertan.kucuko...@1nar.com.tr [firebird-support]
            • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]

Reply via email to