Skip to content Skip to sidebar Skip to footer
Showing posts with the label Firebird

Update One Table From Another Without Join Statement

I'd like to update the columns in on table based on the values of another table, I use a slight… Read more Update One Table From Another Without Join Statement

Creating Table In Firebird Script Causes "unsuccessful Metadata Update" With Deadlock

I have the following script that I run using 'isql -i scriptfile.sql': CONNECT C:\Databasef… Read more Creating Table In Firebird Script Causes "unsuccessful Metadata Update" With Deadlock

Return Only Most Recent Entry Per Id

I'm running this SQL script on my Firebird 2.5-DB: SELECT aktivitaet.creationdatetime, (select … Read more Return Only Most Recent Entry Per Id

Php: How To Prevent Sql Injection From $_post

i have some php script and i think this have a lot of mistake. because of my limited knowledge in c… Read more Php: How To Prevent Sql Injection From $_post

Firebird Sql Challenge - Return One Row That Has The Data When Select Returned Two Rows

I have a quite unique need to make select always return one row My SQL: select * from table1 Where … Read more Firebird Sql Challenge - Return One Row That Has The Data When Select Returned Two Rows

Firebird: Using Global Variable

I would like to assign a value to a variable which is used in an sql code in firebird. The MySQL-Co… Read more Firebird: Using Global Variable

Count Equal Date Parts Of The Timestamp Column Across The Groups By The Said Column

I would like to count duplicate date values. I already know that my field 'WHEN' is a times… Read more Count Equal Date Parts Of The Timestamp Column Across The Groups By The Said Column

Trigger On Update Firebird

Whenever the field sync is updated without the flag being YES I need to set that field to NULL. CRE… Read more Trigger On Update Firebird