Product:Â Kryon RPA
Product Version:Â N/A
Components:Â Database
Article Contributors:Â Kryon CS
Prerequisites:Â N/A
Symptom: Failure to create a DB trigger.
Cause:Â A very large schema.
Resolution:
The following process covers the creation of a read-only user with limited access to specific tables in DB in order to monitor DB events.
In this example we use the following values that may be changed according to internal convention and security needs:
Â
-        The SQL username à  TempUser
-        Table to be tracked à  MyTable
-        Database name à  MyDB
-        Database Server à  MyServer
Workaround:
Step 1: Configure New SQL User
- Open Microsoft SQL Server Management Studio (SSMS)
- Login to MyServer with a user that has permissions to add users and grant permissions.
- Right click on "Security" --> "New" --> "Login…"
Â
- Create a new SQL user:
- Open a new query editor and execute the following query (after changing to your values):
Â
Â
Â
Â
USE
Â
Â
Â
Â
Note:Â Please note that you may grant access to several tables using 2nd section above. |
Step 2: Create DB Trigger
- Use the following connection string example:
Â
Â
Â
Provider=SQLOLEDB.1;Password=<Password>;Persist Security Info=True;User ID=TempUser;Initial Catalog=MyDB;Data Source=MyServer
Â
Â
Â
**The list of tables should show only the tables that the user has access to.