question

FLLanes avatar image
FLLanes asked

MS Access 2007 with SQL Server 2008 slow open

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

sql-server-2008microsoft-access
1 comment
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

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

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.