mysql company
CREATE TABLE company (
comp_code_id int(10) NOT NULL auto_increment ,
org_id char(10) ,
mfg_comp_code char(20) ,
mfg_comp_name char(50) ,
process_plant_code char(20) ,
process_plant_name char(50) ,
max_turnover_sum decimal(18, 2) ,
prod_capacity decimal(18, 2) ,
wh_cubage decimal(18, 2) ,
wh_acreage decimal(18, 2) ,
file_id char(20),
PRIMARY KEY (`comp_code_id`)
)ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE [company] (
[comp_code_id] [int] IDENTITY (1, 1) NOT NULL ,
[org_id] [varchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF__company__comp_co__68D28DBC] DEFAULT ('),
[mfg_comp_code] [varchar] (20) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF__company__mfg_com__69C6B1F5] DEFAULT ('),
[mfg_comp_name] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF__company__mfg_com__6ABAD62E] DEFAULT ('),
[process_plant_code] [varchar] (20) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF__company__process__6BAEFA67] DEFAULT ('),
[process_plant_name] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF__company__process__6CA31EA0] DEFAULT ('),
[max_turnover_sum] [numeric](18, 6) NOT NULL CONSTRAINT [DF__company__max_tur__6D9742D9] DEFAULT (0),
[prod_capacity] [numeric](18, 6) NOT NULL CONSTRAINT [DF__company__prod_ca__6E8B6712] DEFAULT (0),
[wh_cubage] [numeric](18, 6) NOT NULL CONSTRAINT [DF__company__wh_cuba__6F7F8B4B] DEFAULT (0),
[wh_acreage] [numeric](18, 6) NOT NULL CONSTRAINT [DF__company__wh_acre__7073AF84] DEFAULT (0),
[file_id] [varchar] (20) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_company_file_id] DEFAULT ('),
CONSTRAINT [PK_company_comp_code_id ] PRIMARY KEY CLUSTERED
(
[comp_code_id]
) ON [PRIMARY]
) ON [PRIMARY]
GO
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/93029/viewspace-1026204/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Change in Company Code Currency in SAP
- Kefa and Company Codeforces#321
- Cross-company stock transport orderROS
- Allowed OB52 based on company code
- Mysql update in報錯 [Err] 1093 - You can't specify target table 'company_info' for update in FROM clauseMySql
- Badass users are not fans of the company (圖靈訪談)圖靈
- Microsoft WHQL certified company To provide high quality WHQLcertification servicesROSIDE
- 《Fast Company》:21世紀最糟糕的20部手機AST
- MIGO error:Material control record missing in company codeGoError
- Fast Company:2019年25款最佳效率提升APPASTAPP
- FI-AA Transaction type 100 not possible (posting to affiliated company)
- Bain & Company:AI需求激增可能再次導致全球晶片短缺AI晶片
- Fast Company:2016年全球50大創新公司AST
- Fast Company:2019全球最具創新食品公司Top 10AST
- Timothy Arcuri of Cowen & Company:調查顯示從安卓投奔蘋果 中國比例最高安卓蘋果
- Repeat order for workover rig solids control equipment from Kuwait companySolidUIAI
- Drilling fluids recycling system for China Trenchless CompanyUI
- 《Rogue Company》:一款有趣易上手的跨平臺競技射擊遊戲遊戲
- Output type SPED trigger inbound delivery after PGI for inter-company STO's outb
- 採購單中Order Type&Purchase Org.&Company Code&Plant的關係
- CakeDC(cakephp company)Git workflow--適合於較大團隊大型專案開發PHPGit
- Caris & Company:2010年穀歌非搜尋業務營收將達20億美元營收
- Company Data Trees:多數網站並沒有針對手機端進行優化網站優化
- Needham&Company:2014年Q1 iPhone4s佔iPhone 銷量的25%iPhone
- Needham & Company:預計2011年蘋果iPad銷量可達3000萬臺蘋果iPad
- Caris&Company:預測2011年iPad佔平板電腦市場份額67%iPad
- 馬斯克確認出席上海世界人工智慧大會,並將啟動 The Boring Company 中國專案馬斯克人工智慧
- Using WebDAV with IIS -- http://www.windowsnetworking.com/ - Easy Company 的 .Net 開發部落格 - 部落格園WebHTTPWindows
- Needham & Company:2012年Q2蘋果在中國地區銷售額達79億美元蘋果
- Cowen&Company:預計2016年Airbnb預訂額將達到123億美元AI
- Company fillings:2012年蘋果利潤達400億美元 超過整個PC產業蘋果產業
- 7-5 jmu-Java-03物件導向-06-繼承覆蓋綜合練習-Person、Student、Employee、Company JAVAJava物件繼承
- 【Mysql】MySQL管理工具MySQL UtilitiesMySql
- MySQL - 初識MySQLMySql
- 【MySQL】MySQL基礎MySql
- 【MySQL】MySQL 5.7 初探MySql
- mysql 索引( mysql index )MySql索引Index
- 【MySQL】mysql optimize tableMySql