"Eduard Deacoon" <deac@yandex.ru> writes:
> If $4 has leading zero it does`n work :(
please expand on "doesn't work"
> Context replace with ''0 || '' || $4 work only if $4 have one leading zero.
> ''00 || '' || $4 does`n work, ''0 || 0 ||'' || $4 - work
I'm sorry I'm not following this part. What parameters did you call this
function with? What did you expect to happen? What actually happened?
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's 24x7 Postgres support!