Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

blank space in SQL

scottjhnJun 18 2007 — edited Jun 18 2007
In a SQL statement, select a, b, ' ' c...

Here, the field c is of char(101). There are two ways to do it:

1) put 101 blank spaces in-between ' '

2) use some function

I do not like 1). I prefer 2). But I do not remember the function (something like space(101)). But not so sure.


Thanks.

Scott

Message was edited by:
scottjhn
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2007
Added on Jun 18 2007
3 comments
245 views