How do I get a list of tables from a Firebird database?

前端 未结 2 2028
遥遥无期
遥遥无期 2021-01-13 17:55

So I\'ve got a couple of Firebird databases I need to convert. I\'ve managed to connect to them using python code and the kinterbasdb library, but I can\'t find a way to get

2条回答
  •  既然无缘
    2021-01-13 19:01

    Getting the list of tables is:

    1. In isql: show tables;

    2. As a normal query:

      SELECT a.RDB$RELATION_NAME
      FROM RDB$RELATIONS a
      WHERE COALESCE(RDB$SYSTEM_FLAG, 0) = 0 AND RDB$RELATION_TYPE = 0
      

提交回复
热议问题