firebird

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

最后都变了- 提交于 2020-01-01 10:16:19
问题 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

Connect PowerApps to Firebird

[亡魂溺海] 提交于 2019-12-31 03:52:05
问题 I want to connect PowerApps to my local Firebird SQL server, how do I go about it? I want to make a Pricelist App that connects to a local Firebird SQL server. Excel only permits up to 15,000 items. I have 25,000 items. Also, I'd like for it to be updated every time someone edits the local database. 回答1: PowerApps do support many data sources, but firebird SQL isn't supported at this time. Consider creating a new issue on the PowerApps Ideas Board to have the product team investigate it. 回答2:

How, and where to install a database driver into an IDE?

≯℡__Kan透↙ 提交于 2019-12-31 03:11:09
问题 I want to install a Firebird database driver, and to have it available within the Delphi XE IDE. I want the database driver to be usable on the same basis as other, supplied database drivers (eg Interbase, SQL - from within the Data Explorer in the IDE). I have obtained an appropriate driver. The driver consists of a Delphi project, which compiles to a DLL; and modifications to two .ini configuration files (dbxconnections.ini and dbxdrivers.ini). I assume that the DLL is the actual driver,

Select only rows with last modified timestamp, without duplicate rows with same ID and older timestamp

女生的网名这么多〃 提交于 2019-12-30 13:43:24
问题 I could not find solution for my problem. I have two tables Order and OrderDetail. Order table (simple version) | ID | modified | | 1 | 7.1.2018. | | 2 | 10.1.2018.| | 3 | 15.1.2018.| | 4 | 20.1.2018.| | 5 | 25.1.2018.| OrderDetails (simple version) | order_id | detail_id | base_price | buy_price | sell_price| | 1 | 1 | 99.00 | 111.00 | 122.00 | | 1 | 2 | 82.00 | 95.00 | 117.00 | | 1 | 3 | 82.00 | 95.00 | 117.00 | | 2 | 4 | 95.00 | 108.00 | 119.00 | | 2 | 5 | 86.00 | 94.00 | 115.00 | | 2 | 1

Firebird 2.5 CHARACTER SET WIN1252 is not installed

妖精的绣舞 提交于 2019-12-29 07:08:09
问题 I've installed Firebird-Server 2.5 on FreeBsd 9.1 using: pkg install firebird-server-2.5.2_1 It's working ok, since I can connect using FlameRobin from an external PC. Now, when I try to restore a database using gbak, I got this: ... gbak: ERROR: CHARACTER SET WIN1252 is not installed gbak:Exiting before completion due to errors Should I install something more server side?. The database was created on a Windows machine, that's why its character set is WIN1252. EDIT: after some trouble I

How to redirect binary gbak output to a Delphi stream?

前提是你 提交于 2019-12-28 12:44:08
问题 I want the Firebird backup tool gbak to write its output to a Delphi stream (with no intermediate file). There is a command line parameter to write to stdout rather than a file. I then use the Execute method in JEDI's JclSysUtils to launch gbak and process that output. It looks like this: procedure DoBackup; var LBackupAbortFlag: Boolean; LBackupStream: TStringStream; begin LBackupAbortFlag := False; LBackupStream := TStringStream.Create; try Execute('"C:\path to\gbak.exe" -b -t -v -user

What are the advantages of VistaDB

一曲冷凌霜 提交于 2019-12-28 02:50:07
问题 I have seen the references to VistaDB over the years and with tools like SQLite, Firebird, MS SQL et. al. I have never had a reason to consider it. What are the benefits of paying for VistaDB vs using another technology? Things I have thought of: 1. Compact Framework Support. SQLite+MSSQL support the CF. 2. Need migration path to a 'more robust' system. Firebird+MSSQL. 3. Need more advanced features such as triggers. Firebird+MSSQL 回答1: The VistaDB client runtime is free. The runtime will

Transfer data from SQL Server to Firebird using SSIS

陌路散爱 提交于 2019-12-25 09:12:31
问题 I'm trying to execute a select in SQL Server database and insert the result to Firebird using SSIS. I'm Googled, but anything can help =/ Any idea how I can do this? Thanks. 回答1: I am guessing you are trying to create a connection between SSIS en Firebird. To do this, you need to download the LCPI OLE DB Provider for InterBase first. When you have that installed, you just select it from the dropdown during the creation of the new connection manager. Check these links out: http://www

Delphi - View with parameter

血红的双手。 提交于 2019-12-25 08:24:56
问题 I have the following View: CREATE OR ALTER VIEW "ButtonGroup_ButtonNames_view"("ButtonName") AS select "ButtonName" from "ButtonGroupName_ButtonName" where "ButtonGroupName_ButtonName"."ButtonGroupName" = ':lButtonGroupName' The ':lButtonGroupName' is suppoused to work as a parameter, so at runtime I can set a value to it. When I run the application, I get the parameter name not found error. I guess this is not the correct way to declare a parameter inside a view . Is it possible anyway?

Firebird and Entity Framework Transaction Rollback

心不动则不痛 提交于 2019-12-25 03:46:09
问题 I need to use a Transaction Scope with Entity Framework 4 and a Firebird database. I am using the FireBird Entity Framework provider. My problem is that once SaveChanges has been called on an object, the data is persisted to the database, instead of when transactionScope.Complete() is called. This results in data never rolling back, even if an exception occurs inside the using (TransactionScope ...) block. This seems to be a problem with the FireBird DB, I have tested the exact same code with