Result Set For Delete Query. EXECUTE WITH RESULT SETS. Large result sets take memory on the client which may become a problem if many SSMS windows are active it is not unusual for me to have 2-3 instances of SSMS opened each with 50-70 active windows.
Did you know that the group by clause can also be used to remove duplicates. Set the value of a cell to null. Click the push pin beside the result set.
In the Show Table dialog box double-click each table from which you want to delete records and then click Close.
This method is heavily used in recent days for implementing auditing processes and building historic tables. A concurrency type of CONCUR_UPDATABLE enables you to update rows in the result set delete rows from the result set or insert rows into the result set. This is the simplest way to use the ROW_NUMBER function. Pin a result set so it is not overwritten by a subsequent query in the Editor or Query Builder.