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                     


more ▼

asked Nov 27, 2009 at 05:31 AM in Default

avatar image

1 1 1 1

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

Nov 30, 2009 at 03:20 AM mrdenny
(comments are locked)
10|1200 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Nov 27, 2009 at 05:31 AM

Seen: 1770 times

Last Updated: Nov 28, 2009 at 05:13 AM

Copyright 2018 Redgate Software. Privacy Policy