x
login about faq Site discussion (meta-askssc)

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 '09 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 '09 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

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1601
x47

asked: Nov 27 '09 at 05:31 AM

Seen: 987 times

Last Updated: Nov 28 '09 at 05:13 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.