Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Date + Time
Message
 
 
À
14/09/2010 17:27:56
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01481160
Message ID:
01481171
Vues:
32
>The following works. If someone knows a better way, you are welcome to share it.
>
>
>SELECT * FROM RO
> WHERE DATETIME(TRIM(STR(DatePart(Year,Last_Date)))+'-'+TRIM(STR(DatePart(Month,Last_Date )))+'-'+
> TRIM(STR(DatePart(Day,Last_Date )))+' '+Last_Time)>DATETIME('2000-01-01 00:00:00')
>
This is not a good way, but can you explain again what you were trying to achieve and what is the table structure, some input data and desired output?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform