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 |
Jonny1409
Posting Yak Master
133 Posts |
Posted - 2007-10-22 : 06:34:45
|
[Editing] |
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2007-10-22 : 06:38:58
|
Firstly - probablySecondlysomething likeinsert Holidays select w.dte, w.HoursWorkedfrom BankHoliday BHjoin DaysThetTheEmployeeWorked won BH.dte = w.dteMight be easiest to make DaysThetTheEmployeeWorked a temp table and populate it from your routine.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|