SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
DatabaseRetreive executing an sp twice

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
DatabaseRetreive executing an sp twice
Author Message
Alan Boswell



Joined: 02 Oct 2000
Posts: 2

Post DatabaseRetreive executing an sp twice Reply with quote

The DatabaseRetreive command is executing a stored procedure on a SQL Server 7 database twice.

The stored procedure returns the next valid record from a table and marks that record as being checked out. The procedure returns the data from the record to the scheduler. What we are seeing is that the data returned by the DatabaseRetreive command is always the second valid record.

Fri Dec 15, 2000 2:25 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Re: DatabaseRetreive executing an sp twice Reply with quote

DatabaseRetreive should be used with SELECT statements only (see documentation for details).
DatabaseExecute can be used to execute stored procedures.

: The DatabaseRetreive command is executing a stored procedure on a SQL Server
: 7 database twice.

: The stored procedure returns the next valid record from a table and marks
: that record as being checked out. The procedure returns the data from the
: record to the scheduler. What we are seeing is that the data returned by
: the DatabaseRetreive command is always the second valid record.

Fri Dec 15, 2000 3:02 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.