开发者

Stored Procedure- Special Account

开发者 https://www.devze.com 2023-02-07 20:06 出处:网络
I have a requirement to execute a stored procedure and fetch data from a table. I need to create an account in SQL and use the same. (SQL 2005)

I have a requirement to execute a stored procedure and fetch data from a table. I need to create an account in SQL and use the same. (SQL 2005)

I need to create an account in SQL. I can create that. But How do I Use that account to run the stored procedure and the table(to get data out of table)

Tha开发者_如何学JAVAnk you


I depends upon which client you use, but you can simply change your connection string to use standard security

e.g.

Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;

See connection strings for your specific needs

0

精彩评论

暂无评论...
验证码 换一张
取 消