Reg expression ISQL output
Posted: Fri Sep 20, 2002 4:18 am
I regularly use Textpad to compile SQL into MS SQLServer using the ISQL tool.
If there is an error I get a message lke:
"Msg 133, Level 15, State 1, Server MARKTELE, Procedure p_RPO_Intraday_PreProcess, Line 261
A GOTO statement references the label 'TheEnddd' but the label has not been declared.
Tool completed with exit code 1"
I have tried in vain to get Textpad to jump to (in this case) Line 261 of the document that was being compiled. The RegExes I've tried include:
^.* Line \([0-9]+\)
Line \([0-9]+\)
and also (after setting Use POSIX regular expression syntax):
Line ([0-9]+)
However I always get "Cannot jump to item under cursor"
I have set the register for Line =1 and the others blank.
Can anyone help?
Thanks
Mark
If there is an error I get a message lke:
"Msg 133, Level 15, State 1, Server MARKTELE, Procedure p_RPO_Intraday_PreProcess, Line 261
A GOTO statement references the label 'TheEnddd' but the label has not been declared.
Tool completed with exit code 1"
I have tried in vain to get Textpad to jump to (in this case) Line 261 of the document that was being compiled. The RegExes I've tried include:
^.* Line \([0-9]+\)
Line \([0-9]+\)
and also (after setting Use POSIX regular expression syntax):
Line ([0-9]+)
However I always get "Cannot jump to item under cursor"
I have set the register for Line =1 and the others blank.
Can anyone help?
Thanks
Mark