creating classifer function - Sql Server 2012

I am going thru a tutorial on how to create a Resource Pool.  I create the Function MyClassifier()
Click REsource Governor/ResourcePools/Create New Pool.

Dialog opens,

Click Enable Resource Governor and the Drop down only displays (None).

Where is the the classifer I just created?  

When I tried the function execution it states "Msg 2714, Level 16, State 3, Procedure myClassifer, Line 1
There is already an object named 'myClassifer' in the database."

So where did it go?


Karen SchaeferBI ANALYSTAsked:
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.

Did you check to see if your function was created in the AdventureWorks database versus the "Master" system database?

Check in the database tree nodes "Programmability" under "Scalar-valued Functions"
Microsoft documentation states that the function should be
defined with server scope (master database).

Here's a Microsoft example regarding how to
Create and Test a Classifier User-Defined Function
EugeneZ ZhitomirskySQL SERVER EXPERTCommented:
try to create this function in the master db
use master

create function..

check this example
Handling workloads on SQL Server 2008 with Resource Governor

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
Vitor MontalvãoMSSQL Senior EngineerCommented:
kfschaefer1, do you still need help with this question?
As LajuanTaylor questioned you, did you create the Classifier function in the master database?
Karen SchaeferBI ANALYSTAuthor Commented:
thanks for the input.
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

From novice to tech pro — start learning today.