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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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