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 |
rushdib
Yak Posting Veteran
93 Posts |
Posted - 2007-08-16 : 17:52:48
|
Hi,Is there any way I can increment the a date time column in a table when I load the data?The increment should start from seconds to minute to hour to day to month to year.Thanks,Rushdi |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-16 : 17:54:08
|
Use DATEADD function maybe? E 12°55'05.25"N 56°04'39.16" |
 |
|
rushdib
Yak Posting Veteran
93 Posts |
Posted - 2007-08-17 : 09:58:18
|
Thanks, DateAdd worked. |
 |
|
|
|
|