Last active
April 5, 2022 11:26
-
-
Save wolandtel/9a9de03d6f932e22afdbea3d271055d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Подключаться пользователем DEV[:USER] | |
declare | |
vnUSER NUMBER(17); | |
vsSYSUSER VARCHAR2(100) := 'DEV'; | |
vnLPU NUMBER(17) := 10903; | |
begin | |
select ID | |
INTO vnUSER | |
from D_V_USERS | |
where USERNAME = :USER; | |
D_PKG_USERPROXIES.SET_USERPROXY(psSYSUSER => vsSYSUSER, | |
pnENABLE => 1, | |
psUSER => vnUSER, | |
pnLPU => vnLPU); | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment