- 论坛徽章:
- 0
|
数据格式如下:
[
{
"Indicator":"Life expectancy at birth (years)",
"PUBLISH STATES":"Published",
"Year":1990,
"WHO region":"Europe",
"World Bank income group":"High-income",
"Country":"Andorra",
"Sex":"Both sexes",
"Display Value":77,
"Numeric":77.00000,
"Low":"",
"High":"",
"Comments":""
},
{
"Indicator":"Life expectancy at birth (years)",
"PUBLISH STATES":"Published",
"Year":2000,
"WHO region":"Europe",
"World Bank income group":"High-income",
"Country":"Andorra",
"Sex":"Both sexes",
"Display Value":80,
"Numeric":80.00000,
"Low":"",
"High":"",
"Comments":""
},
{
"Indicator":"Life expectancy at age 60 (years)",
"PUBLISH STATES":"Published",
"Year":2012,
"WHO region":"Europe",
"World Bank income group":"High-income",
"Country":"Andorra",
"Sex":"Female",
"Display Value":28,
"Numeric":28.00000,
"Low":"",
"High":"",
"Comments":""
},
{
"Indicator":"Life expectancy at age 60 (years)",
"PUBLISH STATES":"Published",
"Year":2000,
"WHO region":"Europe",
"World Bank income group":"High-income",
"Country":"Andorra",
"Sex":"Both sexes",
"Display Value":23,
"Numeric":23.00000,
"Low":"",
"High":"",
"Comments":""
}
]
这些数据要定期插入到本地的sqlserver数据库里的一张表里面去,格式如下(字段基本和Json数据的Key一致)。
字段:Indicator PUBLISHSTATES Year WHOregion" WBIG Country Sex Display Numeric Low Comments
请帮忙怎么实现?
|
|