: In the sidebar, expand General > Editors and select Text Editors .
When the SAP HANA engine throws a syntax error, the console log explicitly references a specific line and column number (e.g., “Syntax error at line 42” ). Having visible line numbers allows you to jump straight to the issue.
If you want to quickly toggle line numbers for your current session: Open your SQL console or code editor.
If you’ve followed the steps above and still don’t see numbers, consider these common fixes:
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
In the left-hand menu tree of the Preferences window, expand the folder. Next, expand the Editors folder. Click directly on Text Editors (do not expand it further). Step 3: Enable Line Numbers
: Easily tell a teammate to "look at line 145" during a code review.
: Line numbers provide clear visual milestones when scrolling through hundreds of lines of complex analytical queries.
Large stored procedures can span thousands of lines. Line numbers provide a visual map of your progress. Method 1: The Quick Shortcut (Easiest Way)
: Right-click on this gray bar, and a context menu will appear. From the menu, select "Show Line Numbers" . This will instantly enable or disable the line numbers for that specific editor.
When a HANA procedure fails, the system log returns errors like:
You followed the steps, but no numbers appear. Here are the most common fixes for SAP HANA Studio.
This guide will show you exactly how to display line numbers in SAP HANA Studio using multiple methods. Method 1: The Quickest Right-Click Shortcut
