Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trimming the first character

Status
Not open for further replies.

sonny1974

Technical User
Feb 25, 2007
161
US
I know this is easy, but the search is down, sorry

just cant remember how to do it in sql

i have a field called lot_nbr

the field examples is R92414


how do i take out the first character so the result is 92414
 
Code:
SELECT substr(lot_nbr,2) from <table>;

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top