I have created my database on the azure portal
I connect to the database using SQL server management studio.
When I try and create a view the view builder wizard tool is not available - I have to write the views in sql.
It works fine on local sql severs so its something about the azure instance
Is this normal or have I missed something?
Thanks
Frank
There is no designer support for creating views in Azure SQL in SQL Server 2016 Management Studio or in Visual Studio 2015 Update 3 or prior. You're going to have to bust out your T-SQL skills to create views.
Related
I need to create some user defined tables for an Acumatica customization. I am a SQL developer, so I am accustomed to creating tables using Management Studio. But when I try that in an Acumatica database, I get this error:
This backend version is not supported to design diagrams or tables.
I'm assuming the creation of tables is something that takes place using Visual Studio, but I don't know how to do it.
Thanks!
Upgrade to the latest version of Microsoft SQL Server Management Studio and do not use the Express edition:
https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms
I have connected to my SQL azure server using SQL Server 2012 Management Studio and I cannot edit any of my table's schema or the data in it. When I right click on the table the options are missing. Am I doing something wrong?
Not that I am using SSMS 2012, but in 2008 R2 is generally the same. There is no GUI for neither table designer, nor "Edit top 200 records". You have to begin diving into the DDL and DML for SQL Server and give up GUIs. One way you could use GUI to some extend, especially for DDL is to use the portal provided Windows Azure SQL Database manager. You can find a link to it when you go to your database from either the new or the old portal (Manage). Other way is to use some third party tool, which I am not aware of.
Here is the link to that manager from the new portal:
Another option some people may find helpful, if you have and use Visual Studio then you can link to the server in ServerManager, connect to the database, and then design and edit data directly.
My 2008 R2 version of SSMS had the same problem. I downloaded 2016 CTP3 SSMS which has Azure support and everything is normal for the Azure Databases.
https://msdn.microsoft.com/en-us/library/mt238290.aspx
I did lose my connection history information so beware.
I have been assigned the task of converting an SQL Server Database to an SQL Azure Database. During the process I encountered these problems:
Cannot use the Object Browser in Management Studio 2008 v10. Is there a fix to this?
I cannot create new Users under the Security Section since I cant use the Object Browser.
Basically I want to create an Admin user and NonAdmin user each with their own privileges to UPDATE, DELETE, INSERT commands on different tables in the database.
Basically my web application has a sign up form how can I associate new registered user to the SQL Azure Roles during the sign up process to limit them from perfroming ertain commands on the database tables?
Just answer your questions.
1, No SSMS 2008 doesn't support Azure. You MUST use SSMS 08 R2.
2, If you are using SSMS 08 R2 the object explorer will be appeared. But the features when connecting to SQL Azure will be very limited. The designer and dialog are disabled which means all tasks should be done by using the SQL script.
3, Not pretty sure what you mean, but you can try what you are doing on SQL Server since SQL Azure is very very similar with SQL Server.
Data-tier Application and SQL Azure MW are good tool for migrating your existing database to SQL Azure. But you can still use the build-in feature in SSMS 08 R2 to migrate the database schema as well. Just use the Generate Script menu item from your local database, and make sure you selected SQL Azure in the "Script for the database engine type".
Check out the official page on how to move data etc..'Migrating Databases to SQL Azure'
http://msdn.microsoft.com/en-us/library/windowsazure/ee730904.aspx
Also check out the 'SQL Azure Migration Wizard v3.8.3'
http://sqlazuremw.codeplex.com/
Migrating Databases to SQL Azure by Using Data-tier Application Export and Import is probably your best option, the migration wizard is a great tool, I have used both.
re: 1 you need service packs, I'm not sure 2008 V10 is supported, get the latest version or upgrade to 2008R2 Mgmt Studio (latest)
2: use the tools above
3: not sure here what you are trying to do to correctly answer.
hope that helps...
I'm working in an Access 2007 database and need help migrating tables to SQL server. Is this possible to do having only purchased Access 2007 or do I need to download a separate program for SQL? When I try to create a new SQL database or open an existing one through Access, I'm getting a "CREATE DATABASE" or "CREATE TABLE" error and not sure what the issue is. Any advice would be greatly appreciated!
Take a look at the microsoft's SQL Server Migration Assistant 2005 for Access (v4.0) which supports access 97 - 2007
Yes, you need to install it. There is a free edition of SQL Server, called Sql server express. Database size limit is 4gb. If it suits you go for it. Also, i belive Access has migration tool built in.
Update: In Access 2007 - Database Tools -> Move Data -> Sql Server ( follow the wizard ).
Hi after toying around with SQL Server 2005 Database projects, I have been pointed to the Visual Studio 2008 Database Edition GDR 2 extension (by our Microsoft rep), which allows for the creation of "SQL Server 2005 Server Project" projects.
As far as I understand it, this lets you create a project with all the shared objects (logins being the most useful to me) of the Dev instance. Then when you create a "SQL Server 2005 Database Project" you can reference the "SharedDev" project, and all the objects (logins etc) will be accessible from your Database Project (say MyNorthwind).
What I don't understand is, when I'm creating my "SQL Server 2005 Server Project" SharedDev project, should I create it from Master on my Dev instance, or from the Northwind Dev instance?
Has anyone got any experience of this? Searches at MSDN bring up really slim docs.
http://msdn.microsoft.com/en-us/library/dd193425.aspx
Maybe I'm over complicating things.
Thanks for anyone who can shine a bit of light on this.
You want to create your database from the "Northwind" db not from Master. This should result in your project containing scripts which will create the logins when you deploy.
Best resource for VSTSDB is here:
http://social.msdn.microsoft.com/Forums/en-US/vstsdb/threads
For what its worth: Logins are a bit tricky VSTSDB 2008. The tool really shines with the management of the objects.