Jaedsada.me
Example Me

Drop constraint by name in Postgresql


Select constraints

select * from information_schema.table_constraints;

Drop constraints

ALTER TABLE <my_table> DROP CONSTRAINT <constraint_name>

Ref: Drop constraint by name in Postgresql

อื่นๆ

  • Site Reliability Engineering ( SRE ) คืออะไร ?
  • HTTP และ HTTPS คือ อะไร
  • [บันทึกจาก Notes] 12 factor บัญญัติในการช่วยวางโครงสร้างระบบ
  • ความแตกต่างระหว่าง Forward proxy กับ Reverse proxy
  • DNS Server คืออิหยั่งวะ
  • สร้าง Telegram bot Message
  • ทำ VScode บน Browser ด้วย Coder-Server (Docker)
  • ทำความรู้จักการใช้ Node Version Manager (nvm)
  • ลองทำ Facebook Login ด้วย Facebook Oauth
  • Error saving credentials: error storing credentials in Ubuntu 18.04 LTS
  • Add restart policy to running container
  • Error: ENOSPC: System limit for number of file watchers reached
  • Drop constraint by name in Postgresql
  • ลองโดน Vite (vit)
  • ลองทำ LINE Login ด้วย LINE Oauth
  • ลองเล่น Cloudflare Pages
Back