How can we remove the key from the dataset which has json

uid
id
Json
4588
51
{ "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
4589
52
{ "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
4590
53
{ "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
I have the above dataset resulting from merge operation .
UID -Integer data type
ID- Integer data type
Json- String data type holding json document
How can I remove  the " key" element from the json field  and make my dataset look like 
Expected output which will strip of key value pair from the json column
uid
id
Json
4588
51
{ "element1":{ "a":10 "b": "test1" } }
4589
52
{ "element1":{ "a":10 "b": "test1" } }
4590
53
{ "element1":{ "a":10 "b": "test1" } }
Mudassar

Hello Mudassar,
In SQL Server / T-SQL we don't have a native JSON support, so you would have to implement a solution on your own = parsing the string and remove the "Key" + it's value.
Olaf Helper
[ Blog] [ Xing] [ MVP]

Similar Messages

  • How can i see the URL which has  length more than 255 chars in fucnction

    Hello Every body....
      I am facing one problem....I have a function module which returns URL in one table
      but in the function module display i am able to see only 255 characters,but the URL is more than 255 Characters..How can i see the URL which has the length more than 255 characters..
    In the Table the fields url length is 4000 chars.....
    but display it is showing only 255 chars.....
    Please Help me...??????????

    Hello,
    Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
    * Create document
          clear mail_line.
          move 'This is a test E-Mail'(d01) to mail_line.
          concatenate mail_line
                      cl_abap_char_utilities=>newline
                      into mail_line.
          append mail_line to l_mailtext.
    What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you.
    Vasanth

  • How can i distill the invoice which has not verified?

    hello evryone:
       my problem is I want to distill the invoice which has not 
       verified through the tcode MIRO.
       thanks in advance!

    Hello,
    Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
    * Create document
          clear mail_line.
          move 'This is a test E-Mail'(d01) to mail_line.
          concatenate mail_line
                      cl_abap_char_utilities=>newline
                      into mail_line.
          append mail_line to l_mailtext.
    What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you.
    Vasanth

  • TS1424 How can I remove. Download from the quere

    I recently have been purchasing a few episodes of the office every couple of days... 26 episodes in the season and by the time I got to 15 episodes it said I only owed 2.00 to get reminder of season. I ordered every episode in standard but when I went to download rest of season it deleted all my standard versions and replaced with hd... Now the hd are too big to fit every episode on my iPad and I just want to get them all in standard... iPad won't let me download in standard until the hd versions complete downloading... Takes bout a hour per episode to download... How can I remove the hd episodes from my queer so I can redownload in sd.

    Did you hold the Command (Apple) key while dragging them off the sidebar? That usually makes them go *poof*.

  • How can I remove the mywwwcop scam from my macbook pro?

    How can I remove the mywwwcop scam from my MacBook Pro laptop?

    Safari?
    Press command + option + esc keys together.
    When Force Quit window opens up, click Force Quit.
    Hold the shift key down and launch Safari.
    Best.

  • How can i remove the special characters from my keyboard on my iphone3gs

    how can i remove the special character from my keybord keys on my iphone 3gs

    What characters are you talking about exactly and why would you want to remove any?
    There is really no way to modify Apple's keyboards or add your own in iOS, but there are some apps that may provide a work around.

  • How can i remove secure files from the trash? I tried click away the secure notification in info, but still i cann't remove them. Is there a buttoncombination to use?

    How can i remove secure files from the trash? I tried click away the secure notification in info, but still i cann't remove them. Is there a buttoncombination to use?

    If you are unable to empty the trash, try holding the Option key while selecting Empty Trash.
    Otherwise, some steps in the following link may help you.
    http://support.apple.com/kb/ht1526

  • How can we remove the following zeros from quantity field ?

    Hi All.
    how can we remove the following zeros from quantity field while populating ALV by using FM REUSE_ALV_GRID_DISPLAY ?
    eg:getting output zqty = 2.000
    but i need           zqty = 2.
    help me to reslove this issue.
    Regards.
    jay

    Hi,
      While populating the field catlog do the following thing to   avoid zeros.
      wa_fieldcat-tabname = 'I_OUTPUT'.    " Curr
      wa_fieldcat-fieldname = 'FWAER'.
      wa_fieldcat-seltext_l = text-023.
      wa_fieldcat-no_zero = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR  wa_fieldcat.
    Thanks,
    Khushbu.

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • HT5622 We have two iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself

    My son and I both have iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself from finding out what he is up to during Freshers week!

    You have to use a different Apple ID for your son.
    Read this note:
    iOS 5 & iCloud Tips: Sharing an Apple ID With Your Family
    still valid for ios 7

  • I have lost my phone IMEI  Number 012546005322381, Serial Number 87******A4S, is there a way it can be tracked? Also, how can one remove the device from the itunes account

    I have lost my phone IMEI  Number 012546005322381, Serial Number 87******A4S, is there a way it can be tracked? Also, how can one remove the device from the itunes account
    <Serial Number Edited By Host>

    If you enabled Find my iPhone then you should use that. If not, I'm afraid you're out of luck for finding it. 
    To manage your devices, go to Your Account in iTunes.

  • HT3702 how can i remove the authorization hold from my card...

    how can i remove the authorization hold from my card

    You can try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store
    How much was the amount ? A 'normal' holding charge is a small amount (e.g. equivalent to about $1), and usually happens after you add or change credit card details on your account. Here in the UK it can take a few working days for it to disappear (so a weekend can extend the elapsed time).
    Edit : I don't know what a non-liability certificate is and/or whether Apple can do one.

  • How can I remove the credits from the apple ID and import it to another apple ID?

    How can I remove the credits from the apple ID and import it to another apple ID?
    I want to remove the credit I have from my apple ID to another apple ID.
    Is there a way?

    No, sorry. You cannot transfer an iTunes credit to another Apple ID.
    Cheers,
    GB

  • How can i remove favourite people from the top of my iPhone !

    how can i remove favourite people from the top of my iPhone !

    Hey donyh1,
    Thanks for the question. You can hide the recent contacts in the multitasking screen by navigating to your Contacts settings:
    Contacts settings - iPhone
    http://help.apple.com/iphone/8/#/iph96b20610
    Thanks,
    Matt M.

  • How can i remove the U2 Album from my music library

    Dear All,
    In the recent update, one U2 Music album added automatically in my (I think its added by apple in all devices) which i really don't like.
    Please anyone suggest me how can i remove the album from my music library...!!

    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases - Apple Support

Maybe you are looking for

  • Single Spool for multiple steps

    Hi, I have a requirement, where in for multiple steps in a job i need single spool. Single spool is created for multiple steps when i am running the back ground job with my user id. The problem is when running the same job with the batch user id, mor

  • I don't see an itunes store menu on new version of itunes

    So itunes won't let me rent a movie because it says I haven't authorized my computer. It says to do so I have to go to the store menu, and hit "authorize" but I don't see the store menu anywhere on this new version of itunes.  Please Help.

  • White borders on objects I import from photoshop and illustrator into after effects?

    No matter what format or what program I use to create elements for my After Effects project they import in with a frustrating white border around it.  I don't remember this happening in earlier version on AE, right now I'm working on AE cs5.5.  Anybo

  • Does Media Player keep downloads?

    Sorry for the newbie question. I was wondering if I downloaded videos from Adobe TV (like the tutorials) with Adobe Media Player, will it keep the downloads so that I could reference them again and again? Or do they poof after I watch it? Thanks!!

  • Can we find out if a missing iPod Touch has been used?

    My son lost his 4th Gen iPod touch a few months ago.  It could have been stolen, but it was probably misplaced.  In the odd chance that one of his friends was dishonest, is there a way of contacting Apple to see if his serial number/unit has been use