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 |
venkath
Posting Yak Master
202 Posts |
Posted - 2007-08-29 : 04:37:24
|
Hi I have a text file which has a date field, while loading this field i need to convert it into system date, how can i achieve this.Help on this is greatly appreciated.Thanks |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-29 : 04:53:09
|
SELECT CAST(Col1 AS DATETIME)FROM Table1 E 12°55'05.25"N 56°04'39.16" |
|
|
venkath
Posting Yak Master
202 Posts |
Posted - 2007-08-29 : 06:48:51
|
i have date data already in the text file , i need to change this data to systemdate i.e getdate() while loading it into the tableSorry for the confusion.Please guide me to achive this.Thanks |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-08-29 : 07:32:12
|
After you loaded the data into the table, updaet the tableUpdate table_nameset datecol=Getdate()MadhivananFailing to plan is Planning to fail |
|
|
|
|
|