随笔分类 - Postgre数据库
摘要:| ALTER TABLE departments ALTER CONSTRAINT dept_mgr_fk DEFERRABLE INITIALLY DEFERRED; | | | | | | | | | | BEGIN; | | | INSERT INTO departments VALUES
阅读全文
摘要:PostgreSQL 四个快速脚本 运行01_create_table.sql创建示例表; | -- 部门信息表 | | | | | | | CREATE TABLE departments | | | ( department_id INTEGER NOT NULL -- 部门编号,主键 | |
阅读全文