Rittman Mead’s Post

#TipTuesday | Format your SQL code in the push of a button. Use this tip to make your SQL code legible! Step 1: Fetch some code. Step 2: Paste it into SQL Developer. Step 3: Select all (Ctrl+A). Step 4: Format it (Ctrl+F7). Step 5: Change the bits of the formatting you don’t like. Step 6: Copy your code. Step 7: Go to Tools -> Preferences -> Code Editor -> Format -> Advanced Format. Step 8: Select “Auto-Detect Formatter Settings”. Step 9: Paste your code. Your SQL formatting is now set exactly to your liking. Just hit Ctrl+F7 whenever you’re coding, and you’ll never have to worry about your code looking messy again. Pro Tip: Not entirely happy with the results? Select “Preview with current setting” and feel free to manually change the settings to see how it would affect your code. #SQLFormatting #SQL #FormatCode

  • No alternative text description for this image

To view or add a comment, sign in

Explore topics