Aug 24, 2004 #1 wolves Programmer Jan 26, 2001 130 US Here is the code Code: select * from my_table where substring(name FROM 1 for 3) = 'JOE' Here is the error: ERROR at line 2: ORA-00907: missing right parenthesis Any ideas why?
Here is the code Code: select * from my_table where substring(name FROM 1 for 3) = 'JOE' Here is the error: ERROR at line 2: ORA-00907: missing right parenthesis Any ideas why?
Aug 24, 2004 #2 mrniice Programmer Aug 23, 2004 8 CA Try select * from my_table where substr(name,1,3)='JOE'; Upvote 0 Downvote
Aug 24, 2004 Thread starter #3 wolves Programmer Jan 26, 2001 130 US Thanks, that's the one. Upvote 0 Downvote
Aug 24, 2004 #4 Advocate IS-IT--Management Oct 18, 2000 135 GB http://www.ss64.com/orasyntax/functions.html regards, david - no such thing as problems - only solutions. Upvote 0 Downvote
http://www.ss64.com/orasyntax/functions.html regards, david - no such thing as problems - only solutions.