on 03-19-2014 6:19 PM
Hi,
I am trying to create design-time object Analytic privilege in which it uses repository procedure.
To create a repository procedure I am using wizard Database Development - Stored procedure with File format Text(.hdbprocedure)
PROCEDURE "AUTH"."excent.poc.xsapp::IN_AUTH_ATTR" (
OUT VAL "AUTH"."excent.poc.xsapp::Auth.tt_attr"
)
LANGUAGE SQLSCRIPT
SQL SECURITY DEFINER
DEFAULT SCHEMA "_SYS_BIC"
READS SQL DATA AS
l_cnt INT;
BEGIN
.
.
.
.
END;
I see that it is creating as Catalog procedure instead of Repository procedure.
Regards
Raj
>I see that it is creating as Catalog procedure instead of Repository procedure.
Why do you think that? Its not possible if you are using .hdbprocedure. That must be a repository procedure by its very definition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>I am thinking that repository procedure is created using .hdbprocedure. Is my understanding correct?
Yes hdbprocedure is absolutely a repository procedure. I think the earlier poster hit it exactly that the problem is in the Analytic Privilege itself that it incorrectly doesn't know the newer hdbprocedure format. I would suggest using a .procedure instead of the newer .hdbprocedure in the mean time.
Hello Raj,
Just create the procedure inside your content which will actually be a repository based procedure and then you can use this in the Analytic Privilege.
Thanks & regards,
Jomy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.