|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Saturday, August 18, 2012 4:41 AM
Points: 17,
Visits: 25
|
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Yesterday @ 10:05 AM
Points: 308,
Visits: 682
|
|
Um, give the function a parameter so it can do either on or off. Two functions for this is a no no.
Cheers
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Today @ 9:26 AM
Points: 198,
Visits: 675
|
|
Use-case?
Part of what makes SQLServerCentral articles interesting to read is the story that explains the code. What prompted you to write these functions?
Even if this solution "works" - what problem does it solve?
Why is this solution better than the approach *I* might have created? (I'd probably not think to write/employ the functions you've written)
Summary: "more please" :)
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 4:12 AM
Points: 2,
Visits: 20
|
|
I agree - the two functions can be merged easily. I intentionally did not mix the two to enable a clear understanding.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 4:12 AM
Points: 2,
Visits: 20
|
|
Sorry but i cant provide one. A friend requested that i'll send him the functions ASAP. after it was done i remembered i posted something similar a few years back so i loaded those two as well.
|
|
|
|