Does anyone have a script that could script all the FK constraints on a database?

Thanks!