13-JUL-17
Bank User Space Occupied(GB)
------------------------------ ------------------
CKYC_MNSB .004211426
CORE_AMARNATH_ASP 8.75262451
CORE_AMBUJA 6.80389404
CORE_AMBUJA_ASP 10.0085449
CORE_ANAND_MERC_ASP 18.9866333
CORE_BALOTRA 17.8280029
CORE_BASODA 4.55432129
CORE_CHHAPI_ASP 11.9767456
CORE_DHANGDHRA_ASP 13.1849976
CORE_IDAR_ASP 13.3209229
CORE_JANTA_HALOL_ASP 12.7955933
Bank User Space Occupied(GB)
------------------------------ ------------------
CORE_JHALOD_URBAN_ASP 9.19219971
CORE_MANINAGAR 5.36090088
CORE_MANINAGAR_ASP 6.31414795
CORE_SANKHEDA 20.4329834
CORE_SMCB_ANAND_ASP 11.3191528
CORE_TARAPUR_ASP 8.24627686
CORE_VUCB .000610352
TBA_TEMP 5.39910889
TEST_DUNIA 4.15698242
20 rows selected.
TABLESPACE NAME Free Space in GB
------------------------------ ----------------
TBAPROJ 33.2736816
我有上面的文本文件。如何轉換和存儲文本文件爲csv
如何將CSV文件以列分隔存儲?
我有加載文件,但很難從文件中刪除空格。
感謝Val,當我保存文件的銀行名稱和佔用的GB都存儲在單列中如何分開它? – Ree
@Ree請參閱我的編輯:我只是更改正則表達式,僅刪除2個或更多個連續的空格,在單詞之間留下單個空格,以使它們落入單個列 – Val