Original: In SQL Server R2, in the right-click Pop-up menu of the variable table, select Top 1000 rows to select all rows
Starting with SQL Server 2008, Microsoft to improve query efficiency and other reasons, right-click on the table when the pop-up menu does not "show all Rows", and "select the first 1000 rows" instead. This can sometimes bring us some inconvenience.
To change the method: Open SQL Server Management Studio, tap the Tools menu, click Options, expand the SQL Server Object Explorer on the left, click Commands, and put the "select before <n>" in "Table and view Options" on the right. The number to the right of the line command is changed to 0. You can also change the corresponding numbers here according to your own needs. Such as:
In SQL Server R2, in the right-click Pop-up menu of the variable table, select Top 1000 rows to select all rows