In Oracle, you can emulate the space() function with:
rpad(' ',n,' ')
Where n less than the total length of the string of spaces you want.
eg. for a line of 40 spaces:
select rpad(' ',39,' ') as "40 spaces" from dual
dual is a dummy table that you can use to test calculations and string manipulations without extracting real life from the table.
Ray martin
source share