I am trying to pull data from table using this select statement..
SELECT ID_NO
FROM EMPLOYEE
WHERE trim(SYN_NO) ='21IT';
SYN_NO column hold data in this format
21IT / 00065421
I want to get just first four characters and drop rest of it.. i tried trim, rtrim but it didnt work. Is there a way to do this.. Thank you
Sadly for those of us coming from SQL Server, there is no
LEFTin oracle. The article I linked below talks about one person’s encounter with this problem, and recommends using(see article)
Oracle SUBSTR specification