how to get system name in username when we write a select query Select SUser_sname() in sql server 2008 r2.
Actually , requirement is I have to give a sql serevr login to the client.
NOTE : I cant create a Windows Authentication to the client.
So, I create a login Called Satish with PasswordSatish@123 ,
when client login with Satish , and if he selects a Select SUser_sname() he will get aSatish as Output , but my requirement is i have to display a client name(System Name).
Very Urgent , Please do me need full.