I am finding that SQL Prompt 4 does not correctly do Format SQL on create/alter view statements. It may be that this primarily happens if there is a comment in the view text. I frequently place comments directly after the AS keyword as a convention.

No... nothing to do with comments. It appears that running Format SQL on an alter view merely strips out any leading whitespace from all view body lines, and that's it. Comment out the "alter view <view> as" phrase and Format SQL correctly formats the resulting select statement as normal.
geophphrie
0

Comments

1 comment

  • StephanieHerr
    Thank you for reporting this issue. This is a known bug, but it will not be fixed in this release. I have added your comment so we can track how many users are experiencing this problem.
    StephanieHerr
    0

Add comment

Please sign in to leave a comment.