Tab at start of line crashes SQL Prompt (division by zero) when expanding asterisk to column list
maccer
Posts: 3 New member
In version 9.2.7.6282 of SQL Prompt and SSMS 2017 17.8.1, if you have a tab before a "SELECT * FROM..." statement, go with the text cursor to the * and press tab to expand the asterisk to a column list, you get a "division by zero" error in a "Report this error to Redgate" dialog.
i.e.
SELECT * FROM master.sys.all_objects; -- works fine
<tab>SELECT * FROM master.sys.all_objects; -- crashes
i.e.
SELECT * FROM master.sys.all_objects; -- works fine
<tab>SELECT * FROM master.sys.all_objects; -- crashes
Tagged: