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

Tag: sql

Oracle Tip – Set Decimal separator for an oracle session

To set in a single session the decimal separator, for example when you need to cast some string in numbers you can use the next istruction :

in this case the “decimal separator” is the point “.”. if you want the parameter is set inside a procedure or a function you can write like…
Leggi tutto

VBS – Access to DTS object in Sql-Server 2000

 

 

MySQL Windows 32bit e 3GB

Una domanda che salta fuori spesso è “Quanta memoria puo’ usare mysql sul mio sistema ?” Come saprete mysqld-nt.exe viene eseguito in un singolo processo con vari thread; dunque il limite d’uso della memoria è fissato dai limiti imposti dallo stesso sistema operativo per il singolo processo. Sistemi operativi differenti, hanno limiti differenti; dipendenti anche…
Leggi tutto

Oracle Tips #5 [Exception on the fly]

[lang_en] To raise an Exception from a Trigger, Stored Procedure or Function without needing anything you can use the function : raise_application_error. Syntax : raise_application_error(<your exception integer code>, <your string description>); Per scatenare un eccezione da un Trigger o una Stored Procedure o una Funzione Oracle si può semplicemente utilizzare la funzione di sistema :…
Leggi tutto

Oracle Tips #4 [Trigger : Mutating Tables & Autonomos Transactions]

Oracle Version : 10g As you know inside a Oracle row trigger you cannot access to the base table, for example when you make a trigger like this, on a table named “activity“.

when you try to use the table making an update happen this : To avoid this error and obviusly assuming the…
Leggi tutto

Oracle Tips #1 [Common Functions]

I just starting on using Oracle 10g …. how to 1 : how retrive a guid from Oracle

how to 2 : how retrive next value from a Sequence

how to 3 : Oracle db Link , how to manage sql between multiple schema … With DB Link you can produce sql /…
Leggi tutto