|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, February 12, 2013 11:09 PM
Points: 310,
Visits: 347
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, April 29, 2013 4:00 AM
Points: 12,
Visits: 284
|
|
Nice code brah, but gives me an error message:
Msg 319, Level 15, State 1, Procedure fn_GetLockChainSubTree, Line 11 Incorrect syntax near the keyword 'with'. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated with a semicolon. Msg 102, Level 15, State 1, Line 4 Incorrect syntax near ' '.
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, February 12, 2013 11:09 PM
Points: 310,
Visits: 347
|
|
| I have used tab to format the script for easy reading. If you copy and past the script into QA, you may receive some error message. Replace ' ' with ' ' should resolve the error.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, April 29, 2013 4:00 AM
Points: 12,
Visits: 284
|
|
Afraid not, man. I personally prefer code samples which can be directly copied into SQA for evaluation, rather than making cosmetic changes outside of SQA which require manual manipulation in order to make the code operable.
Any chance you could post corrected code? I like your concept, but the tab / quote suggestion didn't resolve the error.
Peace.
- Savage
|
|
|
|