SQL Server 2000 set Date Time format...

Convertire una stringa (sequenza di caratteri) in un dato di tipo data o timestamp in SQL standard è abbastanza semplice tramite il comando ‘cast‘ . Semplicemente scrivento :

cast(’2010-3-31′ as datetime)

oppure

cast(’2010-3-31′ as timestamp)

otteniamo la conversione, ma come sempre nel caso delle date non esiste la parola semplice, i formati con cui si [...]

Oracle tip #8 [Enable apex not only for localhost]

After installing Oracle 10g on an Ubuntu 9.04 system, i found that the Apex application was enabled only for the localhost.

Some time is necessary open or close the access of apex from remote. To do this is only need to access to your oracle system by a dba user and run this sql command:

to [...]

Oracle Tips 7 [ora 12519 tnsno appropriate service handler found]

Using JDBC with Oracle 10g i found this error : “ora 12519 tnsno appropriate service handler found”, today i found an article on Internet about.
I only execute on apex query :

 

   ALTER SYSTEM SET PROCESSES=150 SCOPE=SPFILE;

 

after that i restarted my Oracle10gXe server on my server, and all works well !!!
incredible

Backup di Virtual Web Server

Di questi tempi si parla tanto di virtualizzazione, in particolar modo applicata ai server, così che anche io ho deciso di utilizzare tale tecnologia per l’installazione di un web server.
La configurazione scelta è la seguente:

* Installazione di UBUNTU Server 9.10 minimale come HOST con installazione di VMWARE Server
* Installazione di una macchina virtuale UBUNTU Server [...]

Oracle Tips #5 [Exception on the fly]

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>);