Adding RDBMS function