I am a newbie to sqlserver.I recently came across "sqlcmd"utility feature while surfing.So here is my doubt.
I connect to a server using some credentials.I do it like
--->Right click on ssms
--->Run as different user
--->give some credentials(domain/password)
How can I do the same using command prompt..When do we actually use "sqlcmd"feature.Please help me on this.It would be helpful..
Sorry the same post got passed 3 times..Dont know how to delete