Skip to content

Commit 8ffb8b3

Browse files
Update sp_IndexCleanup.sql
1 parent c85e88b commit 8ffb8b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp_IndexCleanup/sp_IndexCleanup.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1735,7 +1735,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17351735
SELECT
17361736
1/0
17371737
FROM #filtered_objects AS fo
1738-
WHERE fo.database_id = @current_database_id
1738+
WHERE fo.database_id = @database_id
17391739
AND fo.object_id = t.object_id
17401740
)';
17411741

0 commit comments

Comments
 (0)