Settings and activity
2 results found
- 
4 votes Ed White
    
 supported this idea
           · Ed White
    
 supported this idea
           ·An error occurred while saving the comment 
- 
17 votesThe team are currently reprioritising this suggestion with a view to picking it up during 2019.  Ed White
    
 supported this idea
           · Ed White
    
 supported this idea
           ·An error occurred while saving the comment  Ed White
    
 commented Ed White
    
 commentedIn addition, in SSMS, whenever 'Refresh Suggestions' is selected, also perfom Edit->Intellisense->Refresh Local Cache automatically. 
 
        
I use that script a lot.
An annoyance in SQL Prompt is that when I type OBJECT_ID and click on the pulldown prompt suggestion for OBJECT_ID, SQL Prompt inserts brackets [ ] around it, resulting in [OBJECT_ID] (I have to option turned on to automatically put brackets around column names). The resulting script
IF ([OBJECT_ID]('MyTable') IS NOT NULL) DROP TABLE MyTable`
gives an error--you can't have brackets around OBJECT_ID. So every time I type this, I have to either manually type the entire word OBJECT_ID, or manually remove the brackets.