Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6351035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:55:31+00:00 2026-05-24T21:55:31+00:00

The Data in the column is stored in this Format. I am storing Data

  • 0

The Data in the column is stored in this Format. I am storing Data in JSON format in column

{"item": {
    "actor":{
        "time":"2011-08-21 21:56:37",
        "ip":"127.0.0.1",
        "id":"2010072123522251",
        "email":"abc@abc.com",
        "session_id":"c05e3e61a19650b4ca12a21c2e34df5f",
        "loggedout":""},
    "action":{
        "name":"publish",
        "text":"a_id=11714" ,
"a_id":"11714"
    }
}}

Now i want the Result like this

time ip id email session_id

2011-08-21 21:56:37 127.0.0.1 2010072123522251 2010072123522251 2010072123522251

I used the query like this

SUBSTRING(msg,LOCATE('a_id',msg)+5,(LOCATE('"',msg)+2) ) AS answer_id

But it is not returning me good results. Some results are terminated. Please suggest

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T21:55:31+00:00Added an answer on May 24, 2026 at 9:55 pm

    I did it using Python text processing. as there is no good way via Sql.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a column which has date-values stored in varchar (format ddmmyy) like this
The mysql prompt spits out column data in a messy format, is there a
I have one column in my table which will store data in string format
I want to create a 2D table format from my data stored in a
I want to store a data structure thats a table with one column Strings
I'm pivoting data in MS SQL stored procedure. Columns which are pivoted are dynamically
I'm trying to make a data bound column invisible after data binding, because it
How can i export table data with column name in text file in sql
Lets say I have 2 columns in my data Grid: Column A: Selected, and
What I want to do is while executing MySQL query, passing column data into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.