how i give the usrename and password in the sql command?
:setvar Maindbserver "NHSserver"
:setvar Maindb "NHS_031209"
:Connect $(Maindbserver)
go
$ maindb
this is my code.
in this script how i can give user name and password?
My question is if diff servers has diffrent password then
what is the solution for this.
you must give Password and usrename.