I have the following stored procedure:
USE [master] IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID(N\'ChangeClientId\') AND type in (N\'P\',