第九章結構化查詢語言 SQL - 資料定義語言 (DDL) 資料庫系統設計理論李紹綸著
|
|
- Thomasine Flynn
- 5 years ago
- Views:
Transcription
1 第九章結構化查詢語言 SQL - 資料定義語言 (DDL) 資料庫系統設計理論李紹綸著
2 SQL 的資料定義語言 本章內容 建立資料表 修改資料表 刪除資料表 FOREIGN KEY 外鍵條件約束與資料表關聯性 2
3 資料定義語言可分為下列三種 : SQL 的資料定義語言 CREATE TABLE 指令 : 用來建立一個基底關聯表, 和設定關聯表相關的完整性限制 CREATE VIEW 指令 : 用來建立一個視界, 我們將在第十三章再來介紹 CREATE INDEX 指令 : 用來建立一個關聯表的索引, 我們將在第十四章再來介紹 3
4 公司 資料庫各個關聯表綱目 員工關聯表綱目 欄位名稱 資料型別 長度 允許 Null 屬性 身分證號碼 char 10 否 姓名 varchar 15 否 生日 datetime 是 員工電話關聯表綱目 欄位名稱 資料型別 長度 允許 Null 屬性 身分證號碼 char 10 否 電話 char 10 否 地址 varchar 30 是 薪水 decimal 是 預設值 :25000 整數位數:10 小數位數:0 直屬上司 char 10 是 工作部門 int 是 部門關聯表綱目 欄位名稱 資料型別 長度 允許 Null 屬性 部門代號 int 否 識別 : 是 識別值種子 :1 識別增值量:1 部門名稱 varchar 15 否 經理身分證號碼 char 10 是 到職日 datetime 是 計劃關聯表綱目 欄位名稱資料型別長度允許 Null 屬性 員工眷屬關聯表綱目 欄位名稱 資料型別 長度 允許 Null 屬性 身分證號碼 char 10 否 眷屬姓名 varchar 15 否 關係 char 10 是 參加關聯表綱目 欄位名稱資料型別長度允許 Null 屬性 計劃代號 int 否 識別 : 是 識別值種子 :1 識別增值量:1 計劃名稱 varchar 15 否 執行地點 char 10 是 委託單位 char 10 是 控制部門 int 是 身分證號碼 char 10 否 計劃代號 int 否 工作時數 int 是 4
5 公司 資料庫各個資料表 5
6 公司資料庫實體關係圖 6
7 建立資料表 CREATE TABLE 指令敘述格式如下 : CREATE TABLE [ database_name. [ schema_name ]. schema_name. ] table_name ( { <column_definition> <computed_column_definition> } [ <table_constraint> ] [,...n ] ) [ ON { partition_scheme_name ( partition_column_name ) filegroup "default" } ] [ { TEXTIMAGE_ON { filegroup "default" } ] <column_definition> ::= column_name <data_type> [ COLLATE collation_name ] [ NULL NOT NULL ] [ [ CONSTRAINT constraint_name ] DEFAULT constant_expression ] [ IDENTITY [ ( seed,increment ) ] [ NOT FOR REPLICATION ] ] [ ROWGUIDCOL ] [ <column_constraint> [...n ] ] <data type> ::= [ type_schema_name. ] type_name [ ( precision [, scale ] max [ { CONTENT DOCUMENT } ] xml_schema_collection ) ] 7
8 < table_constraint > ::= [ CONSTRAINT constraint_name ] { { PRIMARY KEY UNIQUE } [ CLUSTERED NONCLUSTERED ] (column [ ASC DESC ] [,...n ] ) [ WITH FILLFACTOR = fillfactor WITH ( <index_option> [,...n ] ) ] [ ON { partition_scheme_name (partition_column_name) filegroup "default" } ] FOREIGN KEY ( column [,...n ] ) REFERENCES referenced_table_name [ ( ref_column [,...n ] ) ] [ ON DELETE { NO ACTION CASCADE SET NULL SET DEFAULT } ] [ ON UPDATE { NO ACTION CASCADE SET NULL SET DEFAULT } ] [ NOT FOR REPLICATION ] CHECK [ NOT FOR REPLICATION ] ( logical_expression ) } <index_option> ::= { PAD_INDEX = { ON OFF } FILLFACTOR = fillfactor IGNORE_DUP_KEY = { ON OFF } STATISTICS_NORECOMPUTE = { ON OFF } ALLOW_ROW_LOCKS = { ON OFF} ALLOW_PAGE_LOCKS ={ ON OFF} } 建立資料表 8
9 <column_constraint> ::= [ CONSTRAINT constraint_name ] { { PRIMARY KEY UNIQUE } [ CLUSTERED NONCLUSTERED ] [ WITH FILLFACTOR = fillfactor WITH ( < index_option > [,...n ] ) ] [ ON { partition_scheme_name ( partition_column_name ) filegroup "default" } ] [ FOREIGN KEY ] REFERENCES [ schema_name. ] referenced_table_name [ ( ref_column ) ] [ ON DELETE { NO ACTION CASCADE SET NULL SET DEFAULT } ] [ ON UPDATE { NO ACTION CASCADE SET NULL SET DEFAULT } ] [ NOT FOR REPLICATION ] CHECK [ NOT FOR REPLICATION ] ( logical_expression ) } 建立資料表 <computed_column_definition> ::= column_name AS computed_column_expression [ PERSISTED [ NOT NULL ] ] [ [ CONSTRAINT constraint_name ] { PRIMARY KEY UNIQUE } [ CLUSTERED NONCLUSTERED ] [ WITH FILLFACTOR = fillfactor WITH ( <index_option> [,...n ] ) ] [ FOREIGN KEY ] REFERENCES referenced_table_name [ ( ref_column ) ] [ ON DELETE { NO ACTION CASCADE } ] [ ON UPDATE { NO ACTION } ] [ NOT FOR REPLICATION ] CHECK [ NOT FOR REPLICATION ] ( logical_expression ) [ ON { partition_scheme_name ( partition_column_name ) filegroup "default" } ] ] 9
10 範例 9.1 請在 公司 資料庫中建立一個名為 員工 的資料表 10
11 修改資料表 ALTER TABLE 指令敘述格式如下 : ALTER TABLE [ database_name. [ schema_name ]. schema_name. ] table_name { ALTER COLUMN column_name { [ type_schema_name. ] type_name [ ( { precision [, scale ] max xml_schema_collection } ) ] [ NULL NOT NULL ] [ COLLATE collation_name ] {ADD DROP } { ROWGUIDCOL PERSISTED } } [ WITH { CHECK NOCHECK } ] ADD { <column_definition> <computed_column_definition> <table_constraint> } [,...n ] DROP { [ CONSTRAINT ] constraint_name [ WITH ( <drop_clustered_constraint_option> [,...n ] ) ] COLUMN column_name } [,...n ] [ WITH { CHECK NOCHECK } ] { CHECK NOCHECK } CONSTRAINT { ALL constraint_name [,...n ] } { ENABLE DISABLE } TRIGGER { ALL trigger_name [,...n ] } SWITCH [ PARTITION source_partition_number_expression ] TO [ schema_name. ] target_table [ PARTITION target_partition_number_expression ] } 11
12 <column_definition> ::= column_name [ type_schema_name. ] type_name [ ( { precision [, scale ] max [ { CONTENT DOCUMENT } ] xml_schema_collection } ) ] [ [ CONSTRAINT constraint_name ] DEFAULT constant_expression [ WITH VALUES ] IDENTITY [ (seed, increment ) ] [ NOT FOR REPLICATION ] ] [ ROWGUIDCOL ] [ COLLATE < collation_name > ] [ <column_constraint> [...n ] ] <column_constraint> ::= [ CONSTRAINT constraint_name ] { [ NULL NOT NULL ] { PRIMARY KEY UNIQUE } [ CLUSTERED NONCLUSTERED ] [ WITH FILLFACTOR =fillfactor ] [ WITH ( <index_option> [,...n ] ) ] [ ON { partition_scheme_name (partition_column_name) filegroup "default" } ] [ FOREIGN KEY ] REFERENCES [ schema_name. ] referenced_table_name [ ( ref_column ) ] [ ON DELETE { NO ACTION CASCADE SET NULL SET DEFAULT } ] [ ON UPDATE { NO ACTION CASCADE SET NULL SET DEFAULT } ] [ NOT FOR REPLICATION ] CHECK [ NOT FOR REPLICATION ] DEFAULT constant_expression [ WITH VALUES ] ( logical_expression ) } 修改資料表 12
13 <computed_column_definition> ::= column_name AS computed_column_expression [ PERSISTED [ NOT NULL ] ] [ [ CONSTRAINT constraint_name ] { PRIMARY KEY UNIQUE } [ CLUSTERED NONCLUSTERED ] [ WITH FILLFACTOR = fillfactor ] [ WITH ( <index_option> [,...n ] ) ] [ ON { partition_scheme_name ( partition_column_name ) filegroup "default" } ] [ FOREIGN KEY ] REFERENCES ref_table [ ( ref_column ) ] [ ON DELETE { NO ACTION CASCADE } ] [ ON UPDATE { NO ACTION } ] [ NOT FOR REPLICATION ] CHECK [ NOT FOR REPLICATION ] ( logical_expression ) ] 修改資料表 <table_constraint> ::= [ CONSTRAINT constraint_name ] { { PRIMARY KEY UNIQUE } [ CLUSTERED NONCLUSTERED ] (column [ ASC DESC ] [,...n ] ) [ WITH FILLFACTOR = fillfactor [ WITH ( <index_option>[,...n ] ) ] [ ON { partition_scheme_name ( partition_column_name... ) filegroup "default" } ] FOREIGN KEY ( column [,...n ] ) REFERENCES referenced_table_name [ ( ref_column [,...n ] ) ] [ ON DELETE { NO ACTION CASCADE SET NULL SET DEFAULT } ] [ ON UPDATE { NO ACTION CASCADE SET NULL SET DEFAULT } ] [ NOT FOR REPLICATION ] DEFAULT constant_expression FOR column [ WITH VALUES ] CHECK [ NOT FOR REPLICATION ] ( logical_expression ) } 13
14 < index_option > ::= { PAD_INDEX = { ON OFF } FILLFACTOR = fillfactor IGNORE_DUP_KEY = { ON OFF } STATISTICS_NORECOMPUTE = { ON OFF } ALLOW_ROW_LOCKS= { ON OFF } ALLOW_PAGE_LOCKS={ ON OFF } SORT_IN_TEMPDB = { ON OFF } ONLINE = { ON OFF } MAXDOP = max_degree_of_parallelism } 修改資料表 <drop_clustered_constraint_option > ::= { MAXDOP = max_degree_of_parallelism ONLINE = {ON OFF } MOVE TO { partition_scheme_name ( column_name ) filegroup "default"} } 14
15 範例 9.2 請在 公司 資料庫中修改 員工 資料表, 增加一個 年齡 欄位, 並將資料型別設為 INT 和允許虛值 15
16 範例 9.3 請在 公司 資料庫中修改 員工 資料表, 變更一個 年齡 資料表欄位的資料型別, 將其資料類型由 INT 改為 DECIMAL(3,0) 16
17 範例 9.4 請在 公司 資料庫中修改 員工 資料表, 刪除一個 年齡 欄位 17
18 範例 9.5 請在 公司 資料庫中修改 員工 資料表, 將 身分證號碼 欄位設定為主鍵 18
19 範例 9.6 請在 公司 資料庫中修改 員工 資料表, 將 身分證號碼 欄位取消設定為主鍵 19
20 範例 9.7 請在 公司 資料庫中修改 員工 資料表, 將 姓名 欄位設定為次選鍵 20
21 範例 9.8 請在 公司 資料庫中修改 員工 資料表, 刪除 姓名 欄位 UNIQUE 次選鍵條件約束 21
22 範例 9.9 請在 公司 資料庫中修改 員工 資料表, 加入一檢查條件約束將 薪水 欄位屬性值限制在 元和 元範圍之間 22
23 範例 9.10 請在 公司 資料庫中修改 員工 資料表, 刪除 薪水 欄位檢查條件約束 23
24 刪除資料表 DROP TABLE 指令敘述格式如下 : DROP TABLE [ database_name. [ schema_name ]. schema_name. ] table_name [,...n ] [ ; ] 24
25 範例 9.11 請在 公司 資料庫中刪除一個名為 員工 的資料表 25
26 建立 公司 資料庫各個資料表的 SQL 指令敘述 26
27 建立 公司 資料庫各個資料表外鍵關聯性的 SQL 指令敘述 27
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Chapter Six: Transforming Data Models into Database Designs 6-1 Chapter Objectives To understand how to transform
More information一般來說, 安裝 Ubuntu 到 USB 上, 不外乎兩種方式 : 1) 將電腦上的硬碟排線先予以排除, 將 USB 隨身碟插入主機, 以一般光碟安裝方式, 將 Ubuntu 安裝到 USB
Ubuntu 是新一代的 Linux 作業系統, 最重要的是, 它完全免費, 不光是作業系統, 連用軟體都不必錢 為什麼要裝在 USB 隨身碟上? 因為, 你可以把所有的軟體帶著走, 不必在每一台電腦上重新來一次, 不必每一套軟體裝在每一台電腦上都要再一次合法授權 以下安裝方式寫的是安裝完整的 Ubuntu- 企業雲端版本 V. 11.10 的安裝過程, 若是要安裝 Desktop 版本, 由於牽涉到
More informationRENESAS BLE 實作課程 Jack Chen Victron Technology CO., LTD 2015 Renesas Electronics Corporation. All rights reserved.
RENESAS BLE 實作課程 2016-01-21 Jack Chen Jack.chen@victron.com.tw Victron Technology CO., LTD AGENDA CS+ & Renesas Flash Programmer 安裝 3 Renesas Flash Programmer 燒錄介紹 6 CS+ 介面介紹 11 CS+ 開啟 Project & 使用教學 14
More informationSSL VPN User Manual (SSL VPN 連線使用手冊 )
SSL VPN User Manual (SSL VPN 連線使用手冊 ) 目錄 前言 (Preface) 1. ACMICPC 2018 VPN 連線說明 -- Pulse Secure for Windows ( 中文版 ):... 2 2. ACMICPC 2018 VPN 連線說明 -- Pulse Secure for Linux ( 中文版 )... 7 3. ACMICPC 2018
More information港專單一登入系統 (SSO) 讓本校的同學, 全日制及兼職老師只要一個登入帳戶, 便可同時使用由本校提供的網上系統及服務, 包括 Blackboard 網上學習平台, 港專電郵服務, 圖書館電子資料庫及其他教學行政系統.
港專單一登入系統 (SSO) 讓本校的同學, 全日制及兼職老師只要一個登入帳戶, 便可同時使用由本校提供的網上系統及服務, 包括 Blackboard 網上學習平台, 港專電郵服務, 圖書館電子資料庫及其他教學行政系統. 港專單一登入網站網址 http://portal.hkct.edu.hk (HKCT 之教職員, 學生 ) http://portal.ctihe.edu.hk (CTIHE 之教職員,
More information桌上電腦及筆記本電腦安裝 Acrobat Reader 應用程式
On a desktop or notebook computer Installing Acrobat Reader to read the course materials The Course Guide, study units and other course materials are provided in PDF format, but to read them you need a
More informationPC Link Mode. Terminate PC Link? Esc. [GO]/[Esc] - - [GO]/[Esc] 轉接座未放滿. Make auto accord with socket mounted? [GO]/[Esc] Copy to SSD E0000
Start SU-6808 EMMC Programmer V.0bd7 [ ]Link PC / [ ]Menu [ ] >.Select project.make new project.engineer mode.reset counter 5.Link to PC [ ] PC disconnected PC connected Select project SEM0G9C_A.prj Terminate
More information全面強化電路設計與模擬驗證. Addi Lin / Graser 2 / Sep / 2016
全面強化電路設計與模擬驗證 Addi Lin / Graser 2 / Sep / 2016 Agenda OrCAD Design Solution OrCAD Capture 功能應用 OrCAD Capture CIS 介紹 OrCAD PSpice 模擬與驗證 OrCAD Design Solution Powerful and Widely Used Design Solution Front-to-Back
More informationTwin API Guide. How to use Twin
Twin API Guide How to use Twin 1 目錄 一 Cycle Job------------------------------------------------------------------------------------P3 二 Twin Action Table-----------------------------------------------------------------------P4-5
More informationJAVA Programming Language Homework V: Overall Review
JAVA Programming Language Homework V: Overall Review ID: Name: 1. Given the following Java code: [5 points] 1. public class SimpleCalc { 2. public int value; 3. public void calculate(){ value = value +
More informationCLAD 考前準備 與 LabVIEW 小技巧
CLAD 考前準備 與 LabVIEW 小技巧 NI 技術行銷工程師 柯璟銘 (Jimmy Ko) jimmy.ko@ni.com LabVIEW 認證 Certified LabVIEW Associate Developer (LabVIEW 基礎認證 ) Certified LabVIEW Associate Developer LabVIEW 全球認證 40 題 (37 題單選,3 題複選
More informationOxford isolution. 下載及安裝指南 Download and Installation Guide
Oxford isolution 下載及安裝指南 Download and Installation Guide 系統要求 個人電腦 Microsoft Windows 10 (Mobile 除外 ) Microsoft Windows 8 (RT 除外 ) 或 Microsoft Windows 7 (SP1 或更新版本 ) ( 網上下載 : http://eresources.oupchina.com.hk/oxfordisolution/download/index.html)
More information2009 OB Workshop: Structural Equation Modeling. Changya Hu, Ph.D. NCCU 2009/07/ /07/03
Amos Introduction 2009 OB Workshop: Structural Equation Modeling Changya Hu, Ph.D. NCCU 2009/07/02- 2 Contents Amos Basic Functions Observed Variable Path Analysis Confirmatory Factor Analysis Full Model
More information外薦交換生線上申請系統操作說明 Instruction on Exchange Student Online Application System. [ 中文版 ] [English Version]
外薦交換生線上申請系統操作說明 Instruction on Exchange Student Online Application System [ 中文版 ] [English Version] 線上申請流程說明 申請系統網址 : http://schwebap.nccu.edu.tw/zeweb/exgstdapply/ 1. 建立新帳號 : 請輸入姓名 生日 email 做為未來登入系統用
More information49 <script type="text/javascript"> 50 var gcid=0,sex=false,birthday=kendo.tostring(new Date(),"yyyy/MM/dd"); 51 $(function(){ 52
d:\websites\stsite\studentmanage.aspx 1 1 2 3 4 5
More information購票流程說明 How To purchase The Ticket?
購票流程說明 How To purchase The Ticket? 步驟 1: 點選 登入 Click 登入 Login (You have to login before purchasing.) 步驟 2: 若已是會員請填寫會員帳號 密碼, 點選 登入 若非會員請點選 註冊 If you are the member of PB+, Please login. If not, please register.
More information微處理機系統 吳俊興高雄大學資訊工程學系. February 21, What are microprocessors (µp)? What are the topics of this course? Why to take this course?
微處理機系統 吳俊興高雄大學資訊工程學系 February 21, 2005 processor, central processing unit (CPU) A silicon chip which forms the core of a microcomputer The heart of the microprocessor-based computer system Concept of what
More informationChapter 4 (Part IV) The Processor: Datapath and Control (Parallelism and ILP)
Chapter 4 (Part IV) The Processor: Datapath and Control (Parallelism and ILP) 陳瑞奇 (J.C. Chen) 亞洲大學資訊工程學系 Adapted from class notes by Prof. M.J. Irwin, PSU and Prof. D. Patterson, UCB 4.10 Instruction-Level
More informationVersion Control with Subversion
Version Control with Subversion 指導教授郭忠義 邱茂森 95598051 1 Table of contents (1) Basic concepts of subversion (1)What is Subversion (2)Version Control System (3)Branching and tagging (4) Repository and Working
More informationPreamble Ethernet packet Data FCS
Preamble Ethernet. packet Data FCS Destination Address Source Address EtherType Data ::: Preamble. bytes. Destination Address. bytes. The address(es) are specified for a unicast, multicast (subgroup),
More information購票流程說明 How To purchase The Ticket?
購票流程說明 How To purchase The Ticket? 步驟 1: 已是會員請點選 登入, 選擇 2016 WTA 臺灣公開賽 Taiwan Open tickets Step1:If You are the member, please Click 登入 Click to the column: 2016 WTA 臺灣公開賽 Taiwan Open tickets Click 登入
More informationThe notice regarding Participation Ways of our global distributor video conference on Feb. 5.
The notice regarding Participation Ways of our global distributor video conference on Feb. 5. On Feb.5, 2010 Los Angeles time, between 5:00 PM - 7:00 PM, we will convene an important global distributor
More informationFrame Relay 訊框中繼 FRSW S0/0 S0/1
Frame Relay 訊框中繼 將路由器設定為訊框中繼交換器以進行 frame relay 實驗 : 首先練習設定兩個埠的 frame relay switch FRSW S0/0 S0/1 介面 S0/0 介面 S0/1 102 201 DLI 102 DLI 201 Router(config)# hostname FRSW FRSW(config)# frame-relay switching
More informationVB 拼圖應用 圖形式按鈕屬性 資科系 林偉川
VB 拼圖應用 資科系 林偉川 圖形式按鈕屬性 Style 屬性 0 ( 標準外觀 ),1( 圖片外觀 ) Picture 屬性 圖形檔案 (VB6) image 屬性 圖形檔案 (VB.NET) Left=Top=0 Width=2052,Height=2052 共有九張圖 1.jpg 9.jpg Form1 執行時視窗為最大化 Windowstate 設為 2 2 1 執行結果 3 path$
More informationChapter 7. Digital Arithmetic and Arithmetic Circuits. Signed/Unsigned Binary Numbers
Chapter 7 Digital Arithmetic and Arithmetic Circuits Signed/Unsigned Binary Numbers Signed Binary Number: A binary number of fixed length whose sign (+/ ) is represented by one bit (usually MSB) and its
More information描述性資料採礦 Descriptive Data Mining
描述性資料採礦 Descriptive Data Mining 李御璽 (Yue-Shi Lee) 銘傳大學資訊工程學系 leeys@mail.mcu.edu.tw Agenda Cluster Analysis ( 集群分析 ) 找出資料間的內部結構 Association Rules ( 關聯規則 ) 找出那些事件常常一起出現 Sequence Clustering ( 時序群集 ) Clustering
More informationEZCast Docking Station
EZCast Docking Station Quick Start Guide Rev. 2.00 Introduction Thanks for choosing EZCast! The EZCast Docking Station contains the cutting-edge EZCast technology, and firmware upgrade will be provided
More informationEZCast Wire User s Manual
EZCast Wire User s Manual Rev. 2.01 Introduction Thanks for choosing EZCast! The EZCast Wire contains the cutting-edge EZCast technology, and firmware upgrade will be provided accordingly in order to compatible
More informationEZCast Wire. User s Manual. Rev. 2.00
EZCast Wire User s Manual Rev. 2.00 Introduction Thanks for choosing EZCast! The EZCast Wire contains the cutting-edge EZCast technology, and firmware upgrade will be provided accordingly in order to compatible
More information步驟 1: 首頁以 facebook 或 google 帳號登入, 並點選節目 Step 1:Log in with your facebook/google account, then click the show banner.
步驟 1: 首頁以 facebook 或 google 帳號登入, 並點選節目 Step 1:Log in with your facebook/google account, then click the show banner. 步驟 2: 填寫會員資料 Step 2:Fill out the membership form. Name ID No. Male/female Foreigner
More informationFigure 1 Microsoft Visio
Pattern-Oriented Software Design (Fall 2013) Homework #1 (Due: 09/25/2013) 1. Introduction Entity relation (ER) diagrams are graphical representations of data models of relation databases. In the Unified
More information// 範例 4-1: 連結資料庫 (connectdb.php) <?php mysql_connect("localhost", "student", "Asia2013"); mysql_select_db("student");?>
// 範例 4-1: 連結資料庫 (connectdb.php) mysql_connect("localhost", "student", "Asia2013"); mysql_select_db("student"); // 範例 4-2: 以 PHP 建立資料表 (gbcreate.php) $aa=" create table gb ( gbprikey integer auto_increment
More informationWhat is a Better Program?
軟體的特性 What is a Better Program? 軟體之所謂軟 因為沒有 硬性 不可變 不可挑戰的規則 好處 : 彈性很大, 山不轉路轉, 沒有標準答案, 正常運作就好 C++ Object Oriented Programming 壞處 : 很多小問題合在一起不斷放大, 到處藏污納垢, 沒有標準答案, 不知道到底對了沒有 解決方法 Pei-yih Ting Coding styles
More informationCommon Commands in Low-Level File I/O
Common Commands in Low-Level File I/O feof(fid), which refers to end-of-file, returns 1 if a previous operation set the end-of-file indicator for the specified file. tline = fgetl(fid) returns the next
More informationUNIX Basics + shell commands. Michael Tsai 2017/03/06
UNIX Basics + shell commands Michael Tsai 2017/03/06 Reading: http://www.faqs.org/docs/artu/ch02s01.html Where UNIX started Ken Thompson & Dennis Ritchie Multics OS project (1960s) @ Bell Labs UNIX on
More informationJava 程式設計基礎班 (7) 劉根豪台大電機所網路資料庫研究室. Java I/O. Class 7 1. Class 7
Java 程式設計基礎班 (7) 劉根豪台大電機所網路資料庫研究室 Email: kenliu@arbor.ee.ntu.edu.tw 1 回顧 Java I/O 2 1 Java Data Structure 動態資料結構 執行的時候可以動態變大或縮小 類型 Linked lists Stacks Queues Binary trees 3 自我參考類別 (self-referential classes)
More information游家德 Jade Freeman 群智信息 / 敦群數位資深架構顧問
游家德 Jade Freeman 群智信息 / 敦群數位資深架構顧問 搜尋對企業的需求方案關係 微軟全面性的搜尋方案及應用價值 Enterprise Search 的基本架構 Microsoft Search Solution 物件模型與客製開發 Microsoft Search Solution 應用與案例 Q&A 每人每天會花 10 分鐘在找企業所需文件, 且還可能找不到! 整合的資料大都雜亂無章,
More information4Affirma Analog Artist Design Flow
4Affirma Analog Artist Design Flow Getting Started 1. 登入工作站 : Username : trainaxx Password : train0xx 其中 XX 代表工作站名字的號碼, 例如工作站名字叫做 traina01 的話,XX 就是 01 2. 先確定是否進入 Solaris 作業系統的 Common Desktop Environment(CDE)
More informationChapter 7. Signed/Unsigned Binary Numbers. Digital Arithmetic and Arithmetic Circuits. Unsigned Binary Arithmetic. Basic Rules (Unsigned)
Chapter 7 Digital rithmetic and rithmetic Circuits igned/unsigned inary Numbers igned inary Number: binary number of fixed length whose sign (+/ ) is represented by one bit (usually M) and its magnitude
More informationC A R I T A S M E D I C A L C E N T R E 明愛醫院 Rev. (A) (B) (C) (D) D A T A A C C E S S R E Q U E S T ( D A R ) 查閱資料要求申請須知
C A R I T A S M E D I C A L C E N T R E 明愛醫院 Rev. D A T A A C C E S S R E Q U E S T ( D A R ) 查閱資料要求申請須知 18 June 2017 (A) (B) (C) Under normal circumstances, the requested personal data will be sent to
More information虛擬機 - 惡意程式攻防的新戰場. 講師簡介王大寶, 小時候大家叫他王小寶, 長大後就稱王大寶, 目前隸屬一神祕單位. 雖然佯稱興趣在看書與聽音樂, 但是其實晚上都在打 Game. 長期於系統最底層打滾, 熟悉 ASM,C/C++,
王大寶, PK 虛擬機 - 惡意程式攻防的新戰場 講師簡介王大寶, 小時候大家叫他王小寶, 長大後就稱王大寶, 目前隸屬一神祕單位. 雖然佯稱興趣在看書與聽音樂, 但是其實晚上都在打 Game. 長期於系統最底層打滾, 熟悉 ASM,C/C++, 對於資安毫無任何興趣, 也無經驗, 純粹是被某壞人騙上台, 可以說是不可多得的素人講師!! 議程大綱 : 現今的 CPU 都支援虛擬化專用指令集, 讓 VM
More informationChapter 2 (Part 2) Instructions: Language of the Computer
Chapter 2 (Part 2) Instructions: Language of the Computer 陳瑞奇 (J.C. Chen) 亞洲大學資訊工程學系 Adapted from class notes by Prof. C.T. King, NTHU, Prof. M.J. Irwin, PSU and Prof. D. Patterson, UCB 1 2.6 Logical Operations
More informationInvitation to Computer Science 5 th Edition. Chapter 8 Information Security
Invitation to Computer Science 5 th Edition Chapter 8 Information Security CIA Triad of Information Security Ensuring that data can be modified only by appropriate mechanisms Ensuring that data is protected
More informationC B A B B C C C C A B B A B C D A D D A A B D C C D D A B D A D C D B D A C A B
高雄市立右昌國中 106 學年度第二學期第二次段考三年級考科答案 國文科 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. C B D C A C B A D B 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. D C B A D C A B D B 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. C B D C B B C
More information場次 : C3. 公司名稱 : Radware. 主題 : ADC & Security for SDDC. 主講人 : Sam Lin ( 職稱 ) 總經理
場次 : C3 公司名稱 : Radware 主題 : ADC & Security for SDDC 主講人 : Sam Lin ( 職稱 ) 總經理 L4-L7 ADC (appliance or NFV) and Security service (appliance or NFV ) for (Software Define) Data Center Sam Lin Radware Taiwan
More informationCitrix CloudGateway. aggregate control. all apps and data to any device, anywhere
Citrix CloudGateway aggregate control all apps and data to any device, anywhere Agenda 1. What s Cloud Gateway? 2. Cloud Gateway Overview 3. How it works? What s Cloud Gateway? It s all about the apps
More informationChapter 7 Pointers ( 指標 )
Chapter Pointers ( 指標 ) Outline.1 Introduction.2 Pointer Variable Definitions and Initialization.3 Pointer Operators.4 Calling Functions by Reference.5 Using the const Qualifier with Pointers.6 Bubble
More informationUAK1-C01 USB Interface Data Encryption Lock USB 資料加密鎖. Specifications for Approval
Product Definition C-MING Product Semi-finished Product OEM/ODM Product Component USB Interface Data Encryption Lock USB 資料加密鎖 Specifications for Approval Approval Manager Issued By Revision History Revision
More information使用 TensorFlow 設計矩陣乘法計算並轉移執行在 Android 上 建國科技大學資管系 饒瑞佶 2017/8
使用 TensorFlow 設計矩陣乘法計算並轉移執行在 Android 上 建國科技大學資管系 饒瑞佶 2017/8 Python 設計 Model import tensorflow as tf from tensorflow.python.tools import freeze_graph from tensorflow.python.tools import optimize_for_inference_lib
More information報告人 / 主持人 : 林寶樹 Colleges of Computer Science & ECE National Chiao Tung University
行動寬頻尖端技術跨校教學聯盟 - 行動寬頻網路與應用 MiIoT ( Mobile intelligent Internet of Things) 報告人 / 主持人 : 林寶樹 Colleges of Computer Science & ECE National Chiao Tung University Aug 14, 2015 課程簡介 課程綱要 實作平台評估 2 背景說明 目前雲端與行動寬頻緊密結合,
More informationDigital imaging & free fall of immersed sphere with wall effects
量測原理與機工實驗 ( 下 ) 熱流實驗 ( 一 ) Digital imaging & free fall of immersed sphere with wall effects May 14-18, 2012 Objective: This week s lab work has two parts: (1) how to record digital video and convert it
More informationIncrease Productivity and Quality by New Layout Flow
Increase Productivity and Quality by New Layout Flow Jonathan / Graser 16 / Oct / 2015 Design Process Introduction CONSTRAINTS PLACEMENT FANOUT BREAKOUT ROUTING DELAY (ATE) NET-GROUP Topology & Delay Physical
More information微算機原理與實驗 Principle of Microcomputer(UEE 2301/1071 )
微算機原理與實驗 (UEE 2301/1071 ) Chap 6. MCS-51 Instruction sets 宋開泰 Office:EE709 Phone:5731865( 校內分機 :31865) E-mail:ktsong@mail.nctu.edu.tw URL:http://isci.cn.nctu.edu.tw 1 Lab#3 5 x 7 單色點矩陣 LED(Dot Matrix)
More informationSeagate Backup Plus Hub User Manual
Seagate Backup Plus Hub User Manual Model: Click here to access an up-to-date online version of this document. You will also find the most recent content as well as expandable illustrations, easier navigation,
More informationBTC, EMPREX Wireless Keybaord +Mouse + USB dongle. 6309URF III Quick Installation Guide
BTC, EMPREX 6309URF III Quick Installation Guide Hardware Installation 1. Plug the dongle receiver connector into your available USB port on PC. 2. Make sure the batteries of the keyboard and mouse are
More information香港中文大學學生會計算機科學系會 圖書清單
香港中文大學學生會計算機科學系會 圖書清單 100 Theory 120 CGI 140 Visual Basic 160 Other Programming Book 101 Program budgeting and benefit-cost analysis 102 Introduction to Algorithms 103 Introduction to Algorithms 104 Data
More informationThomson Innovation Training
Thomson Innovation Training NTHU Renee Guan Customer Relationship Manager Tina Chao SOLUTION CONSULTANT April 30, 2015 THOMSON REUTERS TODAY LARGEST PROVIDER OF INTELLIGENT INFORMATION Thomson Reuters
More informationOperating Systems 作業系統
Chapter 7 Operating Systems 作業系統 7.1 Source: Foundations of Computer Science Cengage Learning Objectives 學習目標 After studying this chapter, students should be able to: 7.2 Understand the role of the operating
More informationJava 程式設計基礎班 (7) 莊坤達台大電信所網路資料庫研究室. Java I/O. Class 7 1. Class 7 2
Java 程式設計基礎班 (7) 莊坤達台大電信所網路資料庫研究室 Email: doug@arbor.ee.ntu.edu.tw Class 7 1 回顧 Java I/O Class 7 2 Java Data Structure 動態資料結構 Grow and shrink at execution time Several types Linked lists Stacks Queues Binary
More informationScale of Fees (Applicable from 18 June 2017) Data Access Request consists of (i) Data Enquiry Request and (ii) Copy of Personal Medical Records
Grantham Hospital Health Information & Records Office G/F, Main Block, 125 Wong Chuk Hang Road, Aberdeen, Hong Kong Tel.: 2518 2203 Fax: 2555 7319 Opening hours: Monday - Friday: 9 a.m. to 1 p.m. and 2:00
More informationICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容
Content 内容 A1 A2 A3 A4 A5 A6 A7 A8 A9 Login via ICTI CARE Website 通过 ICTI 关爱网站登录 Completing the Application Form 填写申请表 Application Form Created 创建的申请表 Receive Acknowledgement Email 接收确认电子邮件 Receive User
More informationJava 程式設計入門. 講師 : 陳昭源 CSIE, NTU September 28, 2005
Java 程式設計入門 講師 : 陳昭源 CSIE, NTU September 28, 2005 Outline Floating Point & Decimal Numbers Inheritance Polymorphism Design Principles Abstract Exercise Interface September 28, 2005 Page 2 Floating Point
More informationAndroid + TIBBO + Socket 建國科技大學資管系 饒瑞佶
Android + TIBBO + Socket 建國科技大學資管系 饒瑞佶 Socket Socket 開始前 TIBBO 需要設定 Socket on_sock_data_arrival() ' 接收外界來的 SOCKET 資訊 sub on_sock_data_arrival() Dim command_data as string ' 完整控制命令 command_data = "" ' 初始化控制命令
More informationDepartment of Computer Science and Engineering National Sun Yat-sen University Data Structures - Final Exam., Jan. 9, 2017
Department of Computer Science and Engineering National Sun Yat-sen University Data Structures - Final Exam., Jan. 9, 2017 1. Multiple choices (There may be zero or more correct answers. If there is no
More information私有雲公有雲的聯合出擊 領先的運算, 儲存與網路虛擬化技術 靈活的計費模式與經濟性 支援廣大的商業應用場景 涵蓋各類型雲服務 類標準的企業資料中心架構 全球規模與快速部署. 聯合設計的解決方案可為客戶提供最佳的 VMware 和 AWS
私有雲公有雲的聯合出擊 領先的運算, 儲存與網路虛擬化技術 支援廣大的商業應用場景 類標準的企業資料中心架構 靈活的計費模式與經濟性 涵蓋各類型雲服務 全球規模與快速部署 聯合設計的解決方案可為客戶提供最佳的 VMware 和 AWS VMware Cloud on AWS 使用場景 A B C D 雲端遷移資料中心延伸災難備援次世代應用程式 Consolidate Migrate Maintain
More informationInTANK ir2771-s3 ir2772-s3. User Manual
InTANK ir2771-s3 ir2772-s3 User Manual » InTANK...1» InTANK ir2771-s3 & ir2772-s3 產品使用說明... 10 V1.1 Introduction Thank you for purchasing RAIDON products. This manual will introduce the InTANK ir2771-s3
More informationPort GCC to a new architecture Case study: nds32
HelloGCC 2013 Port GCC to a new architecture Case study: nds32 2013.11.16 Chung-Ju Wu ( 吳中如 ) www.andestech.com WWW.ANDESTECH.COM Overview of Andes Technology Corporate Highlights Founded in 2005 in Hsinchu
More informationInformation is EVERYTHING 微軟企業混和雲解決方案. November 24, Spenser Lin. Cloud Infra Solution Sales, Microsoft Taiwan
Information is EVERYTHING 微軟企業混和雲解決方案 November 24, 2016 Spenser Lin Cloud Infra Solution Sales, Microsoft Taiwan Value to business Applications and services drive future IT business value Efficiency Innovation
More informationOWASP AppSec Asia 2008, Taiwan Penetration Test with BackTrack Art of Exploitation
OWASP AppSec Asia 2008, Taiwan Penetration Test with BackTrack Art of Exploitation OWASP 27 Oct 2008 (Monday) Anthony Lai 賴灼東 (Dark Floyd) Chapter Leader OWASP (Hong Kong Chapter) anthonylai@owasp.org
More informationAllegro SPB V16 Advance
Allegro SPB V16 Advance Allegro SPB 16.2 Advance Import Logic Back Annotate Netlist Compare Advanced Placement Constraint Management Differential Pair Import Logic Other Cadence Import Logic Other 利用 Other
More informationChapter 4. Channel Coding and Error Control
Chapter 4 Channel Coding and Error Control Adapted from class notes by Prof. Leszek T. Lilien, CS, Western Michigan University and Prof. Dharma P. Agrawal & Qing-An Zeng, University of Cincinnati Most
More informationPassword Protection 此篇文章說明如何在程式中加入密碼保護的機制, 當程式開啟, 使用者必須先輸入使用者帳號及密碼, 若是合法使用者才能進入應用程式
Password Protection 此篇文章說明如何在程式中加入密碼保護的機制, 當程式開啟, 使用者必須先輸入使用者帳號及密碼, 若是合法使用者才能進入應用程式 Step 1. 使用 Visual C++ 6.0 產生一個 MFC Application 1) Project name: PasswordProtection 2) Project type: MFC AppWizard(exe)
More information晶焱科技股份有限公司 Amazing Microelectronic Corp.
晶焱科技股份有限公司 Amazing Microelectronic Corp. ESD Leading Provider 公司簡介 2 公司沿革 AmazingIC Founded in Taiwan 1 Billion (pcs) shipment Amazing IPO in Taiwan 1.Touch down 10 Billion pcs 2.AVL Touch down 23 billion
More informationClonezilla Live 實務與應用
Clonezilla Live 實務與應用 孫振凱蔡育欽 http://drbl.nchc.org.tw, http://drbl.sourceforge.net http://clonezilla.nchc.org.tw, http://clonezilla.org.tw 國家高速網路與計算中心 National Center for High-Performance Computing (NCHC)
More informationLotusphere Comes to You 輕鬆打造 Web 2.0 入口網站 IBM Corporation
輕鬆打造 Web 2.0 入口網站 2007 IBM Corporation 議程 Web 2.0 新特性一覽 Web 2.0 入口網站主題開發 用戶端聚合技術 PortalWeb2 主題 開發 AJAX portlets 程式 總結 JSR 286 及 WSRP 2.0 對 AJAX 的支援 AJAX 代理 用戶端 portlet 編程模型 Web 2.0 特性一覽 WP 6.1 提供的 Web
More informationA n d r o i d Ta b l e t P C
User Guide for LPT -200AR A n d r o i d Ta b l e t P C Table of Contents 1. Overviewing Product 2. H/W Spec. 3. Wi-Fi Output Power 4. Easy Setting Icons 5. Setting 1. Wi-Fi 2. Bluetooth 3. Airplane mode
More informationDr. Whai-En Chen. Institute of Computer Science and Information Engineering National Ilan University TEL: #340
IPv6 Transition ( 轉移機制 ) Dr. Whai-En Chen Assistant Professor Institute of Computer Science and Information Engineering National Ilan University wechen@niu.edu.twedu TEL: +886-3-9357400#340 http://alan.ipv6.club.tw
More informationISILON DATA LAKE 運用 ISILON 輕鬆建構企業資料湖
ISILON DATA LAKE 運用 ISILON 輕鬆建構企業資料湖 EDGE TO CORE TO CLOUD EMC Isilon 資深技術顧問 Frances Chien 簡君芳 1 Isilon 企業資料湖 Consolidated unstructured data storage infrastructure Scale-out architecture to support rapid
More informationSyntest Tool 使用說明. Speaker: Yu-Hsien Cheng Adviser: Kuen-Jong Lee. VLSI/CAD Training Course
Syntest Tool 使用說明 Speaker: Yu-Hsien Cheng Adviser: Kuen-Jong Lee yhc97@beethoven.ee.ncku.edu.tw VLSI/CAD Training Course Foreword Why testing? Class.2 Why Testing? Economics! Reduce test cost (enhance
More informationSoftware Architecture Case Study: Applying Layer in SyncFree
Software Architecture Case Study: Applying Layer in SyncFree Chien-Tsun Chen Department of Computer Science and Information Engineering National Taipei University of Technology, Taipei 06, Taiwan ctchen@ctchen.idv.tw
More information網路安全與頻寬控制閘道器之實作與研究. Management Gateways
行政院國家科學委員會補助專題研究計畫成果報告 網路安全與頻寬控制閘道器之實作與研究 Implementation and Research of Security and Bandwidth Management Gateways 計畫類別 : 個別型計畫 整合型計畫 計畫編號 :NSC 90-2213-E-009-161- 執行期間 : 2001 年 08 月 01 日至 2002 年 7 月 31
More informationEdConnect and EdDATA
www.hkedcity.net Tryout Programme of Standardised Data Format for e-textbook and e-learning Platform EdConnect and EdDATA 5 December 2018 Agenda Introduction and background Try-out Programme Q&A 電子課本統一數據格式
More informationUbiquitous Computing Using SIP B 朱文藝 B 周俊男 B 王雋伯
Ubiquitous Computing Using SIP B91902039 朱文藝 B91902069 周俊男 B91902090 王雋伯 Outline Ubiquitous Computing Using SIP 1. Introduction 2. Related Work 3. System Architecture 4. Service Example 1. Introduction
More information利用數據與軟體瞭解 讀者行為使用分析與服務平台選項
By using the data and software analysis to study the user experience & the option for the service platform in library field. 利用數據與軟體瞭解 讀者行為使用分析與服務平台選項 周頡 Jeremy Chou EBSCO Information Services Sales Director
More informationOTAD Application Note
OTAD Application Note Document Title: OTAD Application Note Version: 1.0 Date: 2011-08-30 Status: Document Control ID: Release _OTAD_Application_Note_CN_V1.0 Copyright Shanghai SIMCom Wireless Solutions
More informationIntroduction to Programming ( 計算機程式設計 ) Chapter 1 Getting Ready
Introduction to Programming ( 計算機程式設計 ) Chapter 1 Getting Ready Meng-Lin Li ( 李夢麟 ) mlli@ee.nthu.edu.tw Department of Electrical Engineering National Tsing Hua University 1 Why C, C, Why not C++? Spirit
More informationGPIB 儀器控制之概念及軟硬體介紹 研華股份有限公司 工業自動化事業群
GPIB 儀器控制之概念及軟硬體介紹 研華股份有限公司 工業自動化事業群 Outline 1. Introduction to Adavntech GPIB Card 2. Introduction to IEEE 488.1 3. Introduction to IEEE 488.2 & SCPI GPIB History General Purpose Interface Bus 由 HP 於
More informationTerry Kuo, Power Systems Division, ABB Taiwan, Oct 實現 IEC61850 核心價值的變電站自動化系統
Terry Kuo, Power Systems Division, ABB Taiwan, Oct. 29 2014 實現 IEC61850 核心價值的變電站自動化系統 Network Management Overview Network Management business unit Utility communications Ventyx (incl. Networks and Markets/Service)
More informationSOHORAID ST8-TB3 User Manual
SOHORAID ST8-TB3 User Manual » ST8-TB3 User Manual...1 1. Environmental Requirements...1 2. Product Appearance and Packaging Content...1 3. Hardware Requirements and Precautions...2 4. Hardware Installation...3
More informationEMP2 SERIES. mpcie to Serial COM User Manual. Rev 1.3
EMP2 SERIES mpcie to Serial COM User Manual Rev 1.3 Copyright Information Innodisk is trademark or registered trademark of Innodisk Corporation. This document is subject to change and revision without
More informationSimulation of SDN/OpenFlow Operations. EstiNet Technologies, Inc.
Simulation of SDN/OpenFlow Operations EstiNet Technologies, Inc. Agenda: (1) 模擬器簡介 (2) 模擬器的基本操作 (3) 如何建置一個 SDN Topology (5) 如何下達指令並觀察 Flow Table, Group Table 與 Meter Table (5) 如何用 SDN 下達 QoS 指令並觀察結果 (6)
More informationPromotion of Web GIS for University Courses and Research. Abstract
Promotion of Web GIS for University Courses and Research Lung-Shih Yang 1, Tien-Yin Chou 1, Lan-Kun Chung 1, Pi-Hui Huang 1, Ching-Yi Kuo 1, Lung-Chih Chang 2 Abstract In recent years, GIS techniques have
More informationOperating manual. LawMate WN7911B-ZZ. WiFi Module V 01
羅美國際有限公司 /LawMate International Co., Ltd. 台北市內湖區文湖街 60 巷 34 號 3 樓 /3F, No.34, Lane 60, Wenhu St., Taipei, Taiwan TEL:+886 2-8797-5728 / FAX:+886 2-8797-5727 Operating manual Operating manual LawMate WN7911B-ZZ
More informationProduct Profile & Dimensions
ENGLISH Thank you for choosing the Delta DVP series PLC. Four channels on DVP4DA-H3 are able to receive four pieces of 16-bit digital data from a CPU module, and convert them into analog signals (voltages
More informationUser s Manual. Rev. 1.04
EZCast Wire User s Manual Rev. 1.04 Introduction Thanks for choosing EZCastseries product, the EZCast Wire is the latest innovation of EZCast. It is based on popular EZCastapp and modified for Wired connection
More informationSeagate Backup Plus Hub User Manual
Seagate Backup Plus Hub User Manual Model: Click here to access an up-to-date online version of this document. You will also find the most recent content as well as expandable illustrations, easier navigation,
More informationHDD Integration and Technology challenges to CE Products 消費電子産品中硬碟的應用 與技術瓶頸
Designing HDD in Your Consumer Electronic Applications freedom to innovate HDD Integration and Technology challenges to CE Products 消費電子産品中硬碟的應用 與技術瓶頸 Jimmy Tsai August 31th, 2005 Presentation Outline
More informationRA8835. Dot Matrix LCD Controller Q&A. Preliminary Version 1.2. July 13, RAiO Technology Inc.
RAiO Dot Matrix LCD Controller Q&A Preliminary Version 1.2 July 13, 2009 RAiO Technology Inc. Copyright RAiO Technology Inc. 2009 Update History Version Date Description 1.0 July 13, 2009 Preliminary Version
More informationChinese (Traditional) Style Guide
Chinese (Traditional) Style Guide Published: June, 2017 Microsoft Chinese (Traditional) Style Guide Contents 1 About this style guide... 4 1.1 Recommended style references... 4 2 Microsoft voice... 5 2.1
More information