dbTalk Databases Forums  

OLE DB Source and Data Access Mode

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss OLE DB Source and Data Access Mode in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ola
 
Posts: n/a

Default OLE DB Source and Data Access Mode - 02-16-2009 , 12:55 PM






Hi,
When setting the Data Access Mode to Table or View, the trace in PRofiler
looks something like this:
SET ROWCOUNT 1
SELECT * FROM Products
SET ROWCOUNT 1
SELECT * FROM Products
SET ROWCOUNT 1
SELECT * FROM Products
SELECT * FROM Products

Does anyone one know why it behaves like this? Why does it use SET ROWCOUNT,
and why does it execute the query several times?

Same thing if you use SQL Command and specify the query, isp_prepare and
sp_unprepare is used several times before actually executing the query.

Thanks,
--ola

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.