2012-12-19 180 views
0

我在Oracle數據庫中有一列,其中存儲了連接的值。例如,從列值中刪除額外空間

/uk/letters/default?/uk/letters/funny_letters? 
/uk/letters/letters?/library/conditionalstyle?o=3&f=11/uk/letters/funny_letters?  
/uk/workinglife/viewarticle_93?/library/conditionalstyle?/uk/financialcentre/car_tax_calculator? 
/uk/job-hunting/default?/partners/msn/i-resignfinctr?/uk/letters/letters?/ 

在這兩個網址之間,有一些間隔。我怎樣才能刪除它們?

回答

2
UPDATE YourTable 
SET YourColumn = REPLACE(YourColumn, ' ', '') 
相關問題