Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
gavakie
Posting Yak Master
221 Posts |
Posted - 2012-01-04 : 12:00:40
|
| I need to write a code based of a user id so that say a Manger can see everything. A supervisor could see only his teams data, and a rep could see only his data. Can anyone help on this? |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
gavakie
Posting Yak Master
221 Posts |
Posted - 2012-01-04 : 12:23:27
|
| It basically has a unique ID for each employee that has there supervisor listed as well.EMPID EMPNAME SUPNAME Manager1 a x q2 b x q3 c z q4 d z q5 e x q |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
|
|
|
|