その他の関数


  Excel、MDB




  

select
	Round(123.456) as 四捨五入1
	,Round(123.456,2) as 四捨五入2
	,Fix(123.456) as 切捨て
	,Format(123456,'#,###') as 数値編集1
	,Format(123456,'#,##0') as 数値編集2
	,Instr('ABCDEFG','CDE') as 文字列検索
	,UCase('abc') as 大文字
	,LCase('ABC') as 小文字
	,10 MOD 4 as 余り
  

四捨五入1四捨五入2切捨て数値編集1数値編集2文字列検索大文字小文字余り
123123.46123123,456123,4563ABCabc2



  SQLServer




  

select
	ROUND(123.456,0) as 四捨五入1
	,ROUND(123.456,1) as 四捨五入2
	,ROUND(123.456,-1) as 四捨五入2
	,ROUND(123.456,0,1) as 切捨て1
	,ROUND(123.456,2,1) as 切捨て2
	,ROUND(123.456,-1,1) as 切捨て3
	,PATINDEX('%CDE%', 'ABCDEFG') as 文字列検索
	,REPLACE('ABCDEFG','CDE','xxx') as 文字列置換
	,UPPER('abc') as 大文字
	,LOWER('ABC') as 小文字
	,10 % 4  as 余り
	,REPLACE(CONVERT(VARCHAR(20),CONVERT(money,123456),1),'.00','') as 整数編集
  

四捨五入1四捨五入2四捨五入2切捨て1切捨て2切捨て3文字列検索文字列置換大文字小文字余り整数編集
123123.5120123123.451203ABxxxFGABCabc2123,456



  MySQL

  

select
	ROUND(123.456) as 四捨五入1
	,ROUND(123.456,2) as 四捨五入2
	,ROUND(123.456,-1) as 四捨五入3
	,TRUNCATE(123.456,1) as 切捨て1
	,TRUNCATE(123.456,-1) as 切捨て2
	,LPAD('ABC','6','0') as 埋め込み1
	,RPAD('ABC','6','0') as 埋め込み2
	,INSTR('ABCDEFG','CDE') as 文字列検索
	,REPLACE('ABCDEFG','CDE','xxx') as 文字列置換
	,UPPER('abc') as 大文字
	,LOWER('ABC') as 小文字
	,MOD(10,4) as 余り
  

  PostgreSQL

  

select
	ROUND(123.456) as 四捨五入1
	,ROUND(123.456,2) as 四捨五入2
	,ROUND(123.456,-1) as 四捨五入3
	,TRUNC(123.456) as 切捨て1
	,TRUNC(123.456,2) as 切捨て2
	,TRUNC(123.456,-1) as 切捨て3
	,TO_CHAR(123456,'999,999') as 数値編集
	,TO_CHAR(123,'00000') as 先行ゼロ編集
	,TO_CHAR(12345,'FM9999999999') as 文字列へ変換
	,LPAD('ABC','6','0') as 埋め込み1
	,RPAD('ABC','6','0') as 埋め込み2
	,POSITION('CDE' in 'ABCDEFG') as 文字列検索
	,REPLACE('ABCDEFG','CDE','xxx') as 文字列置換
	,UPPER('abc') as 大文字
	,LOWER('ABC') as 小文字
	,MOD(10,4) as 余り
  

四捨五入1四捨五入2四捨五入3切捨て1切捨て2切捨て3数値編集先行ゼロ編集
123123.46120123123.45120123,456123
文字列へ変換埋め込み1埋め込み2文字列検索文字列置換大文字小文字余り
12345000ABCABC0003ABxxxFGABCabc2



  Oracle

  

select
	ROUND(123.456) as 四捨五入1
	,ROUND(123.456,2) as 四捨五入2
	,ROUND(123.456,-1) as 四捨五入3
	,TRUNC(123.456) as 切捨て1
	,TRUNC(123.456,2) as 切捨て2
	,TRUNC(123.456,-1) as 切捨て3
	,TO_CHAR(123456,'999,999') as 数値編集
	,TO_CHAR(123,'00000') as 先行ゼロ編集
	,LPAD('ABC','6','0') as 埋め込み1
	,RPAD('ABC','6','0') as 埋め込み2
	,INSTR('ABCDEFG','CDE') as 文字列検索
	,REPLACE('ABCDEFG','CDE','xxx') as 文字列置換
	,UPPER('abc') as 大文字
	,LOWER('ABC') as 小文字
	,MOD(10,4) as 余り
from dual
  




yahoo  google  MSDN  MSDN(us)  WinFAQ  Win Howto  tohoho  ie_DHTML  vector  wdic  辞書  天気 


[dbaccess]
CCBot/2.0 (https://commoncrawl.org/faq/)
24/12/09 06:41:09
InfoBoard Version 1.00 : Language=Perl

1 BatchHelper COMprog CommonSpec Cprog CprogBase CprogSAMPLE CprogSTD CprogSTD2 CprogWinsock Cygwin GameScript HTML HTMLcss InstallShield InstallShieldFunc JScript JScriptSAMPLE Jsfuncs LLINK OldProg OracleGold OracleSilver PRO PRObrowser PROc PROconePOINT PROcontrol PROftpclient PROjscript PROmailer PROperl PROperlCHAT PROphp PROphpLesson PROphpLesson2 PROphpLesson3 PROphpfunction PROphpfunctionArray PROphpfunctionMisc PROphpfunctionString PROsql PROvb PROvbFunction PROvbString PROvbdbmtn PROvbonepoint PROwebapp PROwin1POINT PROwinSYSTEM PROwinYOROZU PROwindows ProjectBoard RealPHP ScriptAPP ScriptMaster VBRealtime Vsfuncs a1root access accreq adsi ajax amazon argus asp aspSample aspVarious aspdotnet aw2kinst cappvariety centura ckeyword classStyle cmaterial cmbin cmdbapp cmenum cmlang cmlistbox cmstd cmstdseed cmtxt cs daz3d db dbCommon dbaccess dnettool dos download flex2 flex3 flex4 framemtn framereq freeWorld freesoft gimp ginpro giodownload google hdml home hta htmlDom ie9svg install java javaSwing javascript jetsql jquery jsp jspTest jspVarious lightbox listasp listmsapi listmsie listmsiis listmsnt listmspatch listmsscript listmsvb listmsvc memo ms msde mysql netbeans oraPlsql oracle oracleWiper oraclehelper orafunc other panoramio pear perl personal pgdojo pgdojo_cal pgdojo_holiday pgdojo_idx pgdojo_ref pgdojo_req php phpVarious phpguide plsql postgres ps r205 realC realwebapp regex rgaki ruby rule sboard sc scprint scquest sdb sdbquest seesaa setup sh_Imagick sh_canvas sh_dotnet sh_google sh_tool sh_web shadowbox shgm shjquery shvbs shweb sjscript skadai skywalker smalltech sperl sqlq src systemdoc tcpip tegaki three toolbox twitter typeface usb useXML vb vbdb vbsfunc vbsguide vbsrc vpc wcsignup webanymind webappgen webclass webparts webtool webwsh win8 winofsql wmi work wp youtube