nkopczynski
Oct 02, 2023Copper Contributor
Limit Query Results
I am looking for a way to stop users from select * from xxx in our database -
Is there a way to set permissions or restrictions on certain tables to limit the result set to no more than 2500 records?
nkopczynski , no, there is no build-in function to limit the result set for users (even because it makes no sense; which 2,500 records to return).
Create views or stored procedure returning a limited resultset (which don't make sense) and grant users permissions only on the views/SPs and not on the base tables.