ScriptDomVisualizer - Now Displays TSqlParserToken's

New ScriptDom visualizer now also shows the tokens that are found in a sql script. It also highlights the part of the query that is covered by the token so it is really easy to see where you are in the script.

Honestly if you are doing anything with the T-SQL Script Dom this is really useful to help reverse engineer t-sql into ScriptDom objects :)

Grab it from:

https://github.com/GoEddie/ScriptDomVisualizer/tree/master/release

Enjoy!

Comments

Recently I have been working on a task to split multi columns/constraint alter statement into separate statements (one alter for each column/constraint).
I couldn't manage to convert it from string statement into DOM object so I used regexp and substrings. But if it happen to change this code again I will use your approach.

Cool, the more samples and demos we have for this sort of thing the better :)

Pages

Add new comment