1

What does the following statement mean? Is it an equivalent for TOP?

select +10 as ContentID
2

2 Answers 2

6

No, it simply returns a result set with one row and one column (named ContentID), and that column contains the integer number 10.

Sign up to request clarification or add additional context in comments.

1 Comment

Dude! Snap! That's uncanny, that is.
5

No, it will simply return a record set with one record and one field. The field will be named ContentId and it will contain "10" (probably as an int)

2 Comments

Wow, maybe we're twins separated at birth? Almost exactly the same words.
Well my Mom - maysherestinpeace - spent a couple of years in New York, between 1948 and '53, maybe there's something she never told us . . . and we're both developers! This MUST be more than coincidence!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.