Red Gate forums :: View topic - Snippet and special charaters
Return to www.red-gate.com RSS Feed Available

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

Snippet and special charaters

Search in SQL Prompt Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
rcraill



Joined: 04 Nov 2010
Posts: 1

PostPosted: Thu Nov 04, 2010 8:09 am    Post subject: Snippet and special charaters Reply with quote

when i try enter a snippet it leaves out and shift charaters ie *(). Is there a special way to capture these.
eg select * from Bidtable where substring(company,1,7)= 'chas ev' order by company
if you test you get
select * from Bidtable where substringcompany,1,7= 'chas ev' order by company

Missing ()
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Fri Nov 05, 2010 12:04 pm    Post subject: Reply with quote

Thanks for your post. I tried creating a snippet based on what you posted, but the brackets work ok for me and appear.

Can I check - what version of SSMS are you using? And if you haven't already, can you try the latest patch? (look for the "Latest cumulative patch" post in the forum)
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