Maximize the power of SQL Prompt with SQL Toolbelt Essentials. Watch now.
SQL Formatting Questions
There are a couple formatting issues I've run into recently, and I can't figure out if it is something in my formatting style that is causing this, or maybe if it's just a bug. Here is what my code looks like after it is formatted, with the questions as comments. My style is attached (as .txt, the attach file button wouldn't accept a .sqlpromptstylev2 file).
--Why is there a space after "dbo"? SELECT * FROM dbo .Calendar --BEGIN for indent BEGIN DECLARE @var AS INT --Why isn't the SET line indented? IF @var IS NULL BEGIN SET @var = 0 END ENDSQL Prompt version 10.3.8.15885
0 · Share on Twitter