Home Forums SQL Server 2008 T-SQL (SS2K8) Logic problem in "SET [Quantity_Remaining] = [Quantity_Remaining] - 1" RE: Logic problem in "SET [Quantity_Remaining] = [Quantity_Remaining] - 1"

  • I read the post but I'm sure I misunderstood something -

    Here's a typical insert to the tblTransactions:

    INSERT INTO [TrackIT].[dbo].[tblTransactions]

    ([Buyer_Initial]

    ,[PO_Number]

    ,[Software_ID]

    ,[Transaction_Number]

    ,[Transaction_Type])

    VALUES

    ('OCC',

    '5465115',

    '51',

    17901,

    'From Bulk Assignment')

    GO