MS Access equiv of With(nolock)

M

macroapa

Hi,

I have a SQL server db where a query in SQL Query Analyser is written
as:

SELECT *
FROM Table1 WITH (nolock)

Now I have an ODBC link to this table in MS Access and want to have
exactly the same select query which at no point locks any of the data.

MS Access doesn't appear to have a WITH (nolock) command. What would
the equivalent be?

Thanks
 
A

Armen Stein

SELECT *
FROM Table1 WITH (nolock)

Now I have an ODBC link to this table in MS Access and want to have
exactly the same select query which at no point locks any of the data.

MS Access doesn't appear to have a WITH (nolock) command. What would
the equivalent be?

You can use NOLOCK in a Passthrough query.

I've written a PowerPoint presentation on techniques for using Access
as a client-server front-end to SQL Server databases. It's called
"Best of Both Worlds" at www.JStreetTech.com/Downloads. It includes
some thoughts on when to use SQL Server, performance and security
considerations, concurrency approaches, and techniques to help
everything run smoothly.

Armen Stein
Microsoft Access MVP
www.JStreetTech.com
 
A

ANNNABORDA

macroapa said:
Hi,

I have a SQL server db where a query in SQL Query Analyser is written
as:

SELECT *
FROM Table1 WITH (nolock)

Now I have an ODBC link to this table in MS Access and want to have
exactly the same select query which at no point locks any of the data.

MS Access doesn't appear to have a WITH (nolock) command. What would
the equivalent be?

Thanks
 
O

o;;

macroapa said:
Hi,

I have a SQL server db where a query in SQL Query Analyser is written
as:

SELECT *
FROM Table1 WITH (nolock)

Now I have an ODBC link to this table in MS Access and want to have
exactly the same select query which at no point locks any of the data.

MS Access doesn't appear to have a WITH (nolock) command. What would
the equivalent be?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top