6 data flows running at same time shouldnt pick same row from the table.

  • I have a package that executes 6 dataflows when run, all the data flows run the same proc at the same time which picks a row from a table and updates a flag in the table so that the other dataflow dont pick the same row , but it doesn't happen like I want. I also tried creating guid to make sure the dataflows dont pick same row it didn't work.I need an idea how I can implement this. urgent please........

  • You'll need to provide more details than simply "it's not working". What is the expected output?

  • Agreed....we don't have enough info to help you here. How about posting the code that you are using to 'mark' the row as reserved. It looks to me like you are trying to multi-thread a process and manually managing the process queues inside a table. Post your table DDL, a few sample rows of data, and the SP code and you'll get a better answer. Here's a thread that instructs you on how to post what I've asked for in a readily-consumable form: http://www.sqlservercentral.com/articles/Best+Practices/61537/"> http://www.sqlservercentral.com/articles/Best+Practices/61537/

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply