SQL Server Date insert -


i have text data import sql server , dates formatted:

'jul 14 2005 12:00:00:000am'

is there way sql server import these directly or need write code translate data number "m/d/y" format ?

if using standard import features, tweak import mapping, import data holding tables "as-is" , copy end table performing conversion @ time.

this works well

select convert(datetime,'jul 14 2005 12:00:00:000am') 

Comments

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -