I suspect the desired behavior would be for the first command to yield the second result and the second command to error. No?
We have an open ticket to look into highlighting.
Product: DbVisualizer Pro 9.5.4 [Build #2601]
OS: Windows 10
OS Version: 10.0
OS Arch: amd64
Java Version: 1.8.0_102
Java VM: Java HotSpot(TM) 64-Bit Server VM
Java Vendor: Oracle Corporation
Java Home: c:\program files\dbvisualizer\jre
DbVis Home: C:\Program Files\DbVisualizer
User Home: C:\Users\SBeeson
@set resultset name xxx means that everything after name is treated as the name including any quotes.
Okay then perhaps it shouldn't highlight SQL syntax?