your right thanks
from
CREATE TABLE {databaseOwner}Tmp_{objectQualifier}table_item
(
ModuleID int NOT NULL,
itemid int NOT NULL IDENTITY (1, 1),
itemdescription varchar(2000) NULL
) ON [PRIMARY]
GO
SET IDENTITY_INSERT {databaseOwner}Tmp_{objectQualifier}table_item ON
GO
IF EXISTS(SELECT * FROM {databaseOwner}{objectQualifier}table_item)
EXEC('INSERT INTO {databaseOwner}Tmp_{objectQualifier}table_item (ModuleID, itemid, itemdescription)
SELECT ModuleID, itemid, itemdescription FROM {databaseOwner}{objectQualifier}table_item WITH (HOLDLOCK TABLOCKX)')
GO
SET IDENTITY_INSERT {databaseOwner}Tmp_{objectQualifier}table_item OFF
GO
DROP TABLE {databaseOwner}{objectQualifier}table_item
GO
EXECUTE sp_rename N'{databaseOwner}Tmp_{objectQualifier}table_item', N'{objectQualifier}table_item', 'OBJECT'
GO
to this
CREATE TABLE {databaseOwner}Tmp_{objectQualifier}table_item
(
ModuleID int NOT NULL,
itemid int NOT NULL IDENTITY (1, 1),
itemdescription varchar(2000) NULL
) ON [PRIMARY]
GO
SET IDENTITY_INSERT {databaseOwner}Tmp_{objectQualifier}table_item ON
IF EXISTS(SELECT * FROM {databaseOwner}{objectQualifier}table_item)
EXEC('INSERT INTO {databaseOwner}Tmp_{objectQualifier}table_item (ModuleID, itemid, itemdescription)
SELECT ModuleID, itemid, itemdescription FROM {databaseOwner}{objectQualifier}table_item WITH (HOLDLOCK TABLOCKX)')
SET IDENTITY_INSERT {databaseOwner}Tmp_{objectQualifier}table_item OFF
GO
DROP TABLE {databaseOwner}{objectQualifier}table_item
GO
EXECUTE sp_rename N'{databaseOwner}Tmp_{objectQualifier}table_item', N'{objectQualifier}table_item', 'OBJECT'
GO
now it's working fine thansk you
Regards
Soft