Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Create a single SQL Login on many Instances

$
0
0

Looking to accomplish creating a single SQL login, using T-SQL, on many SQL instances that we support. This will save us from connecting to each instance manually and creating it one at a time. Thoughts... ideas. Thanks.

use master create login [mySQLuser] WITH PASSWORD=N''1234'', DEFAULT_DATABASE=[master], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>