Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8088585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:07:56+00:00 2026-06-05T19:07:56+00:00

I am writing my own Firebird database browser using the ibpp library. Is there

  • 0

I am writing my own Firebird database browser using the ibpp library. Is there a way I can get the table definition using an SQL statement?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T19:07:58+00:00Added an answer on June 5, 2026 at 7:07 pm

    Firebird does not support schemas, so there is no way you can get that information.

    The closest thing might be the owner, which you can get by querying RDB$RELATIONS

    Edit

    A “schema” is a namespace inside a database. Apparently you are looking for the table definition, not the schema.

    You can retrieve the colums of a table and their datatypes by querying RDB$FIELDS and RDB$RELATION_FIELDS:

    select rf.rdb$relation_name as table_name, 
           rf.rdb$field_name as column_name,
           case f.rdb$field_type
             when 14 then 'CHAR'
             when 37 then 'VARCHAR'
             when 8 then 'INTEGER'
             ...
           end as data_type,
           f.rdb$field_length,
           f.rdb$field_scale
    from rdb$fields f
      join rdb$relation_fields rf on rf.rdb$field_source = f.rdb$field_name
    where rf.rdb$relation_name = 'FOOBAR'
    

    The datatype is stored as an integer in the column RDB$FIELD. The full list of values in that column is documented in the Interbase Reference Guide: http://www.ibphoenix.com/files/60LangRef.zip (as are all other columns in that system table and all other system tables as well). You might need to go through all the update guides to check if there were any changes to the system tables since IB 6.0 (The Firebird manualy are a **reall* mess)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing my own blog system. Is there a library for sending trackbacks
I am writing my own JMS Browser and I am struck at the JTable
I am writing my own text editor, and I was wondering how can I
I'm currently writing my own virtual keyboard for linux using the X11 lib and
I am writing my own specific product crawler. Now there is a product selling
I'm writing an own container class and have run into a problem I can't
I'm considering writing my own delivery code using PowerShell and/or C#, maybe shelling to
as opposed to writing your own library. We're working on a project here that
I am writing my own Custom Membership Provider but am using the Membership Providers
I'm writing my own ContentProvider which will be synced to a web service using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.