
walter

walter.paludet@synaptica.info

31 March 2010
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 dall’architettura della [...]

ivan

ivan.revelli@synaptica.info

10 March 2010
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>);

ivan

ivan.revelli@synaptica.info

8 March 2010
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“.
CREATE OR REPLACE TRIGGER UNAME.ACTIVITY_FK_MENU_INTEGRITY
AFTER INSERT OR UPDATE
ON UNAME.ACTIVITY
REFERENCING NEW AS New OLD AS Old
FOR EACH ROW
DECLARE
tmpVar NUMBER;
e_Menu_Already_Exists EXCEPTION;
BEGIN
[...]

ivan

ivan.revelli@synaptica.info

8 February 2010
I just starting on using Oracle 10g ….
how to 1 : how retrive a guid from Oracle
SELECT sys_guid() FROM dual;
how to 2 : how retrive next value from a Sequence
SELECT [your sequence name].NEXTVAL INTO FROM dual ;
how to 3 : Oracle db Link , how to manage sql between multiple schema …
With [...]

ivan

ivan.revelli@synaptica.info

29 July 2009
Anche quest’anno si son chiuse le votazioni per i migliori software OpenSource sul più prestigioso dei repository : SourceForge.
A questo indirizzo http://sourceforge.net/community/cca09/ si può consultare l’elenco dei vincitori per categoria, il mio superaffezzionato Firebird porta a casa una altro bel titolo, dopo essere già stato vincitore nel 2007 quest’anno si attesta il titoto di [...]

ivan

ivan.revelli@synaptica.info

17 May 2009
sometime happen that you need to create a table from a query…
now we can assume that you have old_table and you wanna build a copi of entire data into another table new_table…
This operation is not a standard sql but a lot DataBases can do this :
in Oracle you can do this like :
CREATE TABLE new_table [...]