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 |
|
Jeskit@hotmail.co.uk
Starting Member
20 Posts |
Posted - 2007-12-05 : 14:32:47
|
| Hi SQL Gurus,i'm new to sql and i'm working on a hoilday datebase and i need to create sql query where the finish and start dates are shown but i only have the finish date and the duration of the hoilday and i'm not sure how to show the start date.can anyone help methanksjessica |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-12-05 : 15:27:50
|
SELECT DATEADD(DAY, - Duration, EndDate) AS StartDateFROM Table1 E 12°55'05.25"N 56°04'39.16" |
 |
|
|
Jeskit@hotmail.co.uk
Starting Member
20 Posts |
Posted - 2007-12-06 : 04:07:30
|
| thank you very much |
 |
|
|
|
|
|