Quantcast
Viewing all articles
Browse latest Browse all 15889

sp_addlogin

Hi SQL Server experts,

I need some help on:

How do I create/alter a login to have theCHECK_policy as OFF?

This needs to be done inside a stored procedure. The login name will be passed in as parameter.

 

 

Using this statement will not work since  login will be hardcoded.

alter login pingx_1 with CHECK_policy = OFF

Thanks in advance.

Pingx

 


pingx


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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