I didn't know I could pass the APP_USER from APEX into a databasetrigger!
The nvl construction saves me from empty fields when updating on backend.
create or replace trigger TRG_BIU
before insert or update on TBL_DEMO
for each row
begin
:new.DB_LAST_CHANGED_DATE := sysdate();
:new.DB_LAST_CHANGED_BY := nvl(v('APP_USER'),USER);
end;
17 June 2010
21 May 2010
Finally got LDAP authentication working in PL/SQL
For a project in APEX, I wanted to use LDAP (Active Directory) authentication. It took me a few hours to got it working. The only thing I needed is to change the short 'windows' name into the CN name.
With the help of this great example:
http://idevelopment.info/data/Oracle/DBA_tips/LDAP_OID_9.2.0/LDAP_21.shtml
I fixed it.
The example shows how to login to LDAP and get values from it.
With the help of this great example:
http://idevelopment.info/data/Oracle/DBA_tips/LDAP_OID_9.2.0/LDAP_21.shtml
I fixed it.
The example shows how to login to LDAP and get values from it.
22 April 2010
Grid Control 11
Hi,
The new Grid Control 11.1.0.1.0 is now on OTN available. For Linux only.
So start downloading and test it!
The new Grid Control 11.1.0.1.0 is now on OTN available. For Linux only.
So start downloading and test it!
03 April 2010
Oracle Database 11.2 for windows release
The 11.2 release for windows x64 has now been released on OTN. We'll have to wait for 32 bits.
Subscribe to:
Posts (Atom)