Script Object as ALTER not correct
bhennelly
Posts: 9 Bronze 2
Having an issue when using sql prompt (5.1.4.11 Pro) where I am receiving differences between SSMS script stored procedure as alter and SQL Prompt when using the right click "script object as ALTER" over a stored procedure object name in a query window.
I thought these two features should work the same and reveal the same results?
I am using the same database and same stored procedure between SSMS script to alter and SQL Prompt script to alter.
SQL Search (1.0.0.342) actually searches and finds the stored procedure as it should be.
SSMS scripts the stored procedure to alter as it should be.
SQL Prompt 5 scripts the procedure to alter as it was previously this morning, but no longer. This is where I feel it is incorrect unless I have a miss-understanding of how this should work.
Anyone seen this before?
(There are other databases in my SSMS that have the same stored procedure. Could sql prompt be retrieving the procedure from the wrong database?)
I thought these two features should work the same and reveal the same results?
I am using the same database and same stored procedure between SSMS script to alter and SQL Prompt script to alter.
SQL Search (1.0.0.342) actually searches and finds the stored procedure as it should be.
SSMS scripts the stored procedure to alter as it should be.
SQL Prompt 5 scripts the procedure to alter as it was previously this morning, but no longer. This is where I feel it is incorrect unless I have a miss-understanding of how this should work.
Anyone seen this before?
(There are other databases in my SSMS that have the same stored procedure. Could sql prompt be retrieving the procedure from the wrong database?)
Comments
Microsoft SQL Server Management Studio 10.50.1617.0
So I guess to answer my own question is SQL Prompt will store the contents off all procedures from a specific point in time.
Another question might be how do I tell SQL Prompt it needs to update in this case?
http://www.red-gate.com/supportcenter/C ... .htm&p=SQL Prompt
As a side note it looks like the menu option was "Refresh Cache" but now listed as "Refresh Suggestions" as I cannot find a "Refresh Cache" option and "Refresh Suggestions" lists the keyboard shortcut "Ctrl+Shift+D" on the menu.
[Using SQL Prompt Version 5.1.6.35]
My question/issue has been answered/resolved.