I have created one table using below command:
create table Table1( Id int Not Null Foreign key references Table2(Id) on delet
You can find the name of the constraint in INFORMATION_SCHEMA.TABLE_CONSTRAINTS
INFORMATION_SCHEMA.TABLE_CONSTRAINTS
select CONSTRAINT_NAME from INFORMATION_SCHEMA.TABLE_CONSTRAINTS where TABLE_NAME = 'Table1'