INSERT INTO语句错误
INSERTINTO监视信息数据表(TimeOfTrackNumber,CalculatedTrackPositionLatitude(WGS-84),Calculate...
INSERT INTO 监视信息数据表 ( Time Of Track Number,Calculated Track Position Latitude(WGS-84), Calculated Track Position Longitude(WGS-84),Calculated Track Position X(Cartesian),Calculated Track Position Y(Cartesian),Calculated Track Velocity Vx(Cartesian), Calculated Track Velocity Vy(Cartesian) )VALUES('UTC时间3时3分50秒' , '北纬31.92458度' , '东经125.07989度', '310738米' , '91147米', '-107.5m/s', '-182.75m/s')错误后time被选中了,最前面那个time
展开
1个回答
展开全部
INSERT INTO "监视信息数据表" (
"TIME OF Track NUMBER",
"Calculated Track POSITION Latitude (WGS - 84)",
"Calculated Track POSITION Longitude (WGS - 84)",
"Calculated Track POSITION X (Cartesian)",
"Calculated Track POSITION Y (Cartesian)",
"Calculated Track Velocity Vx (Cartesian)",
"Calculated Track Velocity Vy (Cartesian)"
)
VALUES
(
'UTC时间3时3分50秒',
'北纬31.92458度',
'东经125.07989度',
'310738米',
'91147米',
'-107.5m/s',
'-182.75m/s'
);
这样写试一下,在列名和表名的两边加上双引号,看看是否好用。
"TIME OF Track NUMBER",
"Calculated Track POSITION Latitude (WGS - 84)",
"Calculated Track POSITION Longitude (WGS - 84)",
"Calculated Track POSITION X (Cartesian)",
"Calculated Track POSITION Y (Cartesian)",
"Calculated Track Velocity Vx (Cartesian)",
"Calculated Track Velocity Vy (Cartesian)"
)
VALUES
(
'UTC时间3时3分50秒',
'北纬31.92458度',
'东经125.07989度',
'310738米',
'91147米',
'-107.5m/s',
'-182.75m/s'
);
这样写试一下,在列名和表名的两边加上双引号,看看是否好用。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询