![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am using C# to execute a stored procedure to execute a DTS. The DTS executes alright. It is a simple DTS to do a direct copy from excel to SQL table. The problem is when I attempt to retrieved the data inserted, it returns nothing. After some extensive testing, I found out that I had to wait for about half a minute or more before executing any select statements. Anyone had any idea how I can rectify this? Any help would be greatly appreciated. Thanks. ---- Jordan |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi, I did check on the "Close connection on completion". The scenario is applicable to the table used in the DTS. Selecting from other tables is alright. "Exec sp_lock" returns type of "TAB" and Mode of "IS". I assume that statement is to check the lock. How do I make use of the WIth (NOLOCK). Thanks. --- Jordan |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
"WITH (NOLOCK)" also returns no records. Thanks. --- Jordan |
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |