Jump to content
Mazkot

SQL Filtering

Recommended Posts

Newbie to SQL so please bear with me.   Want to filter the records a user gets based on their login name.  I Have a field "SalesRep" in each of the tables I want to sync which works wonderfully for the individual sales reps, but now I have service techs which cover several sales reps territories.  I need help on how I can get them to be able to receive the correct salesrep records.

where SalesRep = '{MIRRORSYNC_USERNAME}'

Thanks

Share this post


Link to post
Share on other sites

It looks to me like it should work exactly as you have it. Is that not working?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.