-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
77 additions
and
33 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
tools/Nga-Siok-Thong/s01_Create_Table_for_Nga-Siok-Thong-Ji-Khoo.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--建立 "雅俗通字庫" 表格 | ||
CREATE TABLE 雅俗通字庫 ( | ||
識別號 INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, | ||
漢字 TEXT NOT NULL, | ||
切音 TEXT NOT NULL, | ||
字韻 TEXT NOT NULL, | ||
聲調 INTEGER NOT NULL, | ||
原始拼音 TEXT, | ||
舒促聲 TEXT NOT NULL, | ||
聲 TEXT NOT NULL, | ||
韻 TEXT NOT NULL, | ||
調 INTEGER NOT NULL, | ||
拼音碼 TEXT NOT NULL, | ||
雅俗通標音 TEXT NOT NULL, | ||
十五音標音 TEXT NOT NULL, | ||
常用度 REAL DEFAULT (0.0) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
PRAGMA foreign_keys = 0; | ||
|
||
CREATE TABLE sqlitestudio_temp_table AS SELECT * | ||
FROM 雅俗通字庫; | ||
|
||
DROP TABLE 雅俗通字庫; | ||
|
||
CREATE TABLE 雅俗通字庫 ( | ||
識別號 INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, | ||
漢字 TEXT NOT NULL, | ||
切音 TEXT NOT NULL, | ||
字韻 TEXT NOT NULL, | ||
聲調 INTEGER NOT NULL, | ||
原始拼音 TEXT, | ||
舒促聲 TEXT NOT NULL, | ||
聲 TEXT NOT NULL, | ||
韻 TEXT NOT NULL, | ||
調 INTEGER NOT NULL, | ||
拼音碼 TEXT NOT NULL, | ||
雅俗通標音 TEXT NOT NULL, | ||
十五音標音 TEXT NOT NULL, | ||
常用度 REAL DEFAULT (0.0) | ||
); | ||
|
||
INSERT INTO 雅俗通字庫 ( | ||
識別號, | ||
漢字, | ||
切音, | ||
字韻, | ||
聲調, | ||
原始拼音, | ||
舒促聲, | ||
聲, | ||
韻, | ||
調, | ||
拼音碼, | ||
雅俗通標音, | ||
十五音標音, | ||
常用度 | ||
) | ||
SELECT 識別號, | ||
漢字, | ||
切音, | ||
字韻, | ||
聲調, | ||
原始拼音, | ||
舒促聲, | ||
聲, | ||
韻, | ||
調, | ||
拼音碼, | ||
雅俗通標音, | ||
十五音標音, | ||
常用度 | ||
FROM sqlitestudio_temp_table; | ||
|
||
DROP TABLE sqlitestudio_temp_table; | ||
|
||
PRAGMA foreign_keys = 1; |
12 changes: 0 additions & 12 deletions
12
tools/Nga-Siok-Thong/匯出Excel轉CSV轉SQLite/Create_Table_for_Sip-Ngoo-Im-Han-Ji-Tian.sql
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
tools/Nga-Siok-Thong/匯出Excel轉CSV轉SQLite/Rebuid_Table_To_Add_ID_Column.sql
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.