I realize this is 2 years old but since it got necro'd anyway, what is this:
INSERT INTO @TempCycles VALUES ('EOF',3)
End Of Fortnight?
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions[/url] | Forum Netiquette
For index/tuning help, follow these directions.[/url] |Tally Tables[/url]
Twitter: @AnyWayDBA