I am new SQL user. I am trying to limit the number of rows pulled on SQL Server Management Studio using the following query.
SELECT [Column A]
FROM [DB].[Ordering In DB].[Table]
WHERE [Column B] = 30
LIMIT 3;
I get the following result.
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near 'LIMIT'
Can LIMIT
not be used in SQL Server Management Studio? In the end I only want to get to 3 or x number of rows. How do I do this?