Oracle 隨機產生值
select
dbms_random.normal as AAAA,
'R'||LPAD(Trunc(dbms_random.value(0, 10000)), 4, '0') as BBBB,
trunc(dbms_random.value(0, 1000)) as CCCC,
dbms_random.value(1, 2) as DDDD
from dual
2018年5月21日 星期一
2015年7月27日 星期一
2015年6月23日 星期二
Delphi 分割字元 (類似 Split) 功能函數
Delphi 分割字元 (類似 Split) 功能函數
=====================================================
ExtractStrings
=====================================================
剛開始沒找到這個函數,所以自己寫一個來用,
但無意中又發現這個函式數,覺得也不錯用;
以下介紹用法:
=====================================================
ExtractStrings
=====================================================
剛開始沒找到這個函數,所以自己寫一個來用,
但無意中又發現這個函式數,覺得也不錯用;
以下介紹用法:
2015年3月25日 星期三
Delphi 顯示千分位的方式
Delphi 顯示千分位的方式
另外還有一個方式,但覺得不好用,參考就好
// Delphi syntax:
FormatFloat('###,###,###,###,##0.######', 1234.543);
另外還有一個方式,但覺得不好用,參考就好
// Delphi syntax:
Format('%*.*n', [10, 6, 1234.543]);
// 10: 整數位數
// 6: 小數位數
2015年3月23日 星期一
2015年3月20日 星期五
2015年1月22日 星期四
訂閱:
文章 (Atom)