[OBJECT_ID]) + ";" WENN i.type Und i.is_unique_constraint = 2 = 1 THEN 'ALTER TABLE' + @ dbname +.

Translate this to English?
[OBJECT_ID]) + ";" WHEN i.type And i.is_unique_constraint = 2 = 1 THEN 'ALTER TABLE' + @ dbName +.