Bug: Error when formatting "alias = " as "AS alias"

When I try to format the following valid SQL with no space before "FROM":
SELECT principal_id =ISNULL(principal_id,0)FROM sys.objects
SQL prompt fails after converting the SQL into this invalid SQL (still no space before FROM):
SELECT ISNULL(principal_id,0) AS principal_idFROM sys.objects;
// Henrik
Tagged:

Comments

Sign In or Register to comment.