Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Categoria: databases

Firebird 3 – How to get record number of dataset

How to get record number of dataset using row_number window function with over().

Example of record number of dataset with even and odd column sorting.

Firebird 3.0.7 Embedded with Delphi & Firedac

Firebird 3 a differenza di Firebird 2.5 non necessita di una libreria diversa di connessione al DB. In Windows, fino ad oggi per distribuire embedded Firebird si usava fbembedd.dll al posto di fbclient.dll, ora con Firebird 3.0 si utilizza sempre fbclient.dll sia per la connessione ad un server Firebird sia per la gestione dei DB…
Leggi tutto

SmartFB -a new version is avilable….

SmartFB is our internal tool to manage Firebird & Interbase databases, so we use smartFB instead IBExpert. SmartFB is a simple VCL program that we use to have an access to our databases in every PC and Virtual Machines where we not need a simple access to our databases. So we integrate in smartFB some…
Leggi tutto

Charset Firebird 3.0 [malformed string error]

Charset encoding in Firebird 3.0, come è noto in un campo di una tabella di tipo varchar o char è possibile definire il tipo di encoding gestito, oppure non specificarlo. Tramite Firebird è possibile convertire il contenuto di tale campo da un charset ad un’altro semplicemente con l’istruzione SQL “cast”. Facciamo un esempio, nella mia…
Leggi tutto

Oracle import/export schema via SQL script running a JOB.

tested on Oracle XE 10g to make a simple bk from Oracle you can use dbms library like: create or replace directory dumpdir as ‘/home/[youruserpath]/’ /* ESPORTA DATI E METADATI DI UNO SCHEMA */ declare handle number; begin handle := dbms_datapump.open(‘EXPORT’,’SCHEMA’); dbms_datapump.add_file(handle,'[destination_file_name].dmp’,’DUMPDIR’); DBMS_DATAPUMP.add_file( handle => Handle, filename => ‘.log’, directory => ‘DUMPDIR’, filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE…
Leggi tutto

How to Restrict access to the phpMyAdmin by IP Address

Tested on Ubuntu 18.04 LTS