Out of interest why do you want to do this? What are you trying to by dropping all your constraints and then simply recreating them?
Constraints need to be dropped in a specific order too when dealing with keys. You can't drop a primary key until all of the foreign keys referencing it are dropped too, so you need to ensure any script you do create does things in the right order as well.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk