SQL Server - TSQL Comment obtenir toutes les tables qui n’ont pas de clé primaire dans SQL Server ? By admin - 3 mai 2019 0 775 Share Facebook Twitter Google+ Pinterest WhatsApp SELECT name AS Table_Name FROM sys.tables WHERE OBJECTPROPERTY(OBJECT_ID,’TableHasPrimaryKey’) = 0 ORDER BY Table_Name;