Sp_addextendedproperty is not available in sql Azure
Please specify some sort of alternative of
sp_addextendedproperty in sql azure
Hi sonesh,
According to your description, since the issue regards SQL Azure database. I will help you move the question to the Windows SQL Azure forums at
http://social.msdn.microsoft.com/Forums/en-US/home?forum=ssdsgetstarted.It is appropriate and more experts will assist you.
In addition, sp_addextendedproperty is not available in SQL Azure databases now. When you create table in SQL Azure database, the columns and other objects can declare with the following comments or you can use a special build of SQL Compare.
http://stackoverflow.com/questions/12458292/how-do-you-comment-your-db-schema-objects-in-sql-azure-database-project
http://sqlblog.com/blogs/john_paul_cook/archive/2010/09/12/sql-azure-differences.aspx
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support
Similar Messages
-
Data Collector Reports not available for SQL Reporting Services only SSMS
I never understood this one, why would you program Reporting Services (SSRS) reports inside SQL Server Management Studio (SSMS)?
The reports are available only through the SSMS interface, buried somewhere in the GUI, not easy to find.
Please make the MDW reports available on Reporting Services!Hello,
These are not SSRS reports, these are RDLC reports for local rendering in a client application like SSMS; similar, but not the same. The reports are embedded as a resource in an assembly, that's
the reason why you can't find them.
You can have a SQL Server installation without Reporting Services; where should be the reports hosted then, if not in SSMS?
You can create your own SSRS based report; simply use SQL Profiler to capture the queries used by the origin reports.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Data Modeler not available within SQL seveloper
I've normally used data modeler from within SQL developer but installing SQL developer on a note book computer the data modeler was at first available normally, but when I next opened sql developer the Data modeler did not appear in the File menu. I subsequently downloaded the data modeler separately so I can open it that way but could somebody please advise where I've gone wrong.
thanks John.Hi Kent, yes I thought there must have been an option I turned off. I have tried the Tools> Extensions > data modeller and it did indicate there was an update. But when I select it and continue nothing much happens and then it asks to reboot. But data modeller option is still not in the File menu.
-
Find DbObject Wizard is not available in Sql developer 3.0
Hi,
when I click on View -> find DB Objects, I m not seeing that screen anymore.
Initially when I installed for the first time I did use it, but now I cannot find it.
Is there any issue with the docking ?
This is most important attribute I like about sql developer which seems to be having some issue in latest version
Please let us know if there is any preference setting to getting it back.
I dont want re install it as I ve done lot of preference setting.
Thanks,
AkashDeleting the [Windows user profile]\Application Data\SQL Developer\system3.0.03.45\o.ide.11.1.1.4.37.59.7\windowinglayout.xml file should restore default settings.
Hope that helps,
K. -
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 StudioHi,
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 -
I'm unable to create a new Table on SQL Azure.
I'm trying to create a new table in my custom database. But i'm getting this error message:
'Filegroup reference and partitioning scheme' is not supported in this version of SQL Server.'
Here is the sample create schema:
CREATE TABLE dbo.[Contact](
[ID] [int] IDENTITY(1,1) NOT NULL,
[FirstName] [nvarchar](250) NULL,
[LastName] [nvarchar](250) NULL,
[InsertDateTime] [datetime] NULL,
[UpdateDateTime] [datetime] NULL,
[PhoneNo1] [nvarchar](50) NULL,
[CellNo1] [nvarchar](50) NULL,
[IsActive] [bit] NOT NULL,
CONSTRAINT [PK_Contact] PRIMARY KEY CLUSTERED
[ID] ASC
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
BTIn addition to Neil's comment, I would add that one of the major strengths of SQL Azure is its simplicity from an administrative standpoint while providing as much parity as possible for the relational and programming stack. In somes
cases, less is more. SQL Azure is an example. By having a simpler system we are able to get certain capabilities not available on premise. Take a look at the CREATE DATABASE XYZ AS COPY OF operation for example, you do not have to worry about finding
a server with enough space; you do not have to worry about moving files around a network or creating shares between machines; and best of all, you do not have to any kind or provisioning of cleanup as a result of cloning a database. The upcoming Data Federation
feature is another example of what you can achieve when you are free of underlying configuration details.
That's not to say SQL Azure wouldn't benefit from some capabilties of the SQL Server platform (for example TDE); but personally I am happy that two years later we still don't have to worry about many of those low-level configuration details.
Herve Roggero, Blue Syntax MVP SQL Azure Co-Author: Pro SQL Azure -
Hi,
We are using the automatic backup option available with Sql Azure , but it is not working for us and throwing the some error.When we raised the ticket for same we had received reply saying this feature is not supported by MS.
Could you please advise what is best approch for taking the backup for Sql Azure Database.
Regards...Point in time restore is a great feature to sit along side automated export but not a replacement. Automated Export allows us to keep long term backups (30, 60, 90 days) which are important and also allows the ability to import to my local server a backup
from a previous day for testing or support reasons.
RedGate provide a backup service as well but I was hoping by using PIT restore and automated backup together I would no longer need to pay for that third-party service. -
Error in Migration Db sql server to sql Azure, how i can fix this errors
I get an error TOTAL_WRITE is not supported in current version when i try validate my database from sql server migration in to sql azure. How I can Fix this error migrate to sql azure
Also I git this error sp_spaceused is not supported in current version of Azure SQL Database – Reynel Useche Velasco 22 mins ago
StoredProcedure [dbo].[p_sizetables] -- 'db_name(' is supported only for the local database. You should test to verify the results are what you want. – Reynel Useche Velasco just now edit
Reynel Alfredo Useche VelascoHi Reynel,
I see that you have posted this query on stack overflow.
I would like to involve our SQL experts in this topic and get the best solution.
As of now to my knowledge @@TOTAL_WRITE is not supported on SQL Azure.
In the meantime, you can refer the below links for migrating your database from on-prem to Azure.
https://msdn.microsoft.com/en-us/library/hh313125(v=sql.110).aspx
https://msdn.microsoft.com/en-us/library/hh313129(v=sql.110).aspx
Hope this helps you.
Girish Prajwal -
Start_Service is Not Available in OWB Control Center Manager
I am running OWB 10.2.0.1.0
I have one problem connecting to the Control Center Manager
(RTC-5260,RTC-5301).
RTC -5260: Failed to connect to Control Center. Please check you have provided the correct host, user, password, and service name.
RTC - 5301: The Control Center Service is not currently available.
I am logging as my repository owner and I run the script start_service.sql in Sql*Plus location in “@OracleHome\owb\rtp\sql\....”.
SQL> @e:\OraHome_1\owb\rtp\sql\start_service.sql;
Not available
Diagnostics:
service startup failure using command "cmd /q/c E:\OraHome_1\owb\bin\win32\run_
service.bat -manual 1 E:\OraHome_1 REP_PROPIETARIO WORACLE10G.BFGP.COM 1521 JDE
OWB" reason ORA-29532: Java call terminated by uncaught Java exception: java.io
.IOException: service early exit: code=0 : err=2007/02/16-14:51:50-GMT-04:00 [8
72380] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: A
n infrastructure condition prevented the request from completing.
- ORA-01882:
timezone region not found
at oracle.wh.runtime.platform.service.controller
.PlatformDb.connect(PlatformDb.java:83) at oracle.wh.runtime.platform.service
.Service.<init>(Service.java:125) at oracle.wh
PL/SQL procedure successfully completed.
SQL> @e:\OraHome_1\owb\rtp\sql\show_service.sql;
Not Available
PL/SQL procedure successfully completed.
How can I place availably the service?
pls help...
regards
Jorge M. Tomioka M.
[email protected]Hi Jorge,
You have something to do in your local PC with regard to its timezone setting. Please follow the below link ...
RTC-5260 AND RTC-5301
Cheers,
Swagata -
I'd like to move an on-premesis SQL Server Database to SQL Azure. I've used SQL Mgmt Studio to Extract Data Tier Application and save my db as a dacpac file. Now I'm connected to my Azure server and I've chosen to Deploy Data Tier Application. I select my
dacpac and the deploy starts but then on the last step "Registering metadata for database" it times out. I've tried it a couple of times and each time the deployed database is there and appears to be fully populated, but I'm not sure if I can ignore
that error and continue. What is supposed to happen in that step, and should I expect it to fail when deploying to SQL Azure?
I'm following the steps here http://msdn.microsoft.com/en-us/library/hh694043.aspx in the Using Migration Tools > Data-tier Application DAC Package section, except that to deploy there's no SQL Mgmt Studio > Object Explorer [server]
> Management >"Data Tier Applications" node, so I'm deploying by right-clicking on the server name and choosing "Deploy Data-tier Application".
My (total) guess here is that it's deployed the database fine and it's doing whatever magic happens when you register a data tier application, except that it's not working for SQL Azure.
I'm running against a server created for the new Azure service tiers, not against a Web/Business edition server.
The full details of error I get are below.
thanks,
Rory
TITLE: Microsoft SQL Server Management Studio
Could not deploy package.
Warning SQL0: A project which specifies SQL Server 2008 as the target platform may experience compatibility issues with SQL Azure.
(Microsoft.SqlServer.Dac)
ADDITIONAL INFORMATION:
Unable to register data-tier application: Unable to reconnect to database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft.Data.Tools.Schema.Sql)
Unable to reconnect to database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft.Data.Tools.Schema.Sql)
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server, Error: -2)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.9213&EvtSrc=MSSQLServer&EvtID=-2&LinkId=20476
The wait operation timed out
BUTTONS:
OKHello,
The registration process creates a DAC definition that defines the objects in the database, and register the DAC definition in the master system database in Windows Azure SQL Database.
Based on the error message, there is timeout error when connect to SQL Database. Did you deploy a large database? When move large data to Azure SQL Database, it is recommended to use SQL Server Integration Services (SSIS) and BCP utility.
Or you can try to create a client application with the Data-Tier Application Framework (DACFx) client tool to import database and handle connection loss it by re-establish the connection.
Reference: http://sqldacexamples.codeplex.com/
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
Issue in Migrating Sql Server Database 2012 to Sql Azure
Hi All
I am facing following issue while Deployed MS SQL Server 2012 Database to SQL Azure.
TITLE: Microsoft SQL Server Management Studio
One or more unsupported elements were found in the schema used as part of a data package.
Error SQL71564: The element Extended Property: [dbo].[Accounts_Login].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
Error SQL71564: The element Extended Property: [dbo].[Company_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
Error SQL71564: The element Extended Property: [dbo].[Message_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
Error SQL71564: The element Extended Property: [dbo].[Requests_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
Error SQL71564: The element Extended Property: [dbo].[Twitter_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
Error SQL71564: The element Extended Property: [dbo].[Users_Master].[MS_SSMA_SOURCE] is not supported when used as part of a data package (bacpac).
(Microsoft.SqlServer.Dac)
Error SQL71564: The element Extended Property: xxx is not supported when used as part of a data package (bacpac).
Thanks & Regards Ravi ShankarHello,
Extended Properties are not supported in SQL Azure.
To work around this issue, you can use Generate Scripts Wizard to generate script which are compatible with SQL Database and can be compiled on SQL Database without any further modifications. For example, in Choose Script Options, click on the Advanced button
and, set Script Extended Properties = False.
Reference:http://social.technet.microsoft.com/wiki/contents/articles/994.develop-and-deploy-with-windows-azure-sql-database.aspx
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
I'm trying to print a report created by Crystal Reports, which the application is run on the client run, NOT run on Windows Azure, and I grant the client IP to allow it to connect to the SQL Azure to retrieve data for the report.
However, it throw an exception when the client application process the report file, I try to host the database locally and trace the sql it executed in profiler, then run each sql command on the SQL Azure to find out which line of sql command cause the
problem.
Finally, I find out that Crystal Report will call "sp_procedures_rowset" and "sp_columns_rowset", which are not existed on SQL Azure.
Any workarounds to solve this issue?Hi Barry,
Yes, "sp_procedures_rowset" and "sp_columns_rowset" are not existed on SQL Azure. You
can check with below statement:
EXEC
sp_helptext
'sp_procedures_rowset'
I’m afraid you cannot use it in your report. Could you create your own Stored
Procedure?
Thanks,
Raymond
Raymond Li - MSFT -
why i cannot create the sql azure database from my own country 'Nepal' ?. why it is not include in the list of country when we sign up for azure database. :( !!!
canot we try this new feature ,dosnot we need to try this too..why such discermination for our country nepal. :(Hi Anil,
I am Mahesh from Microsoft Innovation Center. From August 2014 we have made Azure Available to Nepal. You can now directly sign in to azure with your Nepal Based Mobile Number as Verification.
Thanks for showing your Interest in our Product.
Mahesh Dahal -
SQL Server Analysis Services (SSAS) 2012 High Availability Solution in Azure VM
I have been testing an AlwaysOn high availability failover solution in SQL Server Enterprise on an Azure VM, and this works pretty well as a failover for SQL Server Databases, but I also need a high availability solution for SQL Server
Analysis Server, and so far I haven't found a way to do this. I can load balance it between two machines, but this isn't working as a failover and because of the restriction of not being able to use shared storage in a Failover Cluster in Azure
VM's, I can't set it up as a cluster which is required for AlwaysOn in Analysis Services.
Anyone else found a solution to use an AlwaysOn High Availability for SQL Analysis Services in Azure VM? As my databases are read-only, I would be satisfied with even just a solution that would sync the OLAP databases and switch
the data connection to the same server as the SQL databases.
Thanks!
BillBill,
So, what you need is a model like SQL Server failover cluster instances. (before sql server 2012)
In SQL Server 2012, AlwaysOn replaces SQL Server failover cluster, and it has been seperated to
AlwaysOn Failover Cluster Instances (SQL Server) and
AlwaysOn Availability Groups (SQL Server).
Since your requirement is not in database level, I think the best option is to use AlwaysOn Failover Cluster Instances (SQL Server).
As part of the SQL Server AlwaysOn offering, AlwaysOn Failover Cluster Instances leverages Windows Server Failover Clustering (WSFC) functionality to provide local high availability through redundancy at the server-instance level—a
failover cluster instance (FCI). An FCI is a single instance of SQL Server that is installed across Windows Server Failover Clustering (WSFC) nodes and, possibly, across multiple subnets. On the network, an FCI appears to be an instance of SQL
Server running on a single computer, but the FCI provides failover from one WSFC node to another if the current node becomes unavailable.
It is similar to SQL Server failover cluster in SQL 2008 R2 and before.
Please refer to these references:
Failover Clustering in Analysis Services
Installing a SQL Server 2008 R2 Failover Cluster
Iric Wen
TechNet Community Support -
SQL azure database size not dropping down after deleting all table
Dear all,
I have a simple database on Azure for which I have deleted all table data. The size of the database is still showing 5Mb of data and I am charge for that. I have heard that this may happen from cluster index getting fragmented.
I have run a querry I found on internet on all my table index to show percentage of fragmentation and all report 0%.
DBA is not so my job but what could it be or how can I reduce that size ?
ON premise I would use COMPACT DB but not available in azure like some others DB action
Thnaks for tips
regardsuser created objects/data are not the only ones stored in your database. you got system objects and metadata as Mike mentions above.
are you trying to skip being charged if you're not storing data? looking at the pricing table, you'll still get charged the $4.995 for the 0-100MB database size range.
Maybe you are looking for
-
i want to know if there is a way i can fix it on my own without going to a store.
-
Just updated the software on my 3G phone and the quality of the pics I have on my phone is really crap - before they use to be crystal clear now they are blurry and you cannot zoom in without it being distorted! Anty ideas??
-
Hi all I created a Project named Student Database(with space in between it) and in a jsp file i m giving the location for an image as C:/Student Database/image1.gif Does this cause problem? space in the project name
-
Change "ACCEPT_LANGUAGE" header in Safari
Hi folks, I just have a small problem with Safari. I live in Germany and want to see e.g. the Apple site from Germany. My MacOS language is Dutch. Is it possible that Safari does not send "NL_nl" but "DE_de" to the websites? I know that there is such
-
Hello to All. I'm ignorant of this and need to learn Adobe. I installed the CC on my tablet. When I install any of the programs (Ps, Lr, etc.), are these installing to the cloud or on my tablet's hard drive? If hard drive, I think I will run out of s