firebird

Is Firebird good embedded DB for ASP.NET? Which else?

谁说我不能喝 提交于 2019-12-22 11:27:23
问题 Looking for a good embedded db for my asp.net apps while trying to avoid SQLExpress ( I need it to be a downloable file(s) with no need to install at server ), I found Firebird. But: According to this: http://en.wikipedia.org/wiki/Embedded_database#Firebird_Embedded It has the same features as the classic and superserver version of Firebird, except that two or more THREADS (not just applications) cannot access the same database at the same time. So Firebird embedded acts as a local server for

Proper use of parameters in FirebirdSql

倾然丶 夕夏残阳落幕 提交于 2019-12-22 08:53:47
问题 I wonder if anyone can help with the following. using (FbConnection conn = new FbConnection(ConnectionString)) { conn.Open(); // -------------------------------------------------------------------------- FbCommand command1 = new FbCommand("SELECT @AN_INT FROM RDB$DATABASE", conn); command1.Parameters.Add("AN_INT", FbDbType.Integer); try { command1.Prepare(); // Message=Dynamic SQL Error //SQL error code = -804 //Data type unknown // Source=FirebirdSql.Data.FirebirdClient // ErrorCode

does Firebird defrag? If so, like a clustered index?

左心房为你撑大大i 提交于 2019-12-22 08:48:17
问题 I've seen a few (literally, only a few) links and nothing in the documentation that talks about clustering with Firebird, that it can be done. Then, I shot for the moon on this question CLUSTER command for Firebird?, but answerer told me that Firebird doesn't even have clustered indexes at all, so now I'm really confused. Does Firebird physically order data at all? If so, can it be ordered by any key, not just primary, and can the clustering/defragging be turned on and off so that it only

Firebird usage in big projects [closed]

牧云@^-^@ 提交于 2019-12-22 07:11:30
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . What abilites have firebird to use it in highloaded projects? Whats better PostgreSQL or FireBirdSQL? Any one know big projects which work with Firebird database and developed over it? 回答1: Both Firebird and PostgreSQL are good choices. I think 'better' is highly subjective

How to get the millisecond value from a Timestamp field in firebird with Delphi 2007

∥☆過路亽.° 提交于 2019-12-22 06:09:22
问题 I have a Firebird database (running on server version 2.1.3) and am connecting to it with Delphi 2007 using the DBExpress objects (using the Interbase driver) One of my tables in the database looks something like this CREATE TABLE MYTABLE ( MYDATE Timestamp NOT NULL, MYINDEX Integer NOT NULL, ... Snip ... PRIMARY KEY (MYDATE ,MYINDEX) ); I can add to the table OK, and in Flame Robin it shows the timestamp field as having a millisecond value. But when I do a select all ( select * from MYTABLE

How can you detect a parent with a nested relationship in a database using SQL?

蓝咒 提交于 2019-12-22 05:10:28
问题 I'm using Firebird 2.1. There is a table name Folders , with the fields: FolderID ParentFolderID FolderName ParentFolderID is -1 if it's the root folder -- otherwise it contains the parent folder's ID. How can I find all parents (up to the root folder) of a low level node? Do I need a recursive query? (Firebird supports them) 回答1: Something like this: WITH RECURSIVE hierarchy (folderid, ParentFolderId, FolderName) as ( SELECT folderid, ParentFolderId, FolderName FROM folders WHERE

Does Firebird ADO.NET 4.10.0.0 Data provider work with Firebird 3.0?

给你一囗甜甜゛ 提交于 2019-12-21 20:22:30
问题 I'm currently trying to get my ASP.net 4.5 project connecting to the recently release Firebird 3.0. I'm using Visual Studio 2015 Community edition, Firebird 3 (64 bit), and used NuGet to get the ADO.NET 4.10.0.0. However, when I try to connect, I get an exception withe the following message: this.connect.ServerVersion threw an exception of type 'System.InvalidOperationException' Some other messages that I get: Message: "The connection is closed" Source: FirebirdSQL.Data.Fierbird.Client

Connecting Firebird to an ASP.net WebAPI Project

放肆的年华 提交于 2019-12-21 19:47:57
问题 I'm in the process of learning ASP.net, specifically WebAPI and MVC. I'm using Visual Studio Community 2013, .NET 4.5, and C#. I'm a total newb so I'm actually going through this particular walkthrough to understand how things work: http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api It's been ok so far, but I want to move on to connecting a database to populate my dataset. I'm very familiar with using Firebird and was able to install Firebird

Portable database for storing secrets

陌路散爱 提交于 2019-12-21 17:52:41
问题 I'm developing a application that needs storing secrets in a database. I need a portable database (like Firebird, Sqlite, etc) where the data will be stored encrypted or password protected or both... Let's take as example that I want create a password manager. I will need store that passwords in a database. I'm accustomed to use Embed Firebird, but not for secret data. Another solution is to use the database naturally and encrypt the database file when I'm not connected to file, but I'm not

Pivot rows into columns Firebird 2.5

最后都变了- 提交于 2019-12-21 17:39:46
问题 The sequence: table1 ===== id - Description ---------------- |1 |Proj-x |2 |Settlers |3 |Bank |4 |Newiest table2 ===== id table1Id value alternate-value --------------------------------- |1| 1 |12 |null |1| 4 |6 | null |1| null |22 |Desktop |2| 2 |7 |null |2| 3 |11 |null |2| null |2 |Camby Jere |3| 1 |8 |null |3| 4 |6 |null |3| null |7 |Camby Jere The select instruction must return |table1.id|Proj-x|Settlers|Bank |Newiest|Desktop|Camby Jere ----------------------------------------------------