example.sql

来自「关系型数据库 Postgresql 6.5.2」· SQL 代码 · 共 38 行

SQL
38
字号
--  Note the syntax is strict because i have no time to write better perl filter.----  [blank] is 1 blank --  at the end of an interesting line must be a [,]  or [--]--  [ending] must be a , or --  --  --  foreign[blank]key[blank]([blank]keyname,..,keyname[blank])[blank]references[blank]table[blank][ending] ----  step1.e < example.sql | step2.pl > foreign_key_triggers.sql--   --  step1.e is a simple program that UPPERCASE ALL . I know that is simple implementing in Perl--  bu i haven't timeCREATE TABLE gruppo(codice_gruppo  		int4 			NOT NULL,descrizione         	varchar(32)    		NOT NULLprimary key ( codice_gruppo ) ) ;---- fa_parte : Appartenenza di una Azienda Conatto o Cliente ad un certo GRUPPO--CREATE TABLE fa_parte (codice_gruppo   		int4	NOT NULL,codice_contatto         	int4   	NOT NULL,primary key ( codice_gruppo,codice_contatto ) ,foreign key ( codice_gruppo ) references gruppo --);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?