The code in the article did not work for me, I had to rewrite the stored procedure, the below works
CREATE PROCEDURE
DropColumnConstraints
@TableName varchar(256),
@ColumnName varchar(256)
AS
BEGIN
declare @sql_value nvarchar(4000);
declare @obj_name varchar(256);
declare name_cursor...