主頁(yè) > 知識(shí)庫(kù) > Oracle去掉特殊字符的具體方法

Oracle去掉特殊字符的具體方法

熱門(mén)標(biāo)簽:word地圖標(biāo)注方向 阿爾巴尼亞地圖標(biāo)注app 征服者火車(chē)站地圖標(biāo)注 外呼線路外顯本地號(hào)碼 開(kāi)封智能外呼系統(tǒng)廠家 征服眼公司地圖標(biāo)注 人工智能地圖標(biāo)注自己能做嗎 美圖秀秀地圖標(biāo)注 百度地圖標(biāo)注素材

復(fù)制代碼 代碼如下:

/*LYXXB(陵園信息表)
lymc(甲方),dz(通信地址),dh(聯(lián)系電話)
*/
SELECT lymc,dz,dh FROM lyxxb
/*去掉回車(chē)(\b)*/
update lyxxb set dz=replace(dz,chr(13),'')
/*去掉換行(\n)*/
update lyxxb set dz=replace(dz,chr(10),'')
/*去掉回車(chē)(\b)*/
update lyxxb set dh=replace(dh,chr(13),'')
/*去掉換行(\n)*/
update lyxxb set dh=replace(dh,chr(10),'')
/*YWDJB(業(yè)務(wù)登記表)
gxrxm(y乙方),azfsdm(類(lèi)別),mwflmc(位置),lxdz(家庭地址),ksrq(開(kāi)始日期),jsrq(結(jié)束日期),sfzh(身份證號(hào)),ssje(實(shí)收金額),rq(辦理日期)
*/
/*生態(tài)*/
SELECT gxrxm,azfsmc,mwflmc,to_char(ksrq,'yyyy') as years1,to_char(ksrq,'mm') as months1,to_char(ksrq,'dd') as days1,to_char(jsrq,'yyyy') as years2,to_char(jsrq,'mm') as months2,to_char(jsrq,'dd') as days2,ssje,money_to_chinese(ssje) as dx FROM ywdjb WHERE djh='02x1995052119950140'

SELECT gxrxm,lxdz,lxdh,sfzh,czyxm,to_char(rq,'yyyy') as years,to_char(rq,'mm') as months,to_char(rq,'dd') as days FROM ywdjb WHERE djh='02x1995052119950140'


/*墓位*/
SELECT gxrxm,mxmc,mwflmc,to_char(ksrq,'yyyy') as years1,to_char(ksrq,'mm') as months1,to_char(ksrq,'dd') as days1,to_char(jsrq,'yyyy') as years2,to_char(jsrq,'mm') as months2,to_char(jsrq,'dd') as days2,ssje,money_to_chinese(ssje) as dx FROM ywdjb WHERE djh='20130201164043'

SELECT s.SCMXTJFL1,y.gxrxm,y.mxmc,y.mwflmc,to_char(y.ksrq,'yyyy') as years1,to_char(y.ksrq,'mm') as months1,to_char(y.ksrq,'dd') as days1,to_char(y.jsrq,'yyyy') as years2,to_char(y.jsrq,'mm') as months2,to_char(y.jsrq,'dd') as days2,y.ssje,money_to_chinese(y.ssje) as dx FROM ywdjb y inner join spmldm s on y.mxdm=s.spmldm where djh='20130201164043'

select SCMXTJFL1 from spmldm where spmldm='305'

select * from ywdjb where mxdm='305'
/*續(xù)租*/
SELECT mwflmc,mxmc,mj,dabh FROM qtywb WHERE djh='032005032120050374' and ywdjh='yw200505090028'

SELECT WRXM FROM wrxxb_str WHERE djh='032005032120050374'

select wrxm from wrxxb_str where djh='02x1995040619950095'

SELECT mwflmc,mxmc,mj,dabh FROM qtywb WHERE djh='02x1995040619950095'
/*xx*/
SELECT w.wrxm,q.sfzh,q.lxdz,q.czyxm,q.lxdh,to_char(q.rq,'yyyy-mm-dd') as sj,q.mwflmc,q.mxmc,q.mj,q.dabh,to_char(q.ksrq,'yyyy') as years1,to_char(q.ksrq,'mm') as months1,to_char(q.ksrq,'dd') as days1,to_char(q.jsrq,'yyyy') as years2,to_char(q.jsrq,'mm') as months2,to_char(q.jsrq,'dd') as days2 FROM qtywb q INNER JOIN wrxxb_str w ON q.djh=w.djh WHERE q.djh='032005032120050374' and q.ywdjh='yw200505090028'

SELECT lymc FROM lyxxb


/*WRXXB(亡人信息表)
wrxm(亡人姓名),xb(性別),nl(年齡),mz(民族)
*/
SELECT wrxm,x.xbmc,nl,mz FROM wrxxb w INNER JOIN xbxx x ON w.xb=x.xbdm WHERE djh='02x1995052119950140'

select to_char(rq,'yyyy') as years,to_char(rq,'mm') as months,to_char(rq,'dd') as days from ywdjb


select * from xbxx
select * FROM wrxxb

select ksrq,jsrq from ywdjb
select to_char(ksrq,'yyyy') as years1,to_char(ksrq,'mm') as months1,to_char(ksrq,'dd') as days1,to_char(jsrq,'yyyy') as years2,to_char(jsrq,'mm') as months2,to_char(jsrq,'dd') as days2 from ywdjb       

您可能感興趣的文章:
  • Oracle用戶(hù)密碼含有特殊字符導(dǎo)致無(wú)法登陸解決方法
  • .net實(shí)現(xiàn)oracle數(shù)據(jù)庫(kù)中獲取新插入數(shù)據(jù)的id的方法
  • Oracle跨數(shù)據(jù)庫(kù)查詢(xún)并插入實(shí)現(xiàn)原理及代碼
  • Oracle 插入超4000字節(jié)的CLOB字段的處理方法
  • 在Oracle中向視圖中插入數(shù)據(jù)的方法
  • Oracle中插入特殊字符:和'的解決方法匯總

標(biāo)簽:海北 泰安 酒泉 淮南 宜春 孝感 葫蘆島 六安

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Oracle去掉特殊字符的具體方法》,本文關(guān)鍵詞  Oracle,去掉,特殊,字符,的,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《Oracle去掉特殊字符的具體方法》相關(guān)的同類(lèi)信息!
  • 本頁(yè)收集關(guān)于Oracle去掉特殊字符的具體方法的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章