firebird

connecting to firebird server from client

你说的曾经没有我的故事 提交于 2020-01-07 04:15:09
问题 I have a problem connecting to Firebird 3 running on a Windows Server 2012 from a Windows 10 client. Firebird is running on the server and my application is ok and accesses the Firebird database on the server. However it cannot connect to the backup service. I installed Flamerobin on the client and it cannot connect to the server at all with an "unable to complete network request to host SERVER" error when I run "retrieve server version". So my application can run using the Firebird database

connecting to firebird server from client

空扰寡人 提交于 2020-01-07 04:15:06
问题 I have a problem connecting to Firebird 3 running on a Windows Server 2012 from a Windows 10 client. Firebird is running on the server and my application is ok and accesses the Firebird database on the server. However it cannot connect to the backup service. I installed Flamerobin on the client and it cannot connect to the server at all with an "unable to complete network request to host SERVER" error when I run "retrieve server version". So my application can run using the Firebird database

How can I upgrade Firebird for the Unicode Data?

时光怂恿深爱的人放手 提交于 2020-01-07 04:14:26
问题 I'm using Firebird 2.5.1 with normal Varchar... then i'd like to upgrade all data using Unicode (to access Delphi XE2, DBExpress) I searched but not good help.. So could you advice me how to upgrade my data to unicode firebird? thanks a lot... and have a nice day. 回答1: You can take a look at IBExpert migration or use tools like fbclone 回答2: In Firebird you have to specify a character-set for every varchar-field. So there is no "normal" varchar. If you don't specify it explicitly in your

How can I upgrade Firebird for the Unicode Data?

你说的曾经没有我的故事 提交于 2020-01-07 04:14:03
问题 I'm using Firebird 2.5.1 with normal Varchar... then i'd like to upgrade all data using Unicode (to access Delphi XE2, DBExpress) I searched but not good help.. So could you advice me how to upgrade my data to unicode firebird? thanks a lot... and have a nice day. 回答1: You can take a look at IBExpert migration or use tools like fbclone 回答2: In Firebird you have to specify a character-set for every varchar-field. So there is no "normal" varchar. If you don't specify it explicitly in your

combine tables with 1 to N relationship into 1 line of record with the last value of the N record

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-06 13:59:20
问题 I need a modification of my previous post regarding how to combine tables with 1 to many relationship into 1 line of record how to combine tables with 1 to many relationship into 1 line of record now my problem is my record has now 1 to many relationship. What I need to show is the last record only and combine it in a single line tables tbl_equipment and tbl_warranty and here is the desired output here is the code I'm trying to implement SELECT a.equipmentid, a.codename, a.name, a.labelid, a

Build driver plugin QIBASE Qt 4.7.3

我怕爱的太早我们不能终老 提交于 2020-01-06 08:45:11
问题 I try to build QIBASE driver in Qt 4.7.3 ibase.pro TARGET = qsqlibase SOURCES = main.cpp INCLUDEPATH += "C:/Program Files/Firebird/Firebird_2_0/include" "C:/QtSDK/Desktop/Qt/4.7.3/mingw/lib" LIBS += -L"C:/Program Files/Firebird/Firebird_2_0/lib/fbclient_ms.lib" -L"C:/Program Files/Firebird/Firebird_2_0/lib/fbclient_bor.lib" include(../../../sql/drivers/ibase/qsql_ibase.pri) include(../qsqldriverbase.pri) sql\drivers\ibase\qsql_ibase.pri HEADERS += $$PWD/qsql_ibase.h SOURCES += $$PWD/qsql

Build driver plugin QIBASE Qt 4.7.3

只愿长相守 提交于 2020-01-06 08:45:07
问题 I try to build QIBASE driver in Qt 4.7.3 ibase.pro TARGET = qsqlibase SOURCES = main.cpp INCLUDEPATH += "C:/Program Files/Firebird/Firebird_2_0/include" "C:/QtSDK/Desktop/Qt/4.7.3/mingw/lib" LIBS += -L"C:/Program Files/Firebird/Firebird_2_0/lib/fbclient_ms.lib" -L"C:/Program Files/Firebird/Firebird_2_0/lib/fbclient_bor.lib" include(../../../sql/drivers/ibase/qsql_ibase.pri) include(../qsqldriverbase.pri) sql\drivers\ibase\qsql_ibase.pri HEADERS += $$PWD/qsql_ibase.h SOURCES += $$PWD/qsql

Fetch most recent value - sql execution time too long

对着背影说爱祢 提交于 2020-01-06 07:29:30
问题 I have a Firebird database with a table with two columns: Date and value. I want to get the most recent value. Problem is, that this table can have easily over 200k rows. My select query takes more than 400ms, which is just to long for my application. Is there any way, I can speed this up? I can't change the database in any way. I cannot use any window function introduced in Firebird 3.0. Here is my query: SELECT REG_DATE_TIME,REG_VAL FROM TAB_REG_VAL WHERE REG_DATE_TIME = (SELECT MAX(REG

Why zend_form cannot populate inputs with records from Firebird db with diacritic characters?

ぐ巨炮叔叔 提交于 2020-01-06 05:49:10
问题 I have zend application connected to Firebird database via ZendX library. It has windows-1250 charset. I am trying to use zend_form to create edit form and populate it with db values. It works with records free of diacritic characters and data is displayed properly, it's editable. Problem occurs whenever there are special characters, and form inputs are empty. $form->addElement( 'textarea', 'POD', array( 'value' => $this->ksiega['POD'], 'attribs' => array( 'class' => 'pod'), ) ); $form-

How do I generate ids with NHibernate and Firebird?

天涯浪子 提交于 2020-01-06 02:49:08
问题 I'm trying to insert some new objects into a firebird database using NHibernate. I get the error "could not get next sequence value[SQL: SQL not available]" Here is the mapping I'm using at present. Note ANML_EVNT is the name of the generator I want to use. <id name="Id" column="ID" type="integer"> <generator class="sequence"> <param name="sequence">ANML_EVNT></param> </generator> </id> 回答1: If you still are looking for an answer here is how I've used it successfully. I use the "native"