问题
SELECT REGEXP_SUBSTR(clb, '[^~]+', 1, level)
FROM (
SELECT DBMS_LOB.SUBSTR( to_clob('40903~41096~40944~41109~40895~41087~40898~41091~40961~41115~40906~41103~40958~41112~40941~41106~40964~41121~40982~41133~40968~41118~40985~41139~40974~41127~40988~41136~40971~41124~40979~41130~40994~41146~41001~41152~40997~41149~40912~41100~40991~41142~41422~41562~41437~41570~41416~41560~41419~41546~41443~41574~41428~41564~41440~41572~41431~41568~41446~41576~41479~41526~41449~41578~41465~41530~41476~41519~41468~41528~41482~41538~41471~41522~41461~41534~41452~41524~41455~41536~41425~41566~41458~41532~41766~41905~41780~41919~41759~41880~41762~41901~41788~41957~41774~41912~41783~41954~41777~41916~41791~41960~41807~41976~41795~41964~41813~41986~41801~41969~41810~42066~41798~41966~41804~41972~41820~41992~41828~41998~41823~41995~41771~41909~41817~41989~42261~42679~42479~42712~42255~42690~42258~42676~42486~42706~42435~42682~42483~42701~42476~42698~42489~42709~42513~42758~42494~42715~42522~42783~42507~42750~42518~42775~42504~42719~42510~42753~42530~42797~42536~42803~42533~42800~42264~42695~42525~42787~43501~43733~43418~44000~43495~43659~43498~43730~43510~44007~43504~43739~43392~44003~43491~43997~43515~44012~43532~44037~43521~44016~43371~44043~43381~44024~43374~44040~43384~44019~43378~44030~43624~44049~44055~43627~44052~43507~43736~43541~44046~44084~44844~44114~44856~44078~44812~44081~44806~44127~45520~44104~44847~44117~45517~44111~44851~44132~45527~44854~45900~44273~45530~44863~45920~44819~45640~44860~45926~44781~45634~44822~45645~44869~45938~44875~45961~44872~45958~44108~44866~45949~44888~46164~44906~46628~44878~46106~44882~46161~44917~46716~44894~46580~44909~46713~44897~46586~44932~46721~45881~44935~46724~45966~45866~45889~44985~45870~45972~45986~45975~44891~46583~45969~46638~46667~46675~46687~46630~46656~46635~46661~46699~46696~46641~46678~46685~46691~46665~46682~46743~46701~46762~46797~46764~46749~46705~46806~46816~46776~46740~46780~46754~46803~46808~46773~46737~46768~46745~46752~46783~46758~46826~46823~46790~46837~46840~46799~46833~46829~46794~46659~46672~46812~46820~46786~46247~46863~46348~46875~46217~46589~46244~46860~46359~46882~46270~46869~46351~46878~46342~46872~46364~46885~46558~47357~46367~46889~46565~47480~46552~47350~46562~47360~46550~46625~46555~47354~46571~47488~46577~47494~46574~47491~46250~46866~46568~47483~39333~39564~39345~39623~39327~39547~39330~39556~39351~39629~39339~39617~39348~39626~39342~39620~39357~39633~39374~39675~39360~39639~39377~39678~39366~39646~39380~39682~39363~39642~39371~39669~39386~39685~39392~39712~39389~39697~39336~39570~39383~39688~40077~40010~40169~40027~40049~40000~40059~40006~40175~40042~40108~40018~40172~40034~40141~40021~40180~40045~39782~40067~40186~40053~39785~40079~39772~40061~39958~40071~39769~40056~39779~40064~39988~40088~40032~40095~39994~40092~40117~40015~39991~40082~40191~40335~40203~40348~40182~40329~40188~40332~40209~40356~40197~40338~40206~40351~40200~40345~40224~40358~40242~40377~40229~40361~40249~40380~40236~40370~40252~40383~40233~40365~40239~40373~40266~40389~40269~40396~40257~40392~40194~40341~40263~40385~40902~41095~40943~41108~40894~41086~40897~41090~40960~41114~40905~41102~40957~41111~40940~41105~40963~41120~40981~41132~40967~41117~40984~41138~40973~41126~40987~41135~40970~41123~40978~41129~40993~41145~41000~41151~40996~41148~40911~41099~40990~41141~41421~41561~41436~41569~41415~41559~41418~41545~41442~41573~41427~41563~41439~41571~41430~41567~41445~41575~41478~41525~41448~41577~41464~41529~41475~41518~41467~41527~41481~41537~41470~41521~41460~41533~41451~41523~41454~41535~41424~41565~41457~41531~41765~41904~41779~41918~41758~41879~41761~41900~41787~41956~41773~41911~41782~41953~41776~41915~41790~41959~41806~41975~41794~41963~41812~41985~41800~41968~41809~42065~41797~41965~41803~41971~41819~41991~41827~41997~41822~41994~41770~41908~41816~41988~42260~42678~42478~42711~42254~42689~42257~42675~42485~42705~42434~42681~42482~42700~42475~42697~42488~42708~42512~42757~42493~42714~42521~42782~42506~42749~42517~42774~42503~42718~42509~42752~42529~42796~42535~42802~42532~42799~42263~42694~42524~42786~43500~43732~43417~43999~43494~43658~43497~43729~43509~44006~43503~43738~43391~44002~43490~43996~43514~44011~43531~44036~43520~44015~43370~44042~43380~44023~43373~44039~43383~44018~43377~44029~43623~44048~44054~43626~44051~43506~43735~43540~44045~44083~44843~44113~44855~44077~44811~44080~44805~44126~45519~44103~44846~44116~45516~44110~44850~44131~45526~44853~45899~44272~45529~44862~45919~44818~45639~44859~45925~44780~45633~44821~45644~44868~45937~44874~45960~44871~45957~44107~44865~45948~44887~46163~44905~46627~44877~46105~44881~46160~44916~46715~44893~46579~44908~46712~44896~46585~44931~46720~45880~44934~46723~45965~45865~45888~44984~45869~45971~45985~45974~44890~46582~45968~46637~46666~46674~46686~46629~46655~46634~46660~46698~46695~46640~46677~46684~46690~46664~46681~46742~46700~46761~46796~46763~46748~46704~46805~46815~46775~46739~46779~46753~46802~46807~46772~46736~46767~46744~46751~46782~46757~46825~46822~46789~46836~46839~46798~46832~46828~46793~46658~46671~46811~46819~46785~46246~46862~46347~46874~46216~46588~46243~46859~46358~46881~46269~46868~46350~46877~46341~46871~46363~46884~46557~47356~46366~46888~46564~47479~46551~47349~46561~47359~46549~46624~46554~47353~46570~47487~46576~47493~46573~47490~46249~46865~46567~47482~39332~39563~39344~39622~39328~39546~39329~39555~39350~39628~39338~39616~39347~39625~39341~39619~39356~39632~39373~39674~39359~39638~39376~39677~39365~39645~39379~39681~39362~39641~39370~39668~39385~39684~39391~39711~39388~39696~39335~39569~39382~39687~40076~40009~40168~40026~40048~39999~40058~40005~40174~40041~40107~40017~40171~40033~40140~40020~40179~40044~39781~40066~40185~40052~39784~40078~39771~40060~39957~40070~39768~40055~39778~40063~39987~40087~40031~40094~39993~40091~40116~40014~39990~40081~40190~40334~40202~40347~40181~40328~40187~40331~40208~40355~40196~40337~40205~40350~40199~40344~40223~40357~40241~40376~40228~40360~40248~40379~40235~40369~40251~40382~40232~40364~40238~40372~40265~40388~40268~40395~40256~40391~40193~40340~40262~40384~41098~40966~41004~41144~41601~41433~41588~41463~41769~41952~41815~41974~42703~42520~42755~42433~44005~43493~44035~43629~45522~44119~44824~45642~44880~46726~45868~46680~46657~46818~46760~46814~46352~46880~46559~47351~39355~39630~39394~39644~40004~40302~40069~40037~40342~40310~40375~40313~40949~41094~40977~41156~41434~41474~41907~41786~41979~41826~42693~42502~42722~42528~43513~44010~43395~44022~44130~45538~44784~45632~44886~46719~45887~46694~46770~46708~46792~46834~46361~46546~47485~39549~39354~39673~39369~40030~40177~40075~40025~40362~40312~40315~40368~40956~41093~40976~41155~41602~41435~41473~41589~41903~41785~41978~41825~42692~42500~42721~42527~43512~44009~43394~44021~44129~45531~44783~45631~44885~46718~45883~46693~46769~46707~46791~46831~46360~46547~47484~39545~39353~39672~39368~40029~40176~40073~40024~40352~40311~40314~40367~46778~41089~41154~41606~41605~41914~42481~42704~42789~44014~43376~44106~44849~44825~46633~44884~46227~46843~39543~39680~40036~40090~40327~40722~40904~41097~40945~41110~40896~41088~40899~41092~40962~41116~40907~41104~40959~41113~40942~41107~40965~41122~40983~41134~40969~41119~40986~41140~40975~41128~40989~41137~40972~41125~40980~41131~40995~41147~41003~41153~40998~41150~40925~41101~40992~41143~41423~41592~41438~41596~41417~41591~41420~41590~41444~41598~41429~41593~41441~41597~41432~41595~41447~41599~41480~41582~41450~41600~41466~41584~41477~41579~41469~41583~41483~41587~41472~41580~41462~41585~41453~41581~41456~41426~41459~41586~41768~41906~41781~41951~41760~41881~41763~41902~41789~41958~41775~41913~41784~41955~41778~41917~41792~41961~41808~41977~41796~41962~41814~41987~41802~41970~41811~42067~41799~41967~41805~41973~41821~41993~41829~41999~41824~41996~41772~41910~41818~41990~42262~42680~42480~42713~42256~42691~42259~42677~42487~42707~42445~42683~42484~42702~42477~42699~42492~42710~42514~42761~42496~42716~42523~42785~42508~42751~42519~42778~42505~42720~42511~42754~42531~42798~42537~42804~42534~42801~42420~42696~42526~42788~43502~43734~43422~44001~43496~43660~43499~43731~43511~44008~43505~43740~43393~44004~43492~43998~43516~44013~43533~44038~43522~44017~43372~44044~43382~44025~43375~44041~43385~44020~43379~44034~43625~44050~44056~43628~44053~43508~43737~43545~44047~44085~44845~44115~44857~44079~44813~44082~44809~44128~45523~44105~44848~44118~45518~44112~44852~44133~45528~44858~45901~44274~45537~44864~45921~44820~45641~44861~45930~44782~45635~44823~45643~44870~45939~44876~45962~44873~45959~44109~44867~45953~44889~46165~44907~46632~44879~46107~44883~46162~44921~46717~44895~46581~44910~46714~44898~46587~44933~46722~45882~44936~46725~45967~45867~45905~44994~45876~45973~45987~45979~44892~46584~45970~46639~46668~46676~46688~46631~46654~46636~46662~46703~46697~46642~46679~46689~46692~46670~46683~46747~46702~46766~46801~46765~46750~46706~46809~46817~46777~46741~46781~46755~46804~46810~46774~46738~46771~46746~46756~46784~46759~46827~46824~46788~46838~46841~46800~46835~46830~46795~46663~46673~46813~46821~46787~46248~46864~46349~46876~46222~46842~46245~46861~46362~46883~46286~46870~46353~46879~46343~46873~46365~46886~46560~47358~46368~46887~46566~47481~46553~47352~46563~47361~46548~46626~46556~47355~46572~47489~46578~47495~46575~47492~46253~46867~46569~47486~39334~39562~39346~39621~39326~39542~39331~39548~39352~39627~39340~39615~39349~39624~39343~39618~39358~39631~39375~39671~39361~39634~39378~39676~39367~39643~39381~39679~39364~39640~39372~39665~39387~39683~39393~39709~39390~39690~39337~39566~39384~39686~40074~40011~40167~40028~40047~40001~40051~40007~40173~40043~40103~40019~40170~40035~40139~40022~40178~40046~39780~40068~40184~40054~39783~40080~39770~40062~39956~40072~39767~40057~39777~40065~39986~40089~40023~40096~39992~40093~40112~40016~39989~40083~40192~40333~40204~40346~40183~40326~40189~40330~40210~40353~40198~40336~40207~40349~40201~40343~40225~40354~40243~40374~40230~40359~40250~40378~40237~40366~40253~40381~40234~40363~40240~40371~40267~40387~40270~40393~40258~40390~40195~40339~40264~40386'), 4000 * level ,
(level - 1) * 4000 + 1 ) AS clb
FROM dual
CONNECT BY level <= CEIL(DBMS_LOB.GETLENGTH(to_clob('40903~41096~40944~41109~40895~41087~40898~41091~40961~41115~40906~41103~40958~41112~40941~41106~40964~41121~40982~41133~40968~41118~40985~41139~40974~41127~40988~41136~40971~41124~40979~41130~40994~41146~41001~41152~40997~41149~40912~41100~40991~41142~41422~41562~41437~41570~41416~41560~41419~41546~41443~41574~41428~41564~41440~41572~41431~41568~41446~41576~41479~41526~41449~41578~41465~41530~41476~41519~41468~41528~41482~41538~41471~41522~41461~41534~41452~41524~41455~41536~41425~41566~41458~41532~41766~41905~41780~41919~41759~41880~41762~41901~41788~41957~41774~41912~41783~41954~41777~41916~41791~41960~41807~41976~41795~41964~41813~41986~41801~41969~41810~42066~41798~41966~41804~41972~41820~41992~41828~41998~41823~41995~41771~41909~41817~41989~42261~42679~42479~42712~42255~42690~42258~42676~42486~42706~42435~42682~42483~42701~42476~42698~42489~42709~42513~42758~42494~42715~42522~42783~42507~42750~42518~42775~42504~42719~42510~42753~42530~42797~42536~42803~42533~42800~42264~42695~42525~42787~43501~43733~43418~44000~43495~43659~43498~43730~43510~44007~43504~43739~43392~44003~43491~43997~43515~44012~43532~44037~43521~44016~43371~44043~43381~44024~43374~44040~43384~44019~43378~44030~43624~44049~44055~43627~44052~43507~43736~43541~44046~44084~44844~44114~44856~44078~44812~44081~44806~44127~45520~44104~44847~44117~45517~44111~44851~44132~45527~44854~45900~44273~45530~44863~45920~44819~45640~44860~45926~44781~45634~44822~45645~44869~45938~44875~45961~44872~45958~44108~44866~45949~44888~46164~44906~46628~44878~46106~44882~46161~44917~46716~44894~46580~44909~46713~44897~46586~44932~46721~45881~44935~46724~45966~45866~45889~44985~45870~45972~45986~45975~44891~46583~45969~46638~46667~46675~46687~46630~46656~46635~46661~46699~46696~46641~46678~46685~46691~46665~46682~46743~46701~46762~46797~46764~46749~46705~46806~46816~46776~46740~46780~46754~46803~46808~46773~46737~46768~46745~46752~46783~46758~46826~46823~46790~46837~46840~46799~46833~46829~46794~46659~46672~46812~46820~46786~46247~46863~46348~46875~46217~46589~46244~46860~46359~46882~46270~46869~46351~46878~46342~46872~46364~46885~46558~47357~46367~46889~46565~47480~46552~47350~46562~47360~46550~46625~46555~47354~46571~47488~46577~47494~46574~47491~46250~46866~46568~47483~39333~39564~39345~39623~39327~39547~39330~39556~39351~39629~39339~39617~39348~39626~39342~39620~39357~39633~39374~39675~39360~39639~39377~39678~39366~39646~39380~39682~39363~39642~39371~39669~39386~39685~39392~39712~39389~39697~39336~39570~39383~39688~40077~40010~40169~40027~40049~40000~40059~40006~40175~40042~40108~40018~40172~40034~40141~40021~40180~40045~39782~40067~40186~40053~39785~40079~39772~40061~39958~40071~39769~40056~39779~40064~39988~40088~40032~40095~39994~40092~40117~40015~39991~40082~40191~40335~40203~40348~40182~40329~40188~40332~40209~40356~40197~40338~40206~40351~40200~40345~40224~40358~40242~40377~40229~40361~40249~40380~40236~40370~40252~40383~40233~40365~40239~40373~40266~40389~40269~40396~40257~40392~40194~40341~40263~40385~40902~41095~40943~41108~40894~41086~40897~41090~40960~41114~40905~41102~40957~41111~40940~41105~40963~41120~40981~41132~40967~41117~40984~41138~40973~41126~40987~41135~40970~41123~40978~41129~40993~41145~41000~41151~40996~41148~40911~41099~40990~41141~41421~41561~41436~41569~41415~41559~41418~41545~41442~41573~41427~41563~41439~41571~41430~41567~41445~41575~41478~41525~41448~41577~41464~41529~41475~41518~41467~41527~41481~41537~41470~41521~41460~41533~41451~41523~41454~41535~41424~41565~41457~41531~41765~41904~41779~41918~41758~41879~41761~41900~41787~41956~41773~41911~41782~41953~41776~41915~41790~41959~41806~41975~41794~41963~41812~41985~41800~41968~41809~42065~41797~41965~41803~41971~41819~41991~41827~41997~41822~41994~41770~41908~41816~41988~42260~42678~42478~42711~42254~42689~42257~42675~42485~42705~42434~42681~42482~42700~42475~42697~42488~42708~42512~42757~42493~42714~42521~42782~42506~42749~42517~42774~42503~42718~42509~42752~42529~42796~42535~42802~42532~42799~42263~42694~42524~42786~43500~43732~43417~43999~43494~43658~43497~43729~43509~44006~43503~43738~43391~44002~43490~43996~43514~44011~43531~44036~43520~44015~43370~44042~43380~44023~43373~44039~43383~44018~43377~44029~43623~44048~44054~43626~44051~43506~43735~43540~44045~44083~44843~44113~44855~44077~44811~44080~44805~44126~45519~44103~44846~44116~45516~44110~44850~44131~45526~44853~45899~44272~45529~44862~45919~44818~45639~44859~45925~44780~45633~44821~45644~44868~45937~44874~45960~44871~45957~44107~44865~45948~44887~46163~44905~46627~44877~46105~44881~46160~44916~46715~44893~46579~44908~46712~44896~46585~44931~46720~45880~44934~46723~45965~45865~45888~44984~45869~45971~45985~45974~44890~46582~45968~46637~46666~46674~46686~46629~46655~46634~46660~46698~46695~46640~46677~46684~46690~46664~46681~46742~46700~46761~46796~46763~46748~46704~46805~46815~46775~46739~46779~46753~46802~46807~46772~46736~46767~46744~46751~46782~46757~46825~46822~46789~46836~46839~46798~46832~46828~46793~46658~46671~46811~46819~46785~46246~46862~46347~46874~46216~46588~46243~46859~46358~46881~46269~46868~46350~46877~46341~46871~46363~46884~46557~47356~46366~46888~46564~47479~46551~47349~46561~47359~46549~46624~46554~47353~46570~47487~46576~47493~46573~47490~46249~46865~46567~47482~39332~39563~39344~39622~39328~39546~39329~39555~39350~39628~39338~39616~39347~39625~39341~39619~39356~39632~39373~39674~39359~39638~39376~39677~39365~39645~39379~39681~39362~39641~39370~39668~39385~39684~39391~39711~39388~39696~39335~39569~39382~39687~40076~40009~40168~40026~40048~39999~40058~40005~40174~40041~40107~40017~40171~40033~40140~40020~40179~40044~39781~40066~40185~40052~39784~40078~39771~40060~39957~40070~39768~40055~39778~40063~39987~40087~40031~40094~39993~40091~40116~40014~39990~40081~40190~40334~40202~40347~40181~40328~40187~40331~40208~40355~40196~40337~40205~40350~40199~40344~40223~40357~40241~40376~40228~40360~40248~40379~40235~40369~40251~40382~40232~40364~40238~40372~40265~40388~40268~40395~40256~40391~40193~40340~40262~40384~41098~40966~41004~41144~41601~41433~41588~41463~41769~41952~41815~41974~42703~42520~42755~42433~44005~43493~44035~43629~45522~44119~44824~45642~44880~46726~45868~46680~46657~46818~46760~46814~46352~46880~46559~47351~39355~39630~39394~39644~40004~40302~40069~40037~40342~40310~40375~40313~40949~41094~40977~41156~41434~41474~41907~41786~41979~41826~42693~42502~42722~42528~43513~44010~43395~44022~44130~45538~44784~45632~44886~46719~45887~46694~46770~46708~46792~46834~46361~46546~47485~39549~39354~39673~39369~40030~40177~40075~40025~40362~40312~40315~40368~40956~41093~40976~41155~41602~41435~41473~41589~41903~41785~41978~41825~42692~42500~42721~42527~43512~44009~43394~44021~44129~45531~44783~45631~44885~46718~45883~46693~46769~46707~46791~46831~46360~46547~47484~39545~39353~39672~39368~40029~40176~40073~40024~40352~40311~40314~40367~46778~41089~41154~41606~41605~41914~42481~42704~42789~44014~43376~44106~44849~44825~46633~44884~46227~46843~39543~39680~40036~40090~40327~40722~40904~41097~40945~41110~40896~41088~40899~41092~40962~41116~40907~41104~40959~41113~40942~41107~40965~41122~40983~41134~40969~41119~40986~41140~40975~41128~40989~41137~40972~41125~40980~41131~40995~41147~41003~41153~40998~41150~40925~41101~40992~41143~41423~41592~41438~41596~41417~41591~41420~41590~41444~41598~41429~41593~41441~41597~41432~41595~41447~41599~41480~41582~41450~41600~41466~41584~41477~41579~41469~41583~41483~41587~41472~41580~41462~41585~41453~41581~41456~41426~41459~41586~41768~41906~41781~41951~41760~41881~41763~41902~41789~41958~41775~41913~41784~41955~41778~41917~41792~41961~41808~41977~41796~41962~41814~41987~41802~41970~41811~42067~41799~41967~41805~41973~41821~41993~41829~41999~41824~41996~41772~41910~41818~41990~42262~42680~42480~42713~42256~42691~42259~42677~42487~42707~42445~42683~42484~42702~42477~42699~42492~42710~42514~42761~42496~42716~42523~42785~42508~42751~42519~42778~42505~42720~42511~42754~42531~42798~42537~42804~42534~42801~42420~42696~42526~42788~43502~43734~43422~44001~43496~43660~43499~43731~43511~44008~43505~43740~43393~44004~43492~43998~43516~44013~43533~44038~43522~44017~43372~44044~43382~44025~43375~44041~43385~44020~43379~44034~43625~44050~44056~43628~44053~43508~43737~43545~44047~44085~44845~44115~44857~44079~44813~44082~44809~44128~45523~44105~44848~44118~45518~44112~44852~44133~45528~44858~45901~44274~45537~44864~45921~44820~45641~44861~45930~44782~45635~44823~45643~44870~45939~44876~45962~44873~45959~44109~44867~45953~44889~46165~44907~46632~44879~46107~44883~46162~44921~46717~44895~46581~44910~46714~44898~46587~44933~46722~45882~44936~46725~45967~45867~45905~44994~45876~45973~45987~45979~44892~46584~45970~46639~46668~46676~46688~46631~46654~46636~46662~46703~46697~46642~46679~46689~46692~46670~46683~46747~46702~46766~46801~46765~46750~46706~46809~46817~46777~46741~46781~46755~46804~46810~46774~46738~46771~46746~46756~46784~46759~46827~46824~46788~46838~46841~46800~46835~46830~46795~46663~46673~46813~46821~46787~46248~46864~46349~46876~46222~46842~46245~46861~46362~46883~46286~46870~46353~46879~46343~46873~46365~46886~46560~47358~46368~46887~46566~47481~46553~47352~46563~47361~46548~46626~46556~47355~46572~47489~46578~47495~46575~47492~46253~46867~46569~47486~39334~39562~39346~39621~39326~39542~39331~39548~39352~39627~39340~39615~39349~39624~39343~39618~39358~39631~39375~39671~39361~39634~39378~39676~39367~39643~39381~39679~39364~39640~39372~39665~39387~39683~39393~39709~39390~39690~39337~39566~39384~39686~40074~40011~40167~40028~40047~40001~40051~40007~40173~40043~40103~40019~40170~40035~40139~40022~40178~40046~39780~40068~40184~40054~39783~40080~39770~40062~39956~40072~39767~40057~39777~40065~39986~40089~40023~40096~39992~40093~40112~40016~39989~40083~40192~40333~40204~40346~40183~40326~40189~40330~40210~40353~40198~40336~40207~40349~40201~40343~40225~40354~40243~40374~40230~40359~40250~40378~40237~40366~40253~40381~40234~40363~40240~40371~40267~40387~40270~40393~40258~40390~40195~40339~40264~40386'))/4000)
)
CONNECT BY REGEXP_SUBSTR(clb, '[^~]+', 1, level) IS NOT NULL;
来源:https://stackoverflow.com/questions/64072157/how-to-convert-long-string-to-clob