Visual studio

How do I get Visual studio to stop changing my SQL statements that I right? It will reformat as well as assume that you want a CROSS JOIN and change the query in the SQL view.
Please help.

Thanks
LIFEEXPERTAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee SavidgeCommented:
0
LIFEEXPERTAuthor Commented:
I am using 2005; I followed the link but there is no "format" section for SQL
0
Lee SavidgeCommented:
There should be one for T-SQL. If not, what do you have there?

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

LIFEEXPERTAuthor Commented:
I do have a T-SQL, but no "FORMAT".
I do see a Statement Completion Section; but it is grayed out
 Screenshot of Options
0
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
I've requested that this question be deleted for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
LIFEEXPERTAuthor Commented:
I fail to see where this has been answered. Screenshot was given but no followup ever was.
0
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Yes, that is why it has been scheduled for deletion. There is no answer posted. Do you want to continue with the question? In that case a Moderator will send out a call for more Experts soon.

Qlemo
Cleanup Volunteer
0
LIFEEXPERTAuthor Commented:
I haven't resovled the issue... still have the problem. It would be nice to have an answer.
0
kmslogicCommented:
Can you post a specific example of Visual Studio doing that?  Are you using T-SQL in a control or connector?  Show what you wrote, where you put it and then what VS did to it.
0
Vadim RappCommented:
I will make a guess: you are using Query Builder, the piece that allows you to visually design the query. If so, then yes, the query will be rearranged whenever you switch from SQL pane to Diagram pane. This is how it works in all Microsoft tools that allow visual design of the query, including Microsoft Access and Enterprise Manager in SQL Server 2000. has always been this way. If you don't want your query reformatted, don't use Query Builder.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LIFEEXPERTAuthor Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.