I have a ms sqlserver database, I want to write a query to select a field from a particular table if the logged person is and admin and ignore that field if otherwise, does anyone have an idea?
Thanks in advance
I have a ms sqlserver database, I want to write a query to select a field from a particular table if the logged person is and admin and ignore that field if otherwise, does anyone have an idea?
Thanks in advance
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit GuptaRank #190 · 12.8K reputationPosted Oct 19, 2020, 5:37 PM EDT
Schleid AlexRank #3,087 · 464 reputationPosted Oct 19, 2020, 5:46 PM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 19, 2020, 7:01 PM EDT