Comments
Sort by recent activity
Hi
Well to be honest I do not see any reason for that either. Our Permissions are generated automatically and we gave the maximum grants on each object according to its type, which was the reason the function got this permission.
I actually solved this by only granting select to this function, hoping that in the application no one will try to insert/update or delete from this function.
Sandu / comments
Hi
Well to be honest I do not see any reason for that either. Our Permissions are generated automatically and we gave the maximum grants on each object according to its type, which was the reason t...
Ok
thanks
Waiting to hear from you
Sandu / comments
Ok
thanks
Waiting to hear from you
Sandu
Hello
Sory if I wasn't clear enough I try via example
If I have this function : create function test1()
returns table
as
return (select * from stores)
select * from test1()
then I can grant update to this function grant update,insert,select on test1 to guest
and the following command is valid : update test1() set state='CC'
Now if in My master DB I do the following: drop function test1
create function test1()
returns @retTable Table (
[stor_id] [char] (4) ,
[stor_name] [varchar] (40) ,
[stor_address] [varchar] (40) ,
[city] [varchar] (20) ,
[state] [char] (2) ,
[zip] [char] (5))
as
begin
insert into @rettable select * from stores
return
end
select * from test1()
grant select on test1 to guest
Now when I try to syncronize this master DB to another Sqlcompare will compare the function but will fail to revoke the permissions on the taget DB / comments
Hello
Sory if I wasn't clear enough I try via example
If I have this function :create function test1()
returns table
as
return (select * from stores)
select * from test1()
then I can grant update ...
hello Brian
10x
Sandu / comments
hello Brian
10x
Sandu