Getting Started with Adobe After Effects - Part 6: Motion Blur
First Time? You can support us by signing up. It takes only 5 seconds. Click here to sign up. If you already have an account, click here to login.

TSQL Challenge 76 - Identify the sequence of accounting transactions

  • TSQL Challenge 76 - Identify the sequence of accounting transactions

    dishdy Commented 1 Years ago through Puzzles
    wsantosf, The call to RAND(1) at the beginning makes sure everyone generates the same data. Thus if you do not get the sum values I published then either my solution is wrong or your solution is wrong. To solve this problem, the values of Qty are un
    puzzles
    13 · 13% · 4057
  • TSQL Challenge 76 - Identify the sequence of accounting transactions

    Paul Rizza Commented 1 Years ago through Puzzles
    His "rand" has a static seed value. The seed value sets the starting point for the random numbers generated. For example: Rand(1) Rand(1) Rand(1) Will Return the exact same number 3 times because I seed it each time. If you truely want to make su
    puzzles
    13 · 13% · 4057
  • TSQL Challenge 76 - Identify the sequence of accounting transactions

    dishdy Commented 1 Years ago through Puzzles
    McAuely, do you have a cpu count? My stats are very bad so I'm completely changing my approach - and thinking hard about Peso's one pass solution. (10000 row(s) affected) Table 'Worktable'. Scan count 2683, logical reads 2395150, physical reads
    puzzles
    13 · 13% · 4057
  • TSQL Challenge 76 - Identify the sequence of accounting transactions

    wsantosf Commented 1 Years ago through Puzzles
    Dishdy: since you use rand(), won't your test data be different for each person who runs it? That way it will be hard to compare solutions anyway. Even though, it helped me find a bug the original short test data didn't show. I also believe the totalqty
    puzzles
    13 · 13% · 4057
  • TSQL Challenge 76 - Identify the sequence of accounting transactions

    McAuley Commented 1 Years ago through Puzzles
    I have no idea. I just started doing these things and I'm in this to learn better ways.
    puzzles
    13 · 13% · 4057
  • TSQL Challenge 76 - Identify the sequence of accounting transactions

    Peso Commented 1 Years ago through Puzzles
    No. The idea is to encourage people to find better/different solutions. By showing the reads, we display that there are other solutions.
    puzzles
    13 · 13% · 4057
  • TSQL Challenge 76 - Identify the sequence of accounting transactions

    Paul Rizza Commented 1 Years ago through Puzzles
    Hi guys, I think I am missing something here, is the goal of the challenge to find a single winner with the best logic read and scan count numbers? Thanks, Paul
    puzzles
    13 · 13% · 4057
Previous 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... Next

Managed Windows Shared Hosting by OrcsWeb

Copyright © Rivera Informatic Private Ltd.