【发布时间】:2016-03-02 19:05:01
【问题描述】:
我想在 SQL Server 2014 中添加一个 txt 文件以进行分析。 下面是来自 MixPanel 的一行 txt 文件。
{"event":"Search","properties":{"time":1445126437,"distinct_id":"S182248485740","$browser":"Chrome","$browser_version":46,"$city":"Hartlepool","$current_url":"https://flat-club.com/","$initial_referrer":"https://www.google.co.uk/","$initial_referring_domain":"www.google.co.uk","$lib_version":"2.7.1","$os":"Windows","$referrer":"https://www.google.co.uk/","$referring_domain":"www.google.co.uk","$region":"Hartlepool","$screen_height":768,"$screen_width":1366,"$search_engine":"google","ABtesting":"B","Check in date":"(21-10-2015)","Check out date":"(24-10-2015)","LoggedIn":false,"Search Location":"London, United Kingdom","Source":"homepage","Type of Stay":"Holiday","mp_country_code":"GB","mp_lib":"web"}}
我必须在 SQL Server 导入向导中进行哪些选项才能插入它们?我可以手动替换{等,但我有一个无法打开的 txt 2GB。
【问题讨论】:
标签: sql-server tsql import