Monday, April 15, 2019

The number following SELECT TOP in T-SQL doesn't have to be wrapped in parenthesis.

Both of these are legit.

  • SELECT TOP 20 * FROM ThisThing
  • SELECT TOP (20) * FROM ThisThing

No comments:

Post a Comment