Skip to content

Instantly share code, notes, and snippets.

@wolandtel
Last active April 5, 2022 11:26
Show Gist options
  • Save wolandtel/9a9de03d6f932e22afdbea3d271055d4 to your computer and use it in GitHub Desktop.
Save wolandtel/9a9de03d6f932e22afdbea3d271055d4 to your computer and use it in GitHub Desktop.
-- Подключаться пользователем 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