Red Gate forums :: View topic - Azure deployments
Return to RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Azure deployments

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message

Joined: 03 Mar 2009
Posts: 1

PostPosted: Sat Dec 22, 2012 3:39 pm    Post subject: Azure deployments Reply with quote

Does SQL Compare 10.xx support MS Azure SQL Server?

I have tried simple compares and they always fail on deployment. Issues include apparent compatibility issues such as what I pasted below. At first, I took these as hints that I needed to update my database schema, but when it hit the aspnet_Membership_xxx tables, which are integral to Microsoft ASP.NET web sites, I stopped that approach.

It looks like SQL Compare doesn't "just work" with Azure. True or not?


The following error message was returned from the SQL Server:

[40512] Deprecated feature 'Table hint without WITH' is not supported in this version of SQL Server.

The following SQL command caused the error:

CREATE PROCEDURE dbo.aspnet_Membership_GetNumberOfUsersOnline
    @ApplicationName            nvarchar(256),
    @MinutesSinceLastInActive   int,
    @CurrentTimeUtc             datetime
    DECLARE @DateActive datetime
    SELECT  @DateActive = DATEADD(minute,  -(@MinutesSinceLastInActive), @CurrentTimeUtc)

    DECLARE @NumOnline int
    SELECT  @NumOnline = COUNT(*)
    FROM    dbo.aspnet_Users u(NOLOCK),
            dbo.aspnet_Applications a(NOLOCK),
            dbo.aspnet_Membership m(NOLOCK)
    WHERE   u.ApplicationId = a.ApplicationId                  AND
            LastActivityDate > @DateActive                     AND
            a.LoweredApplicationName = LOWER(@ApplicationName) AND
            u.UserId = m.UserId
Back to top
View user's profile Send private message
Brian Donahue

Joined: 23 Aug 2004
Posts: 6678

PostPosted: Tue Jan 15, 2013 11:25 am    Post subject: Reply with quote


SQL Compare fully supports Azure. However, you may have programmability objects in a regular SQL database that you want to migrate to Azure like this stored procedure, and if they implement SQL-only syntax, the migration of these objects to Azure will fail.

The stored procedure will need to have to be changed so it will work on Azure as SQL Compare does not re-write SQL to conform to Azure.

Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group