Actually both return the same (just tried in 8.1.7 on NT): select substr (test_col, 0, 1) from my_table select substr (test_col, 1, 1) from my_table
The problem may be with getting the VERSAL but don't know what it means Witold On 27 Mar 2002 at 4:38, Nicoll, Iain (Calanais) wrote: > Roland, > > Substr starts with 1 > > eg > > select (substr (namn,1,1)) from test will give you the 1 character > starting from the first character. > > Unfortunately I don't know what you mean by versal. > > Iain Nicoll > > -----Original Message----- > Sent: Wednesday, March 27, 2002 11:59 AM > To: Multiple recipients of list ORACLE-L > > > Hallo, > > I know this question sound a bit simple, but can anyone give me a > select statement which make the first character of the word in a field > Would appreciate very much. I have checked the manual but cant get it > right. > > I am starting with this sql statement: > > select (substr (namn,0,1)) from test to pick outthe first character > and I want that first character to be a VERSAL. > > > Thanks in advance > > Roland > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message to: > [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the > message BODY, include a line containing: UNSUB ORACLE-L (or the name > of mailing list you want to be removed from). You may also send the > HELP command for other information (like subscribing). -- Please see > the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Nicoll, > Iain (Calanais) > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message to: > [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the > message BODY, include a line containing: UNSUB ORACLE-L (or the name > of mailing list you want to be removed from). You may also send the > HELP command for other information (like subscribing). ================================== Witold Iwaniec Sr Software Developer NovaLIS Technologies [EMAIL PROTECTED] http://www.novalistech.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Witold Iwaniec INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
