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

Tag: sql server

VBS – Access to DTS object in Sql-Server 2000

 

 

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…
Leggi tutto

How to create a table from a select

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…
Leggi tutto