Why is the PWDCOMPARE function not supported on an Azure SQL Server 2014 database

I have tried to publish a database from our local SQL Server to Azure but receive an error saying PWDCOMPARE is not supported with no link to a reason why.
We are using HASHBYTES function to encrypt passwords in our database and
PWDCOMPARE to validate them and we currently don't have an alternative (see article: http://sqlity.net/en/2460/sql-password-hash/). The PWDCOMPARE function is referenced by a stored procedure,
which is what won't publish to Azure.
It would be useful to know if it will be supported or if we should create a VM instead.
EDIT: Further Clarified question above, but basically the functions listed are documented in MSDN and there is no mention of them being undocumented unsupported features.
The error occurs when trying to publish a database to Azure from SQL Server 2014 Management Studio

Hi,
I am not an expert to answer this but am trying my best to answer this query.
Hashes a password and compares the hash to the hash of an existing password. PWDCOMPARE can be used to search for blank SQL Server login passwords or common weak passwords.
Syntax
PWDCOMPARE ( 'clear_text_password'
   , password_hash
   [ , version ] )
Note: This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.
I am not sure whether this feature is not available on SQL 2014.
I think you can solve this issue by using the EXECUTE AS. Add this query into a procedure with EXECUTE AS with the user/login with sufficient permissions on the server.
 Refer to belw link for more details on EXECUTE AS
http://msdn.microsoft.com/en-us/library/ms188354.aspx
create
procedure checkpassword
@UserName
SYSNAME
,@Password
VARCHAR(1000)
WITH
EXECUTE AS
'<UserName>'
as
select
pwdcompare(@Password,convert(nvarchar(128),password))
from master.dbo.syslogins
(nolock)
 where name=@UserName
GO
EXEC checkpassword
@UserName='test',@Password='12345678'
Girish Prajwal

