Hello Friends,
I am looking for solution to Trim the first 2 characters of a V_String Field in In-Database.
Thanks for help in Advance!!
Solved! Go to Solution.
Depends on the database server you are connected to unfortunately.
Oracle uses SubStr([Field],3) and SQL Server uses SubString([Field],3, LEN([Field])-2)
See http://www.sqlines.com/oracle/functions/substr
My Bad, I didn't explain my question correctly,. I am looking for solution to get only first 2 characters from a v_string field.
left(field,2) should likely work in your SQL.
Cheers,
Mark
User | Count |
---|---|
17 | |
15 | |
15 | |
8 | |
5 |