プロジェクト

全般

プロフィール

統計
| リビジョン:

h-you / branches / ddl / 20170602_SQL.txt @ 332

履歴 | 表示 | アノテート | ダウンロード (1.01 KB)

1
DROP TABLE IF EXISTS PurchaseOrderDate;
2
-- ?????????t?f?[?^
3
CREATE TABLE PurchaseOrderDate
4
(
5
	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '?H???R?[?h',
6
	SeqNo decimal(3) unsigned NOT NULL COMMENT '???????}??',
7
	CompanyCode decimal(8,0) NOT NULL COMMENT '??????R?[?h',
8
	SendDate date NOT NULL COMMENT '???????X????',
9
	ReturnDate date NOT NULL COMMENT '???????????',
10
	ReturnCheckDate date NOT NULL COMMENT '??????????m?F??',
11
	EntryDate datetime NOT NULL COMMENT '?o?^???t',
12
	UpdateDate datetime NOT NULL COMMENT '?X?V???t',
13
	PRIMARY KEY (ConstructionCode, SeqNo)
14
) COMMENT = '?????????t?f?[?^';
15

    
16

    
17
DROP TABLE IF EXISTS RequestOrderDate;
18
-- ?????????t?f?[?^
19
CREATE TABLE RequestOrderDate
20
(
21
	ConstructionCode decimal(10,0) unsigned NOT NULL COMMENT '?H???R?[?h',
22
	InvoiceNo decimal(9,0) NOT NULL COMMENT '??????No',
23
	SendDate date NOT NULL COMMENT '???????????X????',
24
	EntryDate datetime NOT NULL COMMENT '?o?^???t',
25
	UpdateDate datetime NOT NULL COMMENT '?X?V???t'
26
) COMMENT = '?????????t?f?[?^';
27