Lorenzo Alberton
« Articles
Firebird 2 cheat sheet
Abstract: Cheat sheet for the upcoming Firebird 2. A handy reference of the FB2 datatypes, an useful query reference and a list of the PHP Firebird/Interbase functions.
Since I couldn't find a Firebird SQL cheat sheet, I wrote one, listing useful information about the upcoming Firebird 2 such as its data types, its internal and UDF functions, and the php ibase functions.
Update 08-11-2006: thanks to Carlos H. Cantu and Ivan Prenosil for their suggestions. I have updated the cheat sheet accordingly.
A detailed description of the cheat sheets follows, and you can start downloading them here:
- Firebird SQL cheat sheet (GIF, 76KB)
- Firebird SQL cheat sheet (PDF, 107KB)
- Firebird SQL cheat sheet (PNG, 134KB)
Firebird SQL Cheat Sheet - Details
The cheat sheet is organized in 5 sections. The first section contains a list of the available data types, their description and the range of values that each of them supports.
The second section contains a list of the Internal functions. The ones listed here are the Firebird 2 built-in functions; they're grouped by field of interest (aggregate, conditional, string functions).
The third section contains a list of the Default UDF functions.
Firebird bundles an UDF library with some useful functions not included in the core. These functions are listed here, grouped by field of interest (mathematical and string functions).
The forth section contains some useful queries, like the most useful queries to manage TRANSACTION
s, SAVEPOINT
s, SEQUENCE
s, a sample query with a "LIMIT
/ OFFSET
" clause, and some queries against the System Tables to retrieve a list of the tables, fields, indices and constraints.
The last section holds a list of the PHP ibase_* functions .
PHP has a Firebird/Interbase module and this is used by PHP developers to connect to, and query, a Firebird database. This section lists the functions available in PHP for connecting to and managing a Firebird database.
Disclaimer
If you wish to link to the Firebird SQL cheat sheet from elsewhere, rather than linking directly to the sheet please link to this page so others can find the description. Thank you.
Related articles
- HowTo: Install Firebird/Interbase with PHP on Windows. A step-by-step tutorial.
- PostgreSQL cheat sheet
- Extracting META information from Interbase/Firebird SQL (INFORMATION_SCHEMA)
Latest articles
- On batching vs. latency, and jobqueue models
- Updated Kafka PHP client library
- Musings on some technical papers I read this weekend: Google Dremel, NoSQL comparison, Gossip Protocols
- Historical Twitter access - A journey into optimising Hadoop jobs
- Kafka proposed as Apache incubator project
- NoSQL Databases: What, When and Why (PHPUK2011)
- PHPNW10 slides and new job!
Filter articles by topic
AJAX, Apache, Book Review, Charset, Cheat Sheet, Data structures, Database, Firebird SQL, Hadoop, Imagick, INFORMATION_SCHEMA, JavaScript, Kafka, Linux, Message Queues, mod_rewrite, Monitoring, MySQL, NoSQL, Oracle, PDO, PEAR, Performance, PHP, PostgreSQL, Profiling, Scalability, Security, SPL, SQL Server, SQLite, Testing, Tutorial, TYPO3, Windows, Zend FrameworkFollow @lorenzoalberton
7 responses to "Firebird 2 cheat sheet"
joe, 11 January 2011 20:30
This is one of the most incredible blogs Ive read in a very long time. The amount of information in here is stunning, like you practically wrote the book on the subject. Your blog is great for anyone who wants to understand this subject more. Great stuff; please keep it up!
Daniel, 03 February 2011 14:11
Hi Lorenzo,
just a short inquiry: How can I get the other 4 Pages? The Downloads lead to just one page...
Best regards, Daniel
Lorenzo Alberton, 03 February 2011 14:15
Hi Daniel, it's just one page, with 5 different sections (which I highlighted in yellow in the description above)
Daniel, 07 February 2011 03:45
Ah.. okay. So I didn't miss anything. Thanks Lorenzo, nice work.
suyonob, 26 March 2011 23:23
Ahh, Awesome Lorenzo for cheat sheet.Good Job. Thanks.
Carol Stuart, 25 June 2011 21:24
Firebird SQL cheat sheet is really the best way to handle it.
edy prast, 21 June 2012 15:54
Thanks for cheat sheet info..