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

Categoria: Articoli

Digital Innovation Partner

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 : ALTER SESSION SET NLS_NUMERIC_CHARACTERS =’. ‘; in this case the “decimal separator” is the point “.”. if you want the parameter is set inside a procedure or a…
Leggi tutto

Oracle Tip – TO_DATE & TO_CHAR

In Oracle there are two usefull function to format a timestamp to string and vceversa…. To format a date to string you can use TO_CHAR function like this: SELECT TO_CHAR(sysdate, ‘DD-MON-YYYY HH24:MI:SSxFF’) from dual; For viceversa To format a string to date you can use TO_ function like this: SELECT TO_DATE(‘2003/07/09’, ‘yyyy/mm/dd’) from dual; The…
Leggi tutto

Oracle Tip – retrive oracle version

Per ottenere le informazioni di versione da una console Oracle o da plsql è sufficiente utilizzare il seguente predicato select * from v$version where banner like ‘Oracle%’;

Spettacolo linkify Android SDK

http://android-developers.blogspot.it/2008/03/linkify-your-text.html

SVG Editors – TIPS

[Lang_It] per poter disegnare in SVG sono disponibili sul web dei pratici strumenti, ovviamente tra i più belli non poteva mancare anche quello di google dispnibile al seguente indirizzo http://svg-edit.googlecode.com/svn/branches/2.5.1/editor/svg-editor.html e quello di una nuova e stilossissima società che si chiama “Method of Action” al seguente link : http://editor.method.ac/ ….. Il secondo editor è orientato…
Leggi tutto

Boot in recovery mode an ubuntu server KVM virtual machine from a remote pc

Why you should need to restart a VM ubuntu 12.04 server on your KVM remote server? Simple: just miss an apparently innocuous command (in my case I needed to add a user to a group). Then I typed the command: sudo usermod -G mygroup myuser Unfortunately I forgot the “-a” option thus erasing all user…
Leggi tutto