Trying to find out if the table mytable in the database, the result is empty. There are no query execution errors. There is such a table in the database. Firebird 2.5
SELECT * FROM RDB$RELATIONS WHERE RDB$RELATION_NAME = 'mytable' Trying to find out if the table mytable in the database, the result is empty. There are no query execution errors. There is such a table in the database. Firebird 2.5
SELECT * FROM RDB$RELATIONS WHERE RDB$RELATION_NAME = 'mytable' The following names from the point of view of the system are the same:
fullname FULLNAME FuLlNaMe FullName
In fact, this means only that the table FULLNAME will be created.
It is still possible to create the fullName table using the so-called <delimited name> :
create table "fullName" Because The RDB$RELATION_NAME field of the RDB$RELATION_NAME system table has case-sensitive collation — you must specify the correct register of the table name when searching (or result in a case-insensitive collate before comparison).
SELECT * FROM RDB$RELATIONS WHERE RDB$RELATION_NAME = 'MYTABLE'; SELECT * FROM RDB$RELATIONS WHERE RDB$RELATION_NAME = upper('mytable'); SELECT * FROM RDB$RELATIONS WHERE upper(RDB$RELATION_NAME) = upper('mytable'); -- также найдёт "myTable" Source: https://ru.stackoverflow.com/questions/635665/
All Articles
create table mytablewas without quotes, the table MYTABLE was created - vp_arth