May 24, 2006 at 9:57 am
Hi,
I am using MDX query in my report.
I want to concatenate two fields belonging to the same dimension table like empID and empName like
empID - empName.
I tried using "+" operator,but didnt work.
Kindly help with examples.
Thanks
Arobind.B
May 24, 2006 at 11:10 pm
Try
empID & empName
May 25, 2006 at 12:48 pm
It didnt work.
Kindly help
May 25, 2006 at 10:17 pm
Is your empID an int datatype?
Try
SELECT CAST (empID AS varchar(20)) + empName
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 28, 2006 at 10:35 am
Mine is an MDX not SQL.
The integer data type didnt had any influence
May 30, 2006 at 5:51 pm
Sorry, I was speaking beyond my knowledge level. *grin*
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgViewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply