Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to determine the def

Status
Not open for further replies.

TealWren

Programmer
Jun 7, 2001
231
US
Is there a way to determine the default for a field by querying interbase?

I am trying to verify that the default for a field is a certain value. I'd like to do it programmatically. In other databases I've been able to retrieve that information via metadata, but in Interbase it appears to be a BLR string and I'm not sure how to decode that.

Thanks for any help! TealWren
 
Had my own question answered on the interbase newsgroup! Thought I'd post the response here for future reference ... It's the RDB$DEFAULT_SOURCE in the RDB$RELATION_FIELDS table or RDB$FIELDS table. Thanks to Jeff Overcash of TeamB for helping me out with that!
TealWren
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top