ScriptDomVisualizer - Now Displays TSqlParserToken's


Learn how to use tSQLt to professionally unit test T-SQL code. To enroll in the free self-paced course visit here

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:



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 :)


Add new comment

Site Search with Duck Duck Go