Substring Questions and Answers

Recent IT Questions

1 - 2 of 2
<<PREVIOUS 1 NEXT>>

Concatenation

I am using "substring(concat('00'...." within my SQL select for a date query. However, the date 10 and higher is being overridden with "0". How do I prevent this from happening?

View Answer   |  Jun 9 2009  6:55 PM GMT
Substring, SQL Select, SQL Query
asked by BGramby

  15 pts.

UE SUBSTR or RTRIM?

I need to get cities' name from a format like this: Los Angeles, CA New Orleans, LA etc.. I've tried: substr(a.air_location, -4) but that gives me the opposite...", LA" Any suggestions? Thanks.

View Answer   |  May 7 2009  5:21 AM GMT
SUBSTR, RTRIM, InStr function
asked by Antgaudi

  5 pts.

1 - 2 of 2
<<PREVIOUS 1 NEXT>>