-
-
Save gbalbuena/74b70deb2e142d07c80d to your computer and use it in GitHub Desktop.
Change sql dialects in firebird database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Program Files (x86)\Firebird\Firebird_2_1\bin>gfix.exe -sql_dialect 1 c:\data\db\production.fdb | |
Database dialect being changed from 3 to 1 | |
C:\Program Files (x86)\Firebird\Firebird_2_1\bin>gfix.exe -sql_dialect 3 c:\data\db\production.fdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/rowland/activerecord-fb-adapter/issues/6 | |
http://firebirdsql.org/manual/gfix-dialect.html | |
http://www.firebirdsql.org/manual/isql-connect.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use CONNECT or CREATE DATABASE to specify a database | |
SQL> CONNECT C:\data\db\production.fdb; | |
Database: C:\data\db\production.fdb | |
SQL> show sql dialect; | |
Client SQL dialect is set to: 3 and database SQL dialect is: 3 | |
SQL> set sql dialect 2 | |
CON> show sql dialect; | |
WARNING: Client SQL dialect has been set to 2 when connecting to Database SQL dialect 3 database. | |
SQL> set sql dialect 1; | |
WARNING: Client SQL dialect has been set to 1 when connecting to Database SQL dialect 3 database. | |
SQL> set sql dialect 1; | |
WARNING: Client SQL dialect has been set to 1 when connecting to Database SQL dialect 3 database. | |
SQL> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment