I have 2 issues with below query
1) I want to append ‘HDR’ before the output of below query
select unique count(quote_id)
from T_CONV
I tried various ways
select 'HDR'|| unique count(quote_id)
from T_CONV
select 'HDR' + unique count(quote_id)
from T_CONV
but none of them is working
Please let me know how to do that.
2) I also want to ensure that output of count should immediately start after HDR without any spaces or tabs , for that I tried RPAD function but that is not working with count function.
help is highly appreciated
try this