Know how to add execution of SQL-scripts in your programs!

online poker news

Do you want to enable execution of SQL scripts in your programs and spend less time for exhausting coding?

Do you want to create a table, a generator and a trigger, to add data to the table, to make data selection and then to delete all this in one command? For example:


set autoddl on;
set transaction;
create generator GEN_ID_TEST_TABLE;
create table TEST_TABLE (ID INTEGER NOT NULL PRIMARY KEY,TEXT BLOB SUB_TYPE TEXT);
create trigger BI_TEST_TABLE for TEST_TABLE
 before insert
 as
 begin
  if(NEW.ID IS NULL) then NEW.ID=GEN_ID(GEN_ID_TEST_TABLE,1);
 end;
insert into TEST_TABLE (text) values('record 1');
insert into TEST_TABLE (text) values('record 2');
set term !!;
select * from TEST_TABLE!!
set terminator ;!!
TEST_TABLE;
set autoddl off;
drop table TEST_TABLE;
drop generator GEN_ID_TEST_TABLE;
commit;

Now it is possible with new IBProvider! IBProvider v.3.3.0.11117 allows to run a command with several SQL queries (SQL scripts).

Read more right now:
Know how to add execution of SQL-scripts for Firebird and Interbase in your programs!

Can Firebird gain against MySQL?

From Marco Cantu’s blog:

Now, this could be a very good opportunity for all of the other open source database servers (and also some of paid ones!), particularly the most popular ones like Firebird and PostgreSQL. I’m particularly fond of Firebird (the InterBase offspring) and use it in many projects and did a lot of consulting to Delphi developers using it. Can this be the rise of Firebird? MySQL with its huge popularity has certainly obscured it, so it could be a good time to act.

Morfik 3 released – now free to everyone

Morfik is used to easily develop rich Internet applications that can be run also in devices, like the iPhone. They just released the version 3 of the product, with some interesting news:

NO MORE PAY TO PLAY

With this release, we have changed the game, significantly. Now you don’t have to pay to play the game! That’s right,  Morfik 3 AppsBuilder is no longer licensed. It is accessible to everyone – at no cost.

Download Morfik 3 now!

There is no catch. We are serious about enabling developers to take full advantage of the power of the Web. This is about making it as easy as possible for all to discover, use and be successful with Morfik. We want to build the community of active users, which will ultimately help you get the most out of your Morfik development environment.

I remember Morfik having a “free” version in the past, and after some time, they changed their minds and started to offer only paid/licensed versions. I hope this time they are serious about the “there is no catch” thing.

Morfik uses Firebird as its default database.

Procedure to rebuild all indexes

After reading news about rebuilding Firebird indexes, I wrote a procedure for Windows, which allows fully automatic rebuild all indexes in the Firebird database. The procedure is described on my website http://gskoczylas.rekord.pl/Firebird/AutoReindexAll.php (in Polish). Automatic translation into English is here: http://goo.gl/9Uu96.

At the end of the web page there is a link which allows to download the complete procedure. Procedure has been tested on Windows Vista with Firebird 2.5.


Regards,

Grzegorz Skoczylas
gskoczylas@gmail.com

Rebuilding a Firebird index

After looking at Damyan Ivanov posix script to rebuild indexes, I saw that he was using an undocumented “implementation artifact” (thanks to Dmitry Yemanov for confirming this) to rebuild indexes (including PK and FKs indexes). What he does is to call ALTER INDEX xxxx ACTIVE, where xxxx is an already active index!

Beside the fact that trying to activate an already active  index sounds “weird”, this will make Firebird to rebuild the index. Seems to be an easy way to rebuild PK/FK/UNIQs indexes (since they cannot be deactivated).

BTW, Damyan’s script will rebuild all indexes containing “text” fields in their keys. He created the script for the case where a previously created database needs to be run in a Firebird compiled with different version of the ICU libraries.

New version of FreeAdhocUDF released

Right to the FireBird Conference starting tomorrow in Bremen we uploaded a new version “adhoc 20101111” of FreeAdhocUDF.
There are some importend bugfixes, expanded functions, 11 new functions (totally now 551!) and new support for InterBaseXE 32 und 64bit.

This is a recommended update.
FreeAdhocUDF is the the first (and still the only?) UDF-library with UTF-8 and UNICODE-FSS support.
FreeAdhocUDF is licenced under the LGPL and you can use it without costs also in commercial projects – see licence.
You can download it from ftp://ftp.FreeAdhocUDF.org/FreeAdhocUDF/
Documentation found at http://FreeAdhocUDF.org/index_eng.html – still be updateted in the next days …
For all kind of questions and bug-reports use eMail help@freeadhocudf.org

adhoc dataservice / Christoph Theuring

1 2 3 4