Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sfjtraps
Yak Posting Veteran
65 Posts |
Posted - 2014-03-11 : 13:26:58
|
I am inserting date and time data into a SQL Server 2012 Express table from an application. The application is providing the date and time as a string data type. Is there a TSQL way to convert the date and time string to an SQL datetime date type? I want to do the conversion, because SQL displays an error due to the My date and time string from the application looks like:3/11/2014 12:57:57 PM |
|
sfjtraps
Yak Posting Veteran
65 Posts |
Posted - 2014-03-11 : 14:28:32
|
I ended up using the SELECT GETDATE() function in SQL. It works great! |
 |
|
|
|
|