dbTalk Databases Forums  

Getting Record count -1

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


Discuss Getting Record count -1 in the microsoft.public.sqlserver.dts forum.



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

Default Getting Record count -1 - 07-11-2003 , 11:36 PM






I am having a peculiar problem when i am using a DSN
Connection i am getting Record count but when i am using
Provider=SQLOLEDB.1.............
i am getting Record count -1

Anybody can show a reason for this

thanks in advance

Reply With Quote
  #2  
Old   
Nigel Rivett
 
Posts: n/a

Default Re: Getting Record count -1 - 07-12-2003 , 04:38 PM






Probably due to the cursor type.
Try setting to a client side cursor.
The record count is only set when the data is delivered.

Nigel Rivett (SQL Server MVP)
www.nigelrivett.net

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

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.