Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OpenRowSet, VFPOleDB, and Stored procedures
Message
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01352350
Message ID:
01353146
Views:
18
Hello Zoran,
Could you advise how to turn off excusive lock for OPENROWSET as below:

SELECT *
FROM OPENROWSET('MSDASQL',
'Driver=Microsoft Visual FoxPro Driver;SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;SourceDB=C:\SPCTesterSrc\SFH\ALS_Pre_Tank_Data\;',
'SELECT * FROM [ALS_PRE_TANK_SENTINES1_2008_08_26.dbf]')

The above query works, but I need move the DBF file to another location after I finish this query. I always get an error message saying "Cannot move ALS_PRE_TANK_SENTINES1_2008_08_26: It is being used by another person or program. Close any programs that might be using the file and try again".

Your help is appreciated...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform