Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)

  • RE: DB concurrency how to....

    Sorry guys, but I dont understand how to implement it via SQL server....:w00t:

  • RE: DB concurrency how to....

    Hi Sean,

    Can u provide to me an example, pls?

  • RE: DB concurrency how to....

    In Italy the tax office requires a complete seq. number for invoices 🙁

  • RE: DB concurrency how to....

    But I'd recover that invoice number not to void

    :ermm:

  • RE: DB concurrency how to....

    Hi Lynn,

    I considered this option, but it could be other problem of concurrency.

    Imagine I have two record of with invoice Nr not completed, ie

    InvoiceID flagcompleted

    1 ...

  • RE: DB concurrency how to....

    This is an example in pseudo code about what I am worried.

    USER 1

    --my invoice Number = mysequence = 1

    SELECT

    mysequence = NEXT VALUE FOR dbo.MySequence;

    GO

    begin trans

    insert into table1...

  • RE: DB concurrency how to....

    Hi SSChampion,

    you are right, indeed my problem with my strategy is in case of same rollback.

    I am storing pointer to nextrows

    SET @nextNumReg = (SELECT [RelNumReg] + 1.....

    cause I need to...

  • RE: DB concurrency how to....

    Hello guy,

    Yes, i have evaluated to work with sequence, but there are some limitation , ie. Sequence numbers inserted into a table can have gaps when a transaction is rolled...

  • RE: DB concurrency how to....

    Hi Lowell,

    thanks for your reply.

    Indeed it is the application that has to assign the purchase order number, the solution you suggest is to create a table with Identity and after...

Viewing 9 posts - 1 through 9 (of 9 total)