Thursday, October 4, 2012

SQL Fun #01

Write shortest T-SQL code to print 0.00 without using any number and built-in function



Answer:

To select "0.00", use following command:
SELECT $


To print "0.00", use following command:
PRINT $



 

9 comments:

  1. Hi,
    Thanks for sharing the great information about SQL... Its useful and helpful information…Keep Sharing.
    SQL DBA training in Hyderabad

    ReplyDelete
  2. Hi, Thank you for this informative blog, I have just started to learn sql online and this blog is really informative for me. Thank you for this blog!

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. I must say that your course stands out in terms of clarity, depth, and practical examples.
    online and offline course in KPHB

    ReplyDelete