Ensure Table has only one row

Sometimes you have to create settings tables which only have one row. If you want to ensure table has only one row always and nobody can mess with it by deleting or inserting that row ,one way you can do it is to create triggers on the table to prevent deletes and inserts.