Red Gate forums :: View topic - Qualify *
Return to RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Refactor 1
SQL Refactor 1 forum

Qualify *

Search in SQL Refactor 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message

Joined: 13 Mar 2007
Posts: 224
Location: Cornwall

PostPosted: Wed Jun 24, 2009 2:07 pm    Post subject: Qualify * Reply with quote


not sure if this is already noted and cant search forums for occurrence of wildcard so apologies if this is a duplication.

Hitting Ctrl + B, Ctrl + Q introduces incorrect SQL syntax if there is a "table.* , " in the SQL.
SELECT p.* from People as p
after Ctrl + B, Ctrl + Q becomes
SELECT p.[*] from People as p

which results in an execution error of
Msg 207, Level 16, State 1, Line 2
Invalid column name '*'.

I know its not a biggy but thought I would mention it.

Senior DBA
Careers South West Ltd
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