select * from sysobjects where xtype = 'PK' and parent_obj in (select id from sysobjects where name=表名 and xtype = 'U')