Windows azure で SQL スクリプトを実行しようとしていSQLAzureMW v3.9.9.1 Release Binary
ます
Unclosed quotation mark after the character string ...
。私のSPは元気ですMSSQL 2008
。
変換前の私のsp:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[EntryUpdate]
@EntryID INT,
@Value NVARCHAR(100),
@Text NVARCHAR(150),
@CurrencyCode NVARCHAR(50),
@DisplayLocale NVARCHAR(50),
@Description NVARCHAR(500),
@IsActive BIT,
@UpdatedBy NVARCHAR(256),
@Culture NVARCHAR(256)
AS
BEGIN
UPDATE dbo.Lists
SET
[Value] = @Value,
[Text] = @Text,
[CurrencyCode]=@CurrencyCode,
[DisplayLocale]=@DisplayLocale,
[Description] = @Description,
[IsActive]=@IsActive,
[UpdatedBy] = @UpdatedBy,
[UpdatedOn] = GETDATE()
WHERE [EntryID] = @EntryID AND Culture=@Culture
END
私のspで変換した後は次のようになりSQLAzureMW v3.9.9.1 Release Binary
ます。
--Other Procedure
'
END
GO
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[EntryUpdate]') AND type in (N'P', N'PC'))
BEGIN
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[EntryUpdate]
@EntryID INT,
@Value NVARCHAR(100),
@Text NVARCHAR(150),
@CurrencyCode NVARCHAR(50),
@DisplayLocale NVARCHAR(50),
@Description NVARCHAR(500),
@IsActive BIT,
@UpdatedBy NVARCHAR(256),
@Culture NVARCHAR(256)
AS
BEGIN
UPDATE dbo.Lists
SET
[Value] = @Value,
[Text] = @Text,
[CurrencyCode]=@CurrencyCode,
[DisplayLocale]=@DisplayLocale,
[Description] = @Description,
[IsActive]=@IsActive,
[UpdatedBy] = @UpdatedBy,
[UpdatedOn] = GETDATE()
WHERE [EntryID] = @EntryID AND Culture=@Culture
END
'
----Other Procedure
検索しましたが、手がかりが見つかりません。このエラーについて何か考えがあります。ありがとうございます。