SQL SERVER – Puzzle – Shortest Code to Produce the Number 1000000000 (One Billion)

In the last puzzle, user had to write the shortest code to produce 0. I have received around 700 valid answers and while reading through the answers, I had a blast. I personally learned quite a lot from just administrating the quiz. Since that puzzle, I have received quite a few emails requesting to come up with next puzzle.

SQL SERVER - Puzzle - Shortest Code to Produce the Number 1000000000 (One Billion) puzzlebillion-800x429

Honestly, building a puzzle is very hard, but as you all wanted me to come up with another puzzle, here is the puzzle.

Puzzle: Write the shortest code to produce the number 1000000000 (One Billion)

Conditions:

1 You can use numbers in the code, but not One billion (1000000000) itself
2 You cannot use arithmetic operators

I guess, that’s it. This time, the puzzle is very simple. The shortest code which I have with me is of the total 10 characters (including spaces).

Now is the time, please get going with this puzzle and post your answers in the comments section. Please note that all the answers will be hidden till the next Monday. On the Monday morning, I will publish all the valid answers.

After finding the answer to this puzzle and if you still have time and you want to solve something more challenging here another small puzzle Select Unique Data From a Column Exist in Two Different Table, which I shared earlier last week.

Reference: Pinal Dave (https://blog.sqlauthority.com)

Quest

SQL Function, SQL Scripts, SQL Server
Previous Post
SQL SERVER – Select Unique Data From a Column Exist in Two Different Table
Next Post
SQL SERVER – Puzzle – Adding Two Dates Resulting Strange Results

Related Posts

33 Comments. Leave new

Leave a Reply