keywords as alias issues
ggeier
Posts: 30 Bronze 2
When using the "Format SQL" feature, it's failing/removing brackets when the alias is a SQL keyword.
formats to:
select top 1 [start] = 'wwww', [end] = 'xxxx' from sys.objects o select top 1 'wwww' as 'start','xxxx' as 'end' from sys.objects o
formats to:
select top 1 start = 'wwww', [end] = 'xxxx' from sys.objects o; select top 1 start = 'wwww',end = 'xxxx' from sys.objects o;
Comments
Thanks for reporting this. We've reproduced the issue and are working on a fix.
Cheers
Harry
I think this is fixed in this build (http://download.red-gate.com/EAP/SQLPro ... .0.224.exe)
Please let us know if this fixes the issue for you
Cheers
Harry