Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
テーブルを変更して日付列に追加するには、SQLクエリが必要です。これは、私が行う方法を知っている部分です。方法がわからないのは、列の日付が特定の日付より後にある必要があることを指定することです。
私の最近の試み:
ALTER TABLE <table name> ADD constraint <constraint name> CHECK (<column name>(date, 'YYYY-MM-DD') >= '2000-01-01');
私はpgadmin4を使用しています。