Azure sql database 无法将现有AZURE表数据复制到AZURE中的新移动服务:错误400

Azure sql database 无法将现有AZURE表数据复制到AZURE中的新移动服务:错误400,azure-sql-database,azure-storage,azure-mobile-services,Azure Sql Database,Azure Storage,Azure Mobile Services,我在azure中有一个数据库,现在我正在创建一个可以访问数据的新移动应用程序。因此,我尝试按照本教程复制表: http://blogs.msdn.com/b/jpsanders/archive/2013/05/24/using-an-existing-azure-sql-table-with-windows-azure-mobile-services.aspx 我只能看到表名和记录的有效编号,当我单击表时,它会抛出一个错误,表示数据未加载:错误400 这是我在教程中给出的用来解析的查询,但它给

我在azure中有一个数据库,现在我正在创建一个可以访问数据的新移动应用程序。因此,我尝试按照本教程复制表:

http://blogs.msdn.com/b/jpsanders/archive/2013/05/24/using-an-existing-azure-sql-table-with-windows-azure-mobile-services.aspx
我只能看到表名和记录的有效编号,当我单击表时,它会抛出一个错误,表示数据未加载:错误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 

请导游。我找不到太多关于它的教程。

我在您的模式名称上犯了一个错误。 一开始,你写了《体育》一书(带“uu”) 在你的查询中,你用“-”号填上了

更改此选项以更正语法错误

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 
Azure移动服务使用服务名称创建SQL架构,但它将通过下划线更改连字符。因此my-mobile-service.azure-mobile.net将创建一个名为my_mobile_service的架构


Jérémie Devillard

请回复人们。。这真的是个愚蠢的问题吗?很抱歉,这是我第一次使用azure,我被困在里面了。