Avatar of Metalteck
Metalteck
Flag for United States of America

asked on 

Oracle SQL Char delimited error

I'm trying to add the address; which is a char 30, to my oracle sql delimited query.
The length is supposed to be set to 40.

I'm using the following code, but its only returning a 0.
||lpad(substr(emp.addr1,1,40),40,'')

Can someone help me correct this.

Thanks
Oracle DatabaseSQL

Avatar of undefined
Last Comment
awking00

8/22/2022 - Mon