Jump to content

sql nerchukundam randiii... Ms sql server technology discussions...


mtkr

Recommended Posts

3 minutes ago, Kontekurradu said:

What is mdx MAN ?

Multi Dimensional expression. Idi oka language tsql laga cubes nundi data pull cheyadaniki this is more related to SSAS

MDX enti ani adigavu ante porapatuna kuda SSAS job ippatlo try cheyaku endukante deeniki next amma mogudu DAX kuda vachindi 2012 version loo 

Link to comment
Share on other sites

7 minutes ago, sanbk said:

Multi Dimensional expression. Idi oka language tsql laga cubes nundi data pull cheyadaniki this is more related to SSAS

MDX enti ani adigavu ante porapatuna kuda SSAS job ippatlo try cheyaku endukante deeniki next amma mogudu DAX kuda vachindi 2012 version loo 

DAX is the most easiest language compared to MDX / SQL man... MDX is the mother of SQL man...

Link to comment
Share on other sites

Just now, loveindia said:

DAX is the most easiest language compared to MDX man... MDX is the mother of SQL man...

MDX n SQL are two different languages. but mDx is more complex.. DAX is not too complex easy to learn with a basic knowledge of excel functions. 

Link to comment
Share on other sites

hi sql babus , i need some help 

i have table like following structure 

claim Id 

1234

2346G

5673

45673C

56732

Which ever has alphanumeric ,the last string value should be replaced with blank value so that every records are INT.... Results should be like below

1234

2346

5673

45673

56732

Thank you in advance... :)

Link to comment
Share on other sites

3 hours ago, cool_dude said:

hi sql babus , i need some help 

i have table like following structure 

claim Id 

1234

2346G

5673

45673C

56732

Which ever has alphanumeric ,the last string value should be replaced with blank value so that every records are INT.... Results should be like below

1234

2346

5673

45673

56732

Thank you in advance... :)

don't post easy kochens like this man... see below...

;WITH CTE AS (
SELECT '123' AS ClaimID
UNION
SELECT '1234A'
)
SELECT ClaimID
FROM CTE
WHERE ISNUMERIC(ClaimID) = 1
UNION
SELECT LEFT(ClaimID, LEN(ClaimID) - 1)
FROM CTE
WHERE ISNUMERIC(ClaimID) <> 1

Link to comment
Share on other sites

On 6/4/2016 at 10:11 PM, loveindia said:

don't post easy kochens like this man... see below...

;WITH CTE AS (
SELECT '123' AS ClaimID
UNION
SELECT '1234A'
)
SELECT ClaimID
FROM CTE
WHERE ISNUMERIC(ClaimID) = 1
UNION
SELECT LEFT(ClaimID, LEN(ClaimID) - 1)
FROM CTE
WHERE ISNUMERIC(ClaimID) <> 1

ha ha... thank you lovindia bhaiyya... will check it..Next time complex ga aduguthanu...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...