See example...
create table #temp
( field1 nvarchar(146), field2 sysname, field3 nvarchar(64), field4 nvarchar(64),field5 nvarchar(64),field6 nvarchar(64),field7 nvarchar(2126))
insert into #temp ( field1 , field2 , field3 , field4 ,field5 ,field6 ,field7 )
exec sp_helpconstraint 'existingtable' ,'nomsg'
select * from #temp
Happy Coding!
:)