New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isql: show table T; => Statement failed, SQLCODE = -802 [CORE2391] #2812
Comments
Commented by: Sean Leyne (seanleyne) Confirm that you are running the Firebird ISQL tool. Unfortunately, there are several ISQL versions, some of which are for other engines which are commonly installed on Linux (ProgresSQL is one). |
Commented by: @asfernandes Duplicates CORE1690. I'll look on the possibility to backport it. |
Modified by: @asfernandes |
Commented by: Stéphane Millien (smillien62) Hi, yes I use the isql tool provided with Firebird 2.1.1 root@victor:~# ll /bin/is* root@victor:~# isql |
Commented by: Stéphane Millien (smillien62) If I don't use the command "set names UTF8;" before connecting to the database, I have no problème with "show table ...". I can't see the query in mon$statements when I do a "show table" :-( -- |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Commented by: @asfernandes Fix for CORE1690 is backported to v2.1.3. |
Modified by: @pavel-zotovQA Status: No test |
Submitted by: Stéphane Millien (smillien62)
Duplicates CORE1690
The command "SHOW TABLE <my_table>;" doesn't work with all tables from my database. Only on my linux server.
It works fine with "rdb$..." tables.
I have no problem with isql from my WinXP environment.
On linux (with PuTTY) :
SQL> set names UTF8;
SQL> connect localhost:photos-data user MILLIEN password ***;
Database: localhost:photos-data, User: MILLIEN
SQL> show table auteurs;
ID_AUTEUR (DOM_ID_AUTEUR) SMALLINT Not Null DEFAULT 0
AUTEUR (DOM_AUTEUR) VARCHAR(30) CHARACTER SET ISO8859_1 Not Null
COLLATE FR_FR
Statement failed, SQLCODE = -802
arithmetic exception, numeric overflow, or string truncation
Command error: show table auteurs
SQL>
On WinXP (with cmd.exe) on the same database :
SQL> set names DOS852;
SQL> connect victor:photos-data user millien password ***;
Database: victor:photos-data, User: millien
SQL> show table auteurs;
ID_AUTEUR (DOM_ID_AUTEUR) SMALLINT Not Null DEFAULT 0
AUTEUR (DOM_AUTEUR) VARCHAR(30) CHARACTER SET ISO8859_1 Not Null
COLLATE FR_FR
CONSTRAINT PK_AUTEURS:
Primary key (ID_AUTEUR) uses explicit ascending index IDX_PK_AUTEURS
Triggers on Table AUTEURS:
AUTEUR_AIU_10, Sequence: 10, Type: AFTER INSERT OR UPDATE, Active
--
Best regards,
Stéphane.
The text was updated successfully, but these errors were encountered: