|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Sql dialect?
Is it possible to change the Sql Dialect on a database that is already created?
I want to change the dialect by sql. Any help? regards Thomas |
|
#2
|
|||
|
|||
|
Hi,
Yes, you can change the dialect. Any GUI tool should be able to do it. However, changing the dialect will not affect existing columns and datatypes. For example: In dialect 1, a NUMERIC(18, 0) internally is a DOUBLE, while on dialect 3, it's an INT64. Changing the dialect will not change the internal datatype. The best thing you can do is create a new database (dialect 3) and run a script to create the seperate database objects that you got from your old (dialect 1) database.
__________________
Martijn Tonies Database Workbench: developer IDE for Firebird, MySQL, InterBase, MSSQL Server and Oracle Upscene Productions http://www.upscene.com |
|
#3
|
|||
|
|||
|
Hi,
i´ve exactly the same problem... I´m using IBExpert but i did not find anything to change the dialect of an existing database. i can set the dialect for the client-dialect to 3, but the database is anymore in dialect 1. How can i change the dialect of an existing database? creating a new database and convert the old is not possible, because a merchandise management programm is working with it. Thanks for help! lewian |
|
#4
|
|||
|
|||
|
Either check the IBExpert Help or download Database Workbench
I also believe you can use "gfix" (the command line tool) to change the dialect. With regards, Martijn Tonies Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL Server. Upscene Productions http://www.upscene.com |
|
#5
|
|||
|
|||
|
It's something like this
gfix -user SYSDBA -password masterkey dbserver:/db/mydb.fdb -sql_dialect 3 -- Best regards Fikret Hasovic TAMP R&D Team FirebirdSQL Foundation member. - Join today at http://www.firebirdsql.org/ff/foundation JEDI VCS contributor http://jedivcs.sourceforge.net/ |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Sql dialect? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|