Hi All,
Im back to MV-World after a 20-year break. Formerly i was developing an application with advanced Pick / SB+.
I want to activate Database triggers on a UV Database for some UV Datafiles to get dependent tables updated.
But im struggling right at the beginning.
I created the following:
FILE TEST.TRIGGER FILE TYPE 18
BAISC SUBROUTINE B.TESTTRIGGER with the needed parameters.
After that I try to activate the Trigger with
CREATE TRIGGER TESTTRIGGER BEFORE INSERT OR UPDATE TEST.TRIGGER B.TESTTRIGGER
-> I Get the message TEST.TRIGGER unexpected.
I thought that I have to convert the file to SQL Table befor so i tried the following command:
CONVERT.SQL TEST.TRIGGER
-> I Get the Message: Can't run CONVERT.SQL: 'UV11TEST-TL\\Administrator' is not an SQL User
So i logged in as Administrator User and tried:
GRANT DBA TO t.ludwig or GRANT DBA TO Administrator
-> I Get the message: UniVerse/SQL: "UV11TEST-TL\\Administrator" is not an SQL user.
I think the problem is to get the first user as an SQL User.
In the Help-File i found that NT AUTHORITY\\system gets registered as SQL user during install, but how do I use this user to Grant Access to other users?
Everey Idea is welcome...
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------
