How to dump remote SQL Server 2005 database schema? - sql

I want to get the schema of tables from a remote database. I only have the username and password of remote SQL Server. It doesn't provide any tools like in SQL Server Management Studio. What is the proper way for getting schema of tables from this remote sql server? please help

The 2012 SP1 version of Management Studio Express is fully functional and free. Go download it instead of trying to reinvent the wheel.

Related

Connect to Azure Database from SQL Server

I am connecting to an Azure hosted SQL Server using SSMS and am getting an error I can't track down. This happens when I open the connection and try to select a database to use or try to refresh the database list.
Reference to database and/or server name in 'msdb.dbo.syspolicy_configuration' is not supported in this version of SQL Server.
For the best experience with Azure SQL Database please download for free the latest version of SQL Server Management Studio (SSMS). Please download it from here.
The latest version of SSMS is compatible also with SQL Server 2008 and later.
SSMS 2012 is not compatible with many changes and improvements Azure SQL Database has received the last 6 years.

No UI dialogs in MS Azure / SQL Server Management Studio

Recently, I purchased a licence for a Microsoft Azure SQL Server 2012 (packet "S0" - Standard, 250 GB)
When I connect with SQL Server Management Studio 2012 to this database, then all the user interface dialogs for creating tables, setting up users, etc. are gone.
You can only script and execute pure SQL statements.
Even the table editor is gone, so you even cannot edit the data in a table!
If I connect to a local database, then everything works. So the problem must be related to the Azure Database. Can anyone help ?
If this is Azure SQL Database, then keep in mind that this is not the same as SQL Server 2012 although you can use the same tools to connect to it. This behavior is therefore correct and normal. If you have installed or used an image for SQL Server on a VM then you should have everything as you expect.

Open WebMatrix SQL Server database in Microsoft SQL Server Management studio

I have a question. I did migrate my SQL CE database to SQL Server database and now i would like to open this SQL Server database in Microsoft SQL Server Management studio. Do you knoq how can I do it?
I need more information to help you, are you having trouble determining the server or the login or what? You need to login as a user with rights on that database. Do you know the server name that it was migrated to?
If you are looking for an easy to use tool to convert between mssqlce and sqlserver try this one: http://sqlcetoolbox.codeplex.com/releases/view/69910

Converting SQL Server database to local C# database

I have created program that uses SQL Server database to store data. After a while (and lots of stored data) I have realized I don't need database on the server, local database running without server could do the job.
Now I need some advice how to export, convert or whatever, SQL Server database to local (sdf) database? I'm using VS 2010 and SQL Server 2008, I also have SQL Server Management Studio.
Check out the SQL Server to SQL Server Compact Edition Copy Tool available on CodeProject in C# source code:
Should do just what you need: copy data from SQL Server to a SQL Server Compact Edition .sdf file.
Use the Export database tool? If you are using MS Windows OS then you can access is through the JET interface.
Use my Export2sqlce.exe command line utility: http://erikej.blogspot.com/2010/02/how-to-use-exportsqlce-to-migrate-from.html

Download SQL SERVER AGENT - Microsoft SQL Server

I have downloaded SQL SERVER MANAGEMENT STUDIO but SQL SERVER AGENT is not found.
Should I install it separately?
Can anybody tell me the link where SQL SERVER AGENT is available as a Freeware to download it?
The agent is not visible if you use SQL Server Management Studio Express to connect to an SQL Server. You need to install the client tools that come with the server setup to get SQL Server Management Studio.
If you are using SQL Server Express, it has no agent.
SQL Server Agent is a service of SQL Server, not SQL Server Management Studio (which is, in and of itself, an administration tool).
Since SQL Server Agent is part of SQL Server, it's not free. You can learn about creating a job in SQL Server Agent here.
What, pray tell, are you actually trying to do?
You (or your company) will need to purchase the full version of SQL server in order to use this functionality.
The other option is to find the command-line instruction that will achieve what you want and then use Windows Task Scheduler to run the command on the schedule you want.