dbTalk Databases Forums  

leftmost char from a field

mailing.database.myodbc mailing.database.myodbc


Discuss leftmost char from a field in the mailing.database.myodbc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
vchu via DBMonster.com
 
Posts: n/a

Default leftmost char from a field - 03-25-2008 , 01:04 PM






Do we have something like

select right(left(contract_no, 2),1) from contract;

I want to get the second character of the contract.

btw, can anyone suggest a good book about the informix sql synatx for me?

Thanks
Victor

--
Message posted via http://www.dbmonster.com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.