use command:<br/>
drop index index_name
目前分類:DB2 (8)
- Apr 29 Tue 2014 13:41
[DB2]How to drop index in db2
- Apr 29 Tue 2014 13:40
[DB2] How to adding columns to an existing table
To add columns to an existing table using the command line, enter:<br/>
ALTER TABLE table_name ADD column_name data_type null_attribute<br/>
- Apr 29 Tue 2014 13:35
[DB2] How to change the primary key for already existing table?
1. drop the existing primary key, use
ALTER TABLE Table_Name DROP PRIMARY KEY;
- Sep 12 Thu 2013 11:01
DB2: How to find your DB2 version
要如何得知你使用的db2版本,每次問,不會被回說去找cd的包裝,就是問不到答案。
本想google一下,卻意外發現手動用command line的方式去連db,上面就有顯示了。
- Aug 29 Thu 2013 17:19
DB2: Get current date with format YYYYMMDD
How to get current date with format YYYYMMSS in DB2??
- May 20 Mon 2013 17:24
db2 encrypt/decrypt value for column(表格欄位值加解密)
全球最嚴個資法,台灣說第二,不知道有沒有其他國敢跳出來說第一,所以一堆公司開始了所謂的控管,免不的,資料庫有些敏感性資料也要加密,只好找找資料,試一下db2怎麼對表格中的欄位來進行加解密。
- Apr 30 Tue 2013 14:55
DB2 sequence 簡單語法
剛好遇上要用db2 sequence, 將試過的語法做個備忘。
- Mar 15 Fri 2013 14:45
db2 如何在命令模式(command line)下執行 script
想要在命令視窗或命令列中執行 DB2 腳本,您可用 db2 -svtf ScriptName 來執行。
例如,script 為sample.sql