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 |
ReLski
Starting Member
5 Posts |
Posted - 2011-01-13 : 08:56:07
|
EmployeeID|LeaveFrom|LeaveTo 0056 |8/9/2010 |8/15/2010 | |I want get the range of this fields that will be something like this:8/9/20108/10/20108/11/20108/12/20108/13/20108/14/20108/15/2010and then compare this list of dates to column 'LogDate' of this tableEmployeeID|LogDate | 0056 |8/9/2010 | 0056 |8/10/2010|if the list of dates is equal to 'LogDate' thenSet @TotalDeduction = 0 |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2011-01-13 : 08:58:21
|
Please do not cross post:http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=155205 |
|
|
|
|
|