on 2021 Dec 18 12:21 PM
Hello, I need to create linked server on MS SQL srv 2015 to ASA 17. I installed SQLANY client on machine where MS SQL server is, created ODBC profile which nicely connect to ASA. I would like that Linked server get access just to one view in ASA and nothing else. I created user in ASA for this purpose and give him only View Privileges to selected view. In linked server user can connect but could not see view and on ASA server console there is error "Login procedure 'sp_login_environment' caused SQLSTATE '52W09' login procedure sp_login_environment not found" I assume that user doesn't have enough rights to view this view. The same error I get when I connect with ISQL and here I also could not select my view. What Privileges or Roles I have to give to user that he could access and run this view? If I run view as dba, I have no problem.
Thanks for any help! Tomaz
I have not tested this on MSS with a linked server. This resolves the issue in dbisql (this user configuration will not be able to connect using SQLCentral). Adding the user 'keating' with limited
CREATE USER "keating" IDENTIFIED BY 'sql'; REVOKE EXERCISE OPTION FOR ROLE "PUBLIC" FROM "keating"; SET OPTION "keating"."login_procedure" = 'dbo.sp_login_environment'; GRANT EXECUTE ON "dbo"."sp_login_environment" TO "keating";
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The user should be granted the role PUBLIC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.