x

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

more ▼

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

FLLanes gravatar image

FLLanes
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.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

SQL Server Central

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

Topics:

x1833
x49

asked: Nov 27, 2009 at 05:31 AM

Seen: 1300 times

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