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!

get first 20 character of a string

misterimranOct 6 2004 — edited Oct 6 2004

Hi guys,

i have a table with name employee
and fields first_name, last_name.

I want to get first 20 characters by concatinating the first_name and last_name.

how can i do this using an sql command.

like if the name is Mirza Imran Baig Ahmed Khan as stored in the database by concatinating first name and last name.

i want to get result like this

Mirza Imran Baig Ahmed.

How can i use ltim or rtim while concatinating the name. pliz help

Imran Baig
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2004
Added on Oct 6 2004
3 comments
2,242 views