Similar Messages

  • Why is the scroll function not working after accessing the voice feature in settings?

    Why is the scroll function not working after accessing the voice feature in settings?

    For some prerecorded audio files the Transpose slider will not work reliably. I found no clear pattern, when it does and when not.
    If all fails, create a loop from the audio file. Select the region in the track and use the command "File: Add region to Loop library".
    Set the current key and tempo, name the loop, and save the loop.
    Now add it from the loop browser to a new track and delete your old track. The search field in the Loop browser will help you to find the loop quickly.
    You will be able to transpose the sample as described above, like a regular loop.
    For example - a audio file turned into a loop and transposed:

  • Why is the power nap not supported by my 2012 macbook pro 13" ?

    I tried to download the power nap update from the apple website but it keeps on saying to me that my laptop is not supported.
    I just downloaded the OS X mountain lion. I read in the website that it is supported by macbook pro (retina. mid 2012) does this mean that it is only for macbook pro with retina display? if so then why is it available to macbook air?

    It's only available on the 2011, 2012 MBair and the MBpro retina.

  • HT1595 Why does the apple tv not support WPA-Enterprise?

    We want to roll out apple tv's to our screens throughout our stores for showing slide shows, ads etc, as well as in our board rooms on our projectors for easy airplay output options for our mobile devices.  It makes it very difficult and less secure if the apple tvs don't support the entprise level security.  With the internal chipworks virtually the same as other iOS devices, why doesn't the apple tv support it and other iOS devices do? 
    Apple : Please add this funcationality asap!

    This is a user forum.  There is no one here from Apple to answer or support design dessions.  Apple calls AppleTV a "hobby" rather than a product.  They have never made it a major focus so if they are cutting courners it is not suprising.  ATV is deffinetly not an enterprise grade product.  It is ment for home use so I am not supprised it does not support it.

  • Why does the sum function not work when I try to add a column of decimal numbers?  The value is always returned as 0.  No problem with whole numbers but decimals do not work!

    just bought a MacBook Air and using Numbers to make a spreadsheet for financial purposes.  The sum function is working ok for whole numbers but when I try to sum a column of 2 decimal place numbers the result always comes back as 0.  Can anyone help?

    Hi laura,
    I suspect that your 2 decimal place numbers are formatted as text. Change the format of the column to currency and see it that works.
    Also You might want to update your profile to reflect your current systems!
    quinn

  • Why is the tab functionality not working in Responsive layout? I need accessibility for non-mouse users.

    I have generated Responsive HTML5 output. The tab key does not do anything. I want users to be able to tab through the topics and expand or collapse the drop-down hotspots. Tab appears to do nothing. If I generate the same content in WebHelp output users can tab between topics and expand/collapse drop-down hotspots. Is there some sort of setting I have to select to get it to work in Responsive HTML5?

    Thanks Phil Flowers !
    Good tip !
    I' ll be ****.....it actually works too !
    This solves the issue of repetatively unplugging  and plug back in the wired USB keyboard to the TB display. 
    Now...if only the Apple support team would acknowledge the problem in the iMac community at large and step up with a hardware / software fix! 
    Love the TB display......but really...............a non funtioning USB keybord ( apple product )  ???  
    Maybe they missed the Computer Design & Engineering class that day.....or medicinal marijauna in the valley ? 
    The support from Apple on this issue reminds me of the 70's video game system ATARI.......The video game PONG comes to mind ....blip....blip....blip.....back and forth with the ball.......  And yet we were entertained & amused at the time !
    Oh well......they got my dollars too !   Just another unit sold !
    Cheers !

  • Why is the transpose function not working?

    I recently updated to GarageBand 10.0.2. When I try to transpose something, the little slider does not move. In the old GarageBand, control+option+G solved this problem, but that's not working now.

    For some prerecorded audio files the Transpose slider will not work reliably. I found no clear pattern, when it does and when not.
    If all fails, create a loop from the audio file. Select the region in the track and use the command "File: Add region to Loop library".
    Set the current key and tempo, name the loop, and save the loop.
    Now add it from the loop browser to a new track and delete your old track. The search field in the Loop browser will help you to find the loop quickly.
    You will be able to transpose the sample as described above, like a regular loop.
    For example - a audio file turned into a loop and transposed:

  • Installation Error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\120 registry key.

    Dear Expert,
    I setup SharePoint for 3 tiers, WFE, APP + DB Server.
    I installed SQL 2014 reporting service Add-in on APP Server and already enable sql reporting service in DB Server. DB Server can do report server.
    I follow the step : https://msdn.microsoft.com/en-us/library/jj219068(v=sql.120).aspx  but I stuck in no.2, I cannot start the services, in picture below.
    I checked the SSRS provision is disabled not online
    Please help.

    Hi MasterBird,
    According to your description, when you register and start the Reporting Services SharePoint Service, the error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\120 registry key is thrown out.
    As this
    article say, if you use three-computer deployment, the first computer hosts an instance of a SharePoint product. The Reporting Services Add-in is installed on this computer. The second computer hosts SQL Server Reporting Services and the third computer
    hosts an instance of the Database Engine.
    Regarding the error message, it could cause by the Reporting Services – SharePoint feature and Reporting Services Add-in for SharePoint Products haven’t been installed. Please refer to articles:
    SSRS SharePoint 2013 Create Service Application error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\110 registry key Error
    Installing SSRS 2012 in SharePoint Mode on SP2010
    If issue persists, please check the error detailed information in ULS logs, and check Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log to see if any error occurred during set up. For more information, please refer to this article:
    Troubleshoot a Reporting Services Installation.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Loaded SQL SERVER 2014 express but where is the management studio

    Loaded SQL SERVER 2014 but where is the management studio.
    It installed okay on windows 8. Laptop is 64 bit
    I see SQL Server Configuration, Error and Usage, Import and Export, Installation center.
    7777nanty

    Download: Express with Advanced Services (SQLEXPRADV)
    http://msdn.microsoft.com/en-us/evalcenter/dn434042.aspx
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Why is the panarama function in my Elements 12 not active? Also, how do you burn and dodge?

    Why is the panarama function in my Elements 12 not active? Also, how do you burn and dodge in Elements 12?

    It sounds like you aren't in Expert Mode. Click the word Expert at the top of the PSE window to go there.
    For burn and dodge, click the Sponge tool and you'll see those tools in the tool options at the bottom of the screen:

  • Hi my harman kardon ms 100 dock system speaker won't connect to my iphone4 anymore, keeps say the device is not supported anymore,why, plz can u give a solution

    Hi my harman kardon speaker dock ssytem wont connect to my iphone 4 anymore, keeps saying the device is not supported any more why!, plz can anyone give me a solution to it!

    Hi my harman kardon speaker dock ssytem wont connect to my iphone 4 anymore, keeps saying the device is not supported any more why!, plz can anyone give me a solution to it!

  • Why the iPod does not support Thai language

    Why the iPod does not support the Thai language? iTunes supports it. If I drag a song with ID3 tags into my iPod the title becomes blank. If I remove the ID3 tags the title displays but the enconding of the characters are inccorect.

    Why the iPod does not support the Thai language?
    The languages supported by the iPod are listed in detail in its tech specs:
    http://www.apple.com/ipod/specs.html
    Hopefully future versions will expand the list to included Arabic, Hebrew, Thai, Vietnamese, Hindi, etc.

  • I tried to delete a calendar while in the app, but now it says the action is not supported in the server. Why won't that pop up stop popping up?

    I tried to delete a calendar while in the app, but now it says the action is not supported in the server? There is also a pop-up that appears every 30 seconds to tell me about the error.

    Probably better to be posting this in the Calendar forum.

  • SQL Server 2014 Express why not support Windows 8.1 Pro ?

    Hi All !
    I tried to setup SQL Server 2014 Windows 8.1 Pro x64, but setup says :
    "The operating system on this computer or its service pack level does not meet the minimum requirements for SQL Server 2014. To determine the minimum required operating system supported for this SQL Server release, see Hardware and Software
    Requirements for installing SQL Server 2014 at:
    An error occurred during the SQL Server 2014 Setup operation.
    Error result: -2067529676
    Result facility code: 1220
    Result error code: 52
    For more information, review SQL Server 2014 Setup logs in your temp folder."
    The log file contains :
    07/08/2014 17:08:25.245 Setup launched
    07/08/2014 17:08:25.261 Attempting to determine media source
    07/08/2014 17:08:25.276 Media source value not specified on command line argument.
    07/08/2014 17:08:25.307 Setup is launched from media directly so default the value to the current folder.
    07/08/2014 17:08:25.323 Media source: E:\Setup\Microsoft\SQL 2014 Express\SQLEXPRWT_x64_ENU\
    07/08/2014 17:08:25.339 Attempt to determine media layout based on file 'E:\Setup\Microsoft\SQL 2014 Express\SQLEXPRWT_x64_ENU\mediainfo.xml'.
    07/08/2014 17:08:25.401 Media layout is detected as: Advanced
    07/08/2014 17:08:25.417 Not a slip stream media, so continuing to run setup.exe from media.
    07/08/2014 17:08:25.448 Error: This OS is not supported
    07/08/2014 17:08:27.479 Setup closed with exit code: 0x84C40034
    Why not supported this OS, if the SQL Server 2012 Express x64 is, and Windows Phone SDK 8.0 also.
    Thanks.

    Hey DBT,
    SQL Server 2014 Express supports your operating system.
    You can see the link below the requirements for each version: http://msdn.microsoft.com/en-us/library/ms143506.aspx
    Did you try to restart the computer and then try installing again?
    There are users that it helps them, it might solve the problem but preventing them expect an error and understand why it happens.
    Sometimes it appears as a result of lack of .NET Framework (check the Microsoft article if you meet the requirements before installation).
    If you are interested to View and Read SQL Server Setup Log Files
    I've provided you a link that explains simply how to do this.
    http://technet.microsoft.com/en-us/library/ms143702(v=sql.110).aspx
    Please Mark This As Answer if it helps to solve the issue
    Tzuri Ben Ezra | My Certifications:
    CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP
    |
    FaceBook: Tzuri FaceBook | vCard:
    Tzuri vCard | 
    Microsoft ID:
    Microsoft Transcript 
     |

  • OCA-30002: ubofscr function not supported -- how to solve?

    Connecting to Oracle8i Lite using SQL*Plus 8 we get following
    message:
    OCA-30002: ubofscr function not supported
    Does anyone know how to solve this problem?
    Thank you in advance,
    Erik Martens
    null

    during the installation you have skip
    one of the step to install the require files
    for 8.0.5.
    what you can do is copy the file ub80w32.dll
    from your installation directory or
    download the latest patches 40016ol.exe from http://support.oracle.com/
    null

Maybe you are looking for

  • Forex reval with balancing field

    we are using Ecc6 new GL(document splitting), during foreign exchange revaluation, we hit error of balancing field profit center not filled for balance adjust account 2130009 defined in oba1, this GL we already configure in SPRO for document splittin

  • Parsing question

    I feel like I know how to do this but I was wondering if anyone would have any better ideas. I have table that stores an id, sequence number, and column for text (4000 BYTES). What I need to do is parse, based on either one or two words on the text c

  • Software 4.7 for Curve 8830

    I have been a BB user for 2 days receiving my phone on Friday.My phone came with BlackBerry Desktop 4.5 and I initially installed this version. Yesterday, being a web surfer I checked for updated software and found there was a 4.7 release which I dow

  • Downloading already purchased music?

    I have already download like half of the music from iCloud. I did this about a month and a half ago and then I could just press the little iColud download button. But now I when I want to download the other half of the music, when I click the button

  • WCS 7.0.230.0 Server Backup

    if i  enable Controller Configuration Backup is that included  in the server backup? and can the controller configs be specifically  extracted from the server backup? thanks