Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Importing External Data using ODBC

I use Excel to connect to a SQL Server data base using a file ODBC/DSN
connection.

The data base is accessed by a ASP.Net web app, an Access app, and Excel.

When running long or inefficient queries in Excel, the web app will
sometimes "time out".

I would like to change my file ODBC configuration to only allow non-locking
connections similar to using the WITH (NOLOCK) parameter in a SELECT
statement.

Here is my ODBC DSN file:

[ODBC]
DRIVER=SQL Server
UID=myuserid_r
QueryLog_On=Yes
Network=DBMSSOCN
WSID=XX12345678
APP=Microsoft Data Access Components
SERVER=MyServer
Description=SQL Server ROnly

Can I use the read/uncommited parameter in SQLConfigDataSource:

SQL_TXN_ISOLATION = SQL_TXN_READ_UNCOMMITED

to do this?

if not, is there another way to create this connection on client side using
a file DSN?

thanks.

Alan


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating new link to external data (ODBC) Kristibaer Excel Discussion (Misc queries) 1 May 13th 09 06:21 PM
Get External Data : ODBC Lock Type [email protected] Excel Discussion (Misc queries) 0 September 1st 08 01:05 PM
Importing external data R. Choate Excel Programming 12 September 30th 05 08:44 PM
Pivot tables, external data sources and ODBC links plato Excel Worksheet Functions 0 January 17th 05 05:07 PM
Importing ODBC Data .. anywhere?? Ignacio Excel Programming 0 September 29th 03 11:07 AM


All times are GMT +1. The time now is 11:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"