我有一个 azure 数据库,现在我正在创建一个可以访问数据的新移动应用程序。所以我尝试按照本教程复制表格:
http://blogs.msdn.com/b/jpsanders/archive/2013/05/24/using-an-existing-azure-sql-table-with-windows-azure-mobile-services.aspx
我只能看到记录的表名和有效编号,当我单击表时,它会抛出一个错误,指出未加载数据:ERROR 400。
这是我用来解决教程中给出的查询,但它给了我语法错误。
SET IDENTITY_INSERT sport_ody.EVENT_DETAILS ON
GO
INSERT INTO sport-ody.NEW_EVENT_DETAILS (eventId, locationId, eventStartDate, eventEndDate, eventDescription, displayFlg, lastModDate, soldoutFlg, eventName)
SELECT eventId, locationId, eventStartDate, eventEndDate, eventDescription, displayFlg, lastModDate, soldoutFlg, eventName FROM sport-ody.EVENT_DETAILS
请指导。我找不到太多关于它的教程。