$ 0 0 Please explain how this wotks. SEL SUBSTR(CAST(12345 AS VARCHAR(5)),1,3) This gives "123" as OP whereas SEL SUBSTR(12345,1,3) gives only "12", why does when passing integer/number it always reduces one explictly and gives output?Tags: substrintegerForums: Database