firebird

c# DataSet.Fill dreadful performance issues with Firebird 2.5

烂漫一生 提交于 2019-12-20 05:38:30
问题 REMARK I completely rewrite the question as while exploring options and getting insights, I realized the origin of my problem was not at all what I thought. I use Firebird as a database engine and the standard .Net provider (v.5.11.0) to fetch data using following code: // myBlob1 is BLOB SUB_TYPE 1 (text field) with some empty, but some // VERY long stuff (xml-content) which exceeds VARCHAR(32765), but I removed // those before performing my tests!!! var tick = Stopwatch.StartNew();

Filemaker 13 ODBC Firebird connection possible?

ε祈祈猫儿з 提交于 2019-12-20 05:38:17
问题 I want to connect a Filmaker 13 Database with a Firebird Database trough ODBC. So far I could connect with a another programm to the Firebird DB from another PC (Win 7 on all PCs). I also have another connection from a telefon software. So there is no issue on that side. When I try to connect to the ODBC DNA Filemaker sayes that this datasource is not supported. 回答1: To answere my own question: Its not possible trough ODBC, its simply not supported. 来源: https://stackoverflow.com/questions

How to use non-ascii character string literals in firebird sql statements?

依然范特西╮ 提交于 2019-12-20 04:34:52
问题 I want to use non-ascii character string literals in a firebird sql query. So I used FlameRobin to see if it works first: I used something like this: SELECT NAME FROM TABLE1 WHERE NAME = 'العربية' I also tried: SELECT NAME FROM TABLE1 COLLATE UNICODE_CI_AI WHERE NAME = 'العربية' with no success. Because I have declared NAME using UTF8 Character Set and UNICODE_CI_AI Collation. from this referential url link: https://firebirdsql.org/file/documentation/reference_manuals/fblangref25-en/html

Firebird BLR 623 invalid request - LRTRIM is not defined - module name or entrypoint could not be found

我怕爱的太早我们不能终老 提交于 2019-12-20 04:23:34
问题 I work in Firebird 2.5 database: Occasionally (not always) I get the following error when I run some stored procedures or views (database objects) that use the LRTRIM function: Invalid token. invalid request BLR at offset 623 function LRTRIM is not defined module name or entrypoint could not be found Error while parsing procedure XXXXXXX (stored_procedure name) ; (I get this both in IB Expert and SSRS) This said I am able to access other database objects that do not use LRTRIM function! I had

Firebird 2.1 - Simple SELECT

南笙酒味 提交于 2019-12-20 03:29:26
问题 I would like to union some data, but a simple select example not working. Selecting existing tables work fine... SELECT 1 as foo Message: can't format message 13:896 -- message file C:\xxxx\firebird.msg not found. Dynamic SQL Error. SQL error code = -104. corrupt pool. In MySQL and Postgres is no problem with these simple select.. Thanks for help! 回答1: Firebird (like many other DBMS) requires a FROM clause. In Oracle you'd use the DUAL table, in Firebird you can use RDB$DATABASE SELECT 1 as

Delete STATEMENT with InnerJoin Firebird

孤人 提交于 2019-12-20 03:22:12
问题 I made this select statement to find duplicated rows I want to delete. I though that I simply change SELECT TO DELETE and It'd delete rows, but it didn't. This is select statement: select * FROM MYCARD T1 INNER JOIN( SELECT IDCARD, YEAR, MONEY FROM MYCARD GROUP BY IDCARD, YEAR, MONEY HAVING COUNT(IDCARD) > 1 ) T2 ON T1.IDCARD = T2.IDCARD AND T1.YEAR=T2.YEAR AND T1.MONEY = T2.MONEY WHERE T1.IDMONEY = 5 AND IDCARD=80 AND ID not in (select min(ID) from MYCARD WHERE IDMONEY=5 AND IDCARD=80 group

NoClassDefFoundError with jdbc applet

不羁岁月 提交于 2019-12-19 09:26:41
问题 I created an applet using Eclipse: package gui; public class MyApplet extends JApplet { This applet needs two external jar's: proj.jar and firebirdsql-full.jar (jdbc) Therefore I created the HTML like this, in the same folder as the jars: <APPLET CODE="gui.MyApplet.class" width="650" height="650" ARCHIVE="proj.jar,myApplet.jar,firebirdsql-full.jar"> <a href="http://java.com/en/download/index.jsp">Java</a> </APPLET> I also tried to change the jar order in the ARCHIVE attribute. However I keep

Using Reserved Word TimeStamp as a field name (Firebird 2.5)

喜夏-厌秋 提交于 2019-12-19 09:13:12
问题 I am extending the data layer of an existing application to work with Firebird 2.5, in addition to MSSQL and SQLite, but I have hit a stumbling block. I have a field called TimeStamp which stores the data/time as type TimeStamp. This works fine under MSSQL and SQLite where the type is datetime, but falls over under Firebird. The following SQL: SELECT SysTrnId,'TimeStamp' from "TRANSACTIONS" seemingly works, but the TimeStamp field is return as fieldname "CONSTANT" and the contents are the

Using Reserved Word TimeStamp as a field name (Firebird 2.5)

十年热恋 提交于 2019-12-19 09:12:56
问题 I am extending the data layer of an existing application to work with Firebird 2.5, in addition to MSSQL and SQLite, but I have hit a stumbling block. I have a field called TimeStamp which stores the data/time as type TimeStamp. This works fine under MSSQL and SQLite where the type is datetime, but falls over under Firebird. The following SQL: SELECT SysTrnId,'TimeStamp' from "TRANSACTIONS" seemingly works, but the TimeStamp field is return as fieldname "CONSTANT" and the contents are the

How to SELECT a PROCEDURE in Firebird 2.5

穿精又带淫゛_ 提交于 2019-12-19 06:03:09
问题 I'm using Firebird Embedded v2.5. How to use procedures in query (SELECT) ? My procedure: SET TERM ^ ; CREATE PROCEDURE FN_TEST( Y INTEGER ) RETURNS( X INTEGER) AS BEGIN X = Y + 1; END^ SET TERM ; ^ I want to list some field of table modified by some procedure, like this: SELECT some_table_field_1, fn_test( 4 ) AS zzz, some_table_field_2, fn_test( some_table_field_2 ) AS field_2_modified FROM tb_test Need results (table): some_table_field_1 zzz some_table_field_2 field_2_modified ------------