interbase

Is it possible to tweak TStringField to work like TWideStringField in Delphi?

喜夏-厌秋 提交于 2019-12-06 05:15:02
问题 We want to use Unicode with Delphi 2009 and Interbase, and found that to switch the character encoding from WIN1252 to UNICODE_FSS or UTF8 we first have to replace all instances of TStringField with TWideStringField in all datamodules. For around 60 datamodules, we can not simply do this over one weekend. I can see only two options for a migration strategy: find a workaround which allows to use the existing TStringField fields without triggering the 'expected: TWideStringField' error or

Compiling InterBase support in Qt

血红的双手。 提交于 2019-12-04 21:29:40
I have followed the instructions on http://doc.qt.nokia.com/stable/sql-driver.html#qibase for compiling Interbase support into Qt, and made sure all of my libraries are in the right place. qmake runs successfully, but when I run nmake, I get a series of undefined reference errors in qsql_ibase.cpp. If I open up the .pro in Qt Creator and hover over one of the functions that is throwing the undefined reference errors and follow the symbol (F2), it takes me to the ibase.h file where it is declared. Is it throwing the undefined reference errors because there is no function definition? If that is

Executing a script using ISQL

我们两清 提交于 2019-12-04 11:39:04
问题 I'm creating a simple isql script but it's not working and I need some help to find out whats wrong with it. I need to connect to a database and execute a SQL file. This is my script called script.sql: CONNECT 'localhost:C:\Monde\Servidor\db\monde.fdb' USER 'SYSDBA' PASSWORD 'masterkey'; update usuario set senha = 'MYkWEn0kHLHHdm' where login = 'rose' When I try to connect to my database using.: isql.exe -i script.sql I get this follow message.: Use CONNECT or CREATE DATABASE to specify a

Firebird 2.5 VS Interbase 9/XE - which performing faster?

亡梦爱人 提交于 2019-12-04 06:17:51
We are on a situation where we must choose between thoose 2 databases. We are currently on Firebird, but sometime it lag because of it stacking too much transaction history or something and backup-restore shall be applied in order to make things better. In my specific case: Database have mostly tables filled with numeric fields. There is mostly inner joins on the queries. Almost the same rate i am inserting, and selecting. ( but on future i am looking about more severe selecting ) There is 3 main tables which having a few bilions of records ( keep growing each second ). But i would like to see

PHP firebird insert blob file into the database apache suddenly stop working

喜你入骨 提交于 2019-12-02 07:29:05
问题 I'm currently working on inserting image on the firebird database and it's working fine alone, see the code below. $dbh = ibase_connect($host, $user, $pass); $blh = ibase_blob_create($dbh); ibase_blob_add($blh, $data); $blobid = ibase_blob_close($blh); $sql = "INSERT INTO blobtable(blobfield) VALUES (?)"; $sth = ibase_query($dbh, $sql, $blobid); but when I add some data on the insert statement suddenly the apache crash and stops working. See below code when I add new data. $dbh = ibase

PHP firebird insert blob file into the database apache suddenly stop working

你。 提交于 2019-12-02 03:57:45
I'm currently working on inserting image on the firebird database and it's working fine alone, see the code below. $dbh = ibase_connect($host, $user, $pass); $blh = ibase_blob_create($dbh); ibase_blob_add($blh, $data); $blobid = ibase_blob_close($blh); $sql = "INSERT INTO blobtable(blobfield) VALUES (?)"; $sth = ibase_query($dbh, $sql, $blobid); but when I add some data on the insert statement suddenly the apache crash and stops working. See below code when I add new data. $dbh = ibase_connect($host, $user, $pass); $blh = ibase_blob_create($dbh); ibase_blob_add($blh, $data); $blobid = ibase

Best way to connect to Interbase 7.1 using .NET C#

左心房为你撑大大i 提交于 2019-12-01 06:38:38
Could someone please explain the best way to connect to an Interbase 7.1 database using .NET/C#? The application will be installed on many end user computers so the less "add-ons" that I will have to package with my application the better. CodeGear offers a free ADO.NET 2.0 driver for registered users of InterBase here: http://cc.embarcadero.com/item/25497 Note that "registered users of InterBase" includes the free InterBase 2007 Developers Edition. The download says that it's for 2007, but it works fine with InterBase 7, and the InterBase team at CodeGear has told me that they have no problem

Which version of Interbase or Firebird was a database created under?

不问归期 提交于 2019-11-30 21:29:54
I have a file with an extension .ib . I am guessing it is either an Interbase or a Firebird file, but I am having trouble working out exactly which. Furthermore, it isn't clear exactly which version of Interbase (or Firebird) was used to create the file. What I have found so far: I have tried various different software to read this file (FlameRobin, Firebird's isql.exe and also the latest version of Interbase) and the error messages I get tell me the ODS ("On Disk Structure") is version 9. Which is quite old, and dates to around the time that Firebird was forked from Interbase. I have managed

Delphi dbExpress and Interbase: UTF8 migration steps and risks?

ⅰ亾dé卋堺 提交于 2019-11-29 05:06:45
Currently, our database uses Win1252 as the only character encoding. We will have to support Unicode in the database tables soon, which means we have to perform this migration for four databases and around 80 Delphi applications which run in-house in a 24/7 environment. Are there recommendations for database migrations to UTF-8 (or UNICODE_FSS) for Delphi applications? Some questions listed below. Many thanks in advance for your answers! are there tools which help with the migration of the existing databases (sizes between 250 MB and 2 GB, no Blob fields), by dumping the data, recreating the

Delphi dbExpress and Interbase: UTF8 migration steps and risks?

﹥>﹥吖頭↗ 提交于 2019-11-27 18:51:50
问题 Currently, our database uses Win1252 as the only character encoding. We will have to support Unicode in the database tables soon, which means we have to perform this migration for four databases and around 80 Delphi applications which run in-house in a 24/7 environment. Are there recommendations for database migrations to UTF-8 (or UNICODE_FSS) for Delphi applications? Some questions listed below. Many thanks in advance for your answers! are there tools which help with the migration of the