Select 1 + 1 from tablename in SQL Server

15 pts.
Tags:
SQL Server
What will the above query return?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Michael Tidmarsh
    Welcome to ITKE, shainan! What program are you using?
    65,670 pointsBadges:
    report
  • shainan
    Thanks Michael,

    Actually I was trying to appear for an SQL test and came across this question, I haven't used it anywhere so thought of asking experts.

    Can you please me its bit urgent. 
    Thanks
    15 pointsBadges:
    report
  • ToddN2000
    It will return a 2 for each row found in the table name.
    132,520 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: