Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
select * from syspermissions pinner join sysusers u on u.uid = p.granteeinner join sysobjects o on o.id = p.id where u.name = 'mepuser' and o.name not like 'dt_%'order by p.id