Supress ERROR LOG "join order enforced" warning on join hints

Sometimes I use join hints. That produces a warning record in the SQL Error log:
Procedure XYZ output the following:  'Warning: The join order has been enforced because a local join hint is used.' on every execution.

Is there a way to supress these warning messages?
What is the cost of writing these messages to my procedure performance?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Join hints enforces the sql engine use different execution plans then the server choose.. Since the cost of these plans do differ sql a-warns you about the usage of the join hint. If you are not sure that you really need that hints my recommendation is that do not use the join hints... In order to decide wether to to use or not you can measure the query performnces with hints and without hints. Wich is perforning fast choose that one.

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
Mark WillsTopic AdvisorCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
   Acccept: tigin44 {http:#22915994}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer
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
Microsoft SQL Server 2005

From novice to tech pro — start learning today.