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 |
|
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2011-05-08 : 06:11:24
|
| my query is select @duration=endminutes from sitetariff where site=@sitecode and @duration between startminutes and endminutes probem is that my sitetariff table a has a optional field of offpeak and peak if that it now null it needs to check mytimes and get select endtime from mytimes where type='Peak'what's the best way to query this> |
|
|
|
|
|