277 results found
-
Aliases - also enclose with square brackets []
using the example
SELECT patientid FROM PTGEPATIENT AS pgpIf I qualify object names (ctrl-B, ctrl-Q), I will get
SELECT [pgp].[patientid] FROM [dbo].[PTGEPATIENT] AS pgp
The alias is not enclosed in square brackets after the "AS" keyword. Would like to see that support for consistency (this is the standard I currently have in place)
7 votesThis is included in SQL Prompt 6.4, which you can download from http://www.red-gate.com/products/sql-development/sql-prompt/
-
identify occurrences of select *
Now that sql prompt and refactoring have been merged, how about a means of identifying where 'select ' has been used in stored procedures etc. including select a. and select bob, *
I would have thought that you've already done the hard work, as SQL prompt already recognises these stars when it proposes to expand the column list.2 votesWe’re happy to announce that this feature is now included in SQL Prompt V9 as part of the new code analysis feature. For additional information see: https://documentation.red-gate.com/display/SP9/SQL+Prompt+9.2+release+notes.
You can get the latest version of SQL Prompt from https://www.red-gate.com/products/sql-development/sql-prompt/.
Thank you for your help!
Kind regards,
The Prompt Team
-
Disable SQL Prompt on certain blocks of code
Add a functionality of disabling SQL Prompt auto-formatting feature for blocks of code. Use SQL comments for 100% sql compatibility. Example:
SELECT 1, 2, 3
--<SQLPROPMT disable>
select 4, 5, 6
--</SQLPROPMT>
select 7,8,9in the code above, the first and third statements would be auto-formatted but not the second one.
It would be especially useful for very long scripts where a single formatting template is not an option.
64 votesThis feature is now included in the new SQL Prompt 8.0. For additional information see: http://documentation.red-gate.com/display/SP8/SQL+Prompt+8.0+release+notes
You can get the latest version of SQL Prompt from http://www.red-gate.com/products/sql-development/sql-prompt/
Thank you for your help!
-
semicolon: space before/after options
Request space options for semicolons that are analogous to space options for commas (see SQL Prompt-->Options-->Format-->Commas & parentheses)
p.s. -I really don't like the current auto-insertion of a space in front of the semicolons. At the very least, the semicolon formatting should remain untouched upon running Format SQL.17 votesAs of SQL Prompt 5.2.8, spaces are no longer inserted before semicolons during a Format SQL operation. We have not added a new option, as we have found no-one who likes the spaces to be there. If we receive further feedback to the contrary then we will consider adding an option in the future.
-
Support SQL Azure
Bring in support for SQL Azure for the application. If there are limitations where it cannot be done for Azure, possibly allow the user to set a local database as the model for an azure database to build the cache.
43 votesThis was shipped in v10.4.
Thank you for your input!
Chiara
-
Improve formatting of parameter layout
SQL Prompt 5 does not behave the same as SQL Refactor when it comes to formatting parameters that may be passed to a function, stored procedure, etc. You can increase the text wrapping, but that is not a full-scale solution. A better solution would be to allow you to want to align the parameters on new lines or put all parameters on one line ignoring the text wrapping limit.
7 votesWe’ve released a brand new formatting system in version 8 of SQL Prompt and have made further improvements since.
You can get the latest version of SQL Prompt from https://www.red-gate.com/products/sql-development/sql-prompt/.
If there is something missing please let us know by opening a new suggestion.
Kind regards,
The Prompt Team
-
Add current stored procedure name to prompt
I write a lot of stored procedures, and one of the nice things about SQL Refactor was that the names of new procedures would autocomplete. For example, "CREATE PROCEDURE WHATEVERPROCEDURENAME" would autocomplete "WHATEVERPROCEDURENAME" if I typed "GRANT EXECUTE ON W". It's a minor convenience to be sure, but it's also frustrating to see you favorite features disappear.
3 votesThis is included in SQL Prompt 6.4, which you can download from http://www.red-gate.com/products/sql-development/sql-prompt/
-
Partial Name Matching (like the Intellisense in VS2010)
I thought that partial matching for Intellisense was a rubbish idea, but after using in VS2010 I find it absolutely indispensable, and I really miss it in SQL Prompt.
[b]What is it?[/b]
An example:
[code]
CREATE TABLE [dbo].[Clients](
[ClientID] [int] NOT NULL,
[ClientName] [varchar](50) NOT NULL,
[ClientSurname] [varchar](50) NOT NULL,
[ClientCardNumber] [int] NOT NULL
) ON [PRIMARY]
[/code]If I had to now type
[code]
SELECT
ClientID,
ClientName,
ClientSurname,
ClientCardNumber
FROM
dbo.Clients AS c
ORDER BY
$CURSOR$
[/code]
and started typing "Cli" I would get a list of all the column names on the table. However, if I typed "ID"…36 votesAs of SQL Prompt 5.3, partial matching is now included for everyone.
-
Quicker way to disable / enable
Some users report that having to go into options to disable prompt temporarily is long winded. Can there be a quicker way (perhaps a keyboard shortcut or direct menu option)?
5 votesI’m going to close this idea to return your votes since I think it was completed a while back (you can disable suggestions with Ctrl+Shift+P or from the Prompt menu). If I’ve misunderstood then feel free to create another idea with more specifics.
-
Support for XML functions
The XML data type methods are CASE-SENSITIVE - so SQL Prompt must NEVER EVER uppercase those! I have been requesting this feature for a long time. Please fix this.
37 votesWe’ve released SQL Prompt 6 which includes support for XML functions.
-
90 votes
SQL Prompt 8.0 includes many improvements to the SQL formatting options. For additional information see: http://documentation.red-gate.com/display/SP8/SQL+Prompt+8.0+release+notes
You can get the latest version of SQL Prompt from http://www.red-gate.com/products/sql-development/sql-prompt/
Thank you for your help!
-
Disable SQL Prompt on certain databases
In previous versions of SQL Prompt, I could tell it to ignore certain databases for generating intellisense. We have a couple of databases that are causing issues with the product when it attempts to load the schemas. I would like to have the ability to turn off SQL Prompt for certain databases back.
26 votesSQL Prompt 6.1 has now been released which includes an option page for filtering server and database connections.
-
Uppercase keywords without changing layout
I used this all the time in SQL Refactor for code I wanted to make easier to read but didn't want to have layout changes.Can we have it back?
12 votesUppercase Keywords is now available in SQL Prompt 5.1.
-
Jump to object explorer
I just had a situation where I was in code, didn't have the object explorer opened up for the connection and wanted to look at the table properties, security etc.
It would be really good if you good offer up a "go to object in object explorer" feature - similar to the F12 shortcut to load an ALTER tab, but just changes the object explorer focus to the object that I am currently at.
29 votesThis is included in SQL Prompt 6.3, which can be downloaded from http://www.red-gate.com/products/sql-development/sql-prompt/
-
Synonym support
I found several feature requests concerning synonym support on the Red Gate forums: It was always put on the feature request list, but SQL Prompt still lacks support for synonyms.
Explanation: Synonym resolution support is crucial for us, since our database design and development strategy completely relies on them. We use synonyms for everything that is out of current database context. So we develop as if every used object was within current database. It's annoying to type an object name that is in fact a synonym - and SQL Prompt does not display auto-completion for the object itself nor for…102 votesWe’ve released SQL Prompt 6 which includes full synonym support.
-
Reinstate SQL Refactor shortcut keys
Please let us have CTRL+U back for setting reserved words to uppercase (this shortcut seems to have disappeared) as well as CTRL+B+L for layout. CTRL+K+Y isn't as natural to use and I'm giving serious thought to downgrading to the previous version. I've been used to those shortcuts for years and all it's doing now is annoying me and getting in the way.
8 votesIn SQL Prompt 5.1, Ctrl+B Ctrl+L now activates Format SQL (Ctrl+K Ctrl+Y still works too), and Ctrl+B Ctrl+U activates Uppercase Keywords.
-
Date time types default to UTC and cannot be changed
Whenever I use the INSERT INTO template in SQL Prompt 5, I get an incorrect date and/or time inserted for all date/time columns detected in the table. The time is 8 hours ahead of my time zone. I am on Pacific Standard Time, thus running the INSERT INTO template at say, 4pm, will generate a default date/time stamp of the next day at midnight (2011-01-06 16:00:00 real time produces a default insertion of 2011-01-07 00:00:00 for all date/time column values in the proposed INSERT statement). My assumption is that the default time is set to UTC which makes sense for…
7 votesPrompt 6.3 uses GETDATE() rather than inserting a string literal with the current date
- Don't see your idea?