|
Recently we have upgraded from SQLServer 2005 to 2008. The problem is the performance while an Access ADP starts. If the user is not member of the sysadmin role, it takes about 6 to 10 sec. to open. For a sysadmin member only a few milliseconds. This is the SQL from de SQL Server Profiler: select tbl.name, schema_name(tbl.schema_id), tbl.type, cast(case when tbl.is_ms_shipped = 1 then 1 when (select major_id from sys.extended_properties where major_id = tbl.object_id and minor_id = 0 and class = 1 and name = N'microsoft_database_tools_support')is not null then 1 else 0 end as bit) from sys.all_objects AS tbl where tbl.type in (N'U', N'S') and permissions(tbl.object_id) & 4096 0 Thanks
(comments are locked)
|


Is that the query which has the long run time in SQL Profiler?