Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata
SELECT EXISTS(
  SELECT 1
  FROM information_schema.columns
  WHERE table_schema = 'DB'
     and table_name='table'
     and column_key = 'PRI'
) As HasPrimaryKey;
  • No labels

1 Comment