Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

concatenation problem

Status
Not open for further replies.

cogjai

Programmer
May 8, 2002
47
HK
Hi,

I need to concatenate decimal value with an string and i am using db2 as a database is there anyway to concatenate decimal with string actually i am able to concatenate but i am not getting the expected one for ex decimal value is like
000000.001 and another decimal value is like 000000.050 i am getting an output 000000.001 000000.050 using cast_char function.But My output must be something like this 1 50.

Is there any way to achieve this kindly help me in this issue.

Thanks & Regards,

Mani.

Thanks in Advance
 
How about this:

(Value1 * 1000) || " " || (Value2 * 1000)

I am what I am based on the decisions I have made.

DoubleD [bigcheeks]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top