50萬人次紀念 2008-11-26 04:44 PM 5 小站點閱數突破50萬人次囉!! 原本昨天訂閱人數一度攻上506人,正計劃今天可以一併慶祝點閱數破50萬次K+訂閱數破500人--"雙破",沒想到虛胖只維持了一天,今天又跌回494人,殘念之餘,還是抓了FeedBurner的統計頁面留念一下,哈! 【成長歷程】 2008/11/26 50萬人次 2008/09/13 40萬人次 2008/06/25 30萬人次 2008/03/17 20萬人次 2007/10/29 10萬人次
# 2008-11-26 10:19 AM by Wizard 明儒老師,不好意思, 又要打擾一下。 想請教您用 Oracle 做專案時,批次更新, 或批次新增是怎處理的呢? 因 Oracle 不像 SQL Server,可用「分號 (;)」組成多個 SQL 陳述式,造成無法以此方式做「批次更新」。 是否只能用 OracleClient Data Provider 的 DataAdapter 才能達到批次更新?抑或您有其他做法。 煩請解惑或給予相關提示,感謝您。 contempt@pchome.com.tw
# 2008-11-26 10:36 PM by Wizard 已試出,Oracle 的「批次更新」仍可用「分號 (;)」隔離多個 sql statement,只是前後要再加上 begin, end; 如 : string strSql = "begin insert into t01(id,name) values(99,'test'); insert into t01(id,name) values(99,'test'); end;"; string strSql = "begin update t01 set name='test2' where id=99; update t01 set name='test2' where id=99; end;"; string strSql = "begin delete from t01 where id=99; delete from t01 where id=19; end;"; 因 Oracle 語法較嚴謹,不能直接在 sql 語句中,出現「;」等特殊符號。
Comments
# by 日落
恭喜啊~
# by Wizard
明儒老師,不好意思, 又要打擾一下。 想請教您用 Oracle 做專案時,批次更新, 或批次新增是怎處理的呢? 因 Oracle 不像 SQL Server,可用「分號 (;)」組成多個 SQL 陳述式,造成無法以此方式做「批次更新」。 是否只能用 OracleClient Data Provider 的 DataAdapter 才能達到批次更新?抑或您有其他做法。 煩請解惑或給予相關提示,感謝您。 contempt@pchome.com.tw
# by 小熊子
照例來恭禧,發現每10萬的達成時間愈來愈縮短了哦!!
# by yusheng
恭喜大大... 我也是無意間來到貴寶地~~ 沒想到就一直留連忘返了^___^
# by Wizard
已試出,Oracle 的「批次更新」仍可用「分號 (;)」隔離多個 sql statement,只是前後要再加上 begin, end; 如 : string strSql = "begin insert into t01(id,name) values(99,'test'); insert into t01(id,name) values(99,'test'); end;"; string strSql = "begin update t01 set name='test2' where id=99; update t01 set name='test2' where id=99; end;"; string strSql = "begin delete from t01 where id=99; delete from t01 where id=19; end;"; 因 Oracle 語法較嚴謹,不能直接在 sql 語句中,出現「;」等特殊符號。