Red Gate forums :: View topic - Press Tab to expand wildcard
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt 6
SQL Prompt 6 forum

Press Tab to expand wildcard

Search in SQL Prompt 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
GregBrown99



Joined: 27 Feb 2014
Posts: 2

PostPosted: Thu Feb 27, 2014 4:21 pm    Post subject: Press Tab to expand wildcard Reply with quote

If I create a new view, what has to happen before SQL Prompt will allow me to press TAB to expand the list of columns in the view.

For example, if I create a view myView, then create a query:
select *
from myView

I'm not prompted to "Press TAB to expand wildcard"

Is there something that has to happen in SqlServer before SQL Prompt picks up the new view?

Thanks.
Back to top
View user's profile Send private message
Aaron Law



Joined: 28 Jun 2013
Posts: 218
Location: Red Gate Software

PostPosted: Thu Feb 27, 2014 5:33 pm    Post subject: Reply with quote

Hi Greg,
You'll need to refresh the suggestions after creating the new view (pressing Ctrl+Shift+D or using refresh suggestions from the prompt menu will do it). This'll load the new view into Prompt's cache and allow it to offer suggestions such as expand wildcards.

Alternatively there's an experimental feature to automatically refresh suggestions when a change is detected on the database (found under SQL Prompt->Options->Experimental Features)
Back to top
View user's profile Send private message
GregBrown99



Joined: 27 Feb 2014
Posts: 2

PostPosted: Thu Feb 27, 2014 6:46 pm    Post subject: Reply with quote

Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group