sql - How to store JSON data in a meaningful way in Oracle -
using twitter api, can tweets :
{ "coordinates": null, "created_at": "mon sep 24 03:35:21 +0000 2012", "id_str": "250075927172759552", "entities": { "urls": [ ], "hashtags": [ { "text": "freebandnames", "indices": [ 20, 34 ] } ], "user_mentions": [ ] }, "in_reply_to_user_id_str": null, "contributors": null, "text": "aggressive ponytail #freebandnames", "metadata": { "iso_language_code": "en", "result_type": "recent" }, "retweet_count": 0, "profile_background_color": "c0deed", "verified": false, "geo_enabled": true, "time_zone": "pacific time (us & canada)", "description": "born 330 live 310", "default_profile_image": false, "profile_background_image_url": "http://a0.twimg.com/images/themes/theme1/bg.png", "statuses_count": 579, "friends_count": 110, "following": null, "show_all_inline_media": false, "screen_name": "sean_cummings" }, "in_reply_to_screen_name": null, "source": "twitter mac", "in_reply_to_status_id": null }
you can see data perfect mongodb, can write data there. want store data on sql db oracle. don't know how store nested parts :
"entities": { "urls": [ ], "hashtags": [ { "text": "freebandnames", "indices": [ 20, 34 ] } ], "user_mentions": [ ]
can tell me how should write such properties on oracle? should create new table each nested property(which unwilling do) or there way? there magical such can store tweet data in 1 place it's done on nosql? thanks.
Comments
Post a Comment