Is the “Script Unique Keys” option set to TRUE in your SSMS?
In SSMS, Tools -> Options will get you to the pop-up window shown below.

Is the “Script Unique Keys” option set to TRUE in your SSMS?
In SSMS, Tools -> Options will get you to the pop-up window shown below.
