Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Date + Time
Message
 
 
To
14/09/2010 17:27:56
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01481160
Message ID:
01481171
Views:
33
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform