Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I can't connect to SQL Server database engine for first time after installation.
I asked it once but marc_s closed that. Really it's my big problem .
Server name is empty. What should I type for this?
I use it in my personal laptop and I am not professional, it means I want use it just as a tables like access .
Someone help me please .
The server name is the name of the machine that SQL Server is installed on.
if it's on the local machine, you can use a single period. if it's on your machine, but you installed it with an Instance name of "MyInstance" you can use ".\MyInstance".
As a side note, the original question was probably closed because there wasn't enough info in the question to answer completely. In order for us to help you , we would need to know the machine name that this was installed on, what options you selected through the installation wizard, etc. The best we can do is guess, and that makes the question, technically, unanswerable.
It could also be because this is such a newbie question - sometimes we forget that we all started somewhere.
I'd suggest you start here for your learning experience: http://www.asp.net/sql-server/videos
Particularly videos #8 and #9 - these should answer your question.
If it's a local instance for the server name try (local)
You can use a period . for the server name
You need to be in the administrators group (done during the installation), or if you have the SA password (also set during installation)
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am trying to install and use SQL Server on docker.
As far as I know, 10GB is available for free on Express.
Is it the same for Docker?
If so, can I use unlimited capacity if I select MSSQL_PID as 'standard' in the environment variable?
In short the answer to your question is yes, what ever version you mention in the PID variable the sql server will operate like that. The only thing about licensing is that it believe on you that you have proper prior licensing for that version though it doesn't have any technical check or verification process.
Following link will give you some more related information that may help you further -
https://github.com/Microsoft/mssql-docker/issues/200
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to know when an application is pointing to a database, how to make sure that it is the correct database.
Can you let me know this from a Developer, DBA and a tester perspectives?
is it the database connection string? or update date on tables entries? any database scripts related check?
Thank you all in advance.
From a developer perspective, checking the connection string is the typical way to tell which database an application is pointing to. Of course, the big thing to look out for with this is making sure that you're looking at the right connection string, especially if you are using more than one of them in that application.
Depending on your application, you should be able to print a debugging message near your code that initializes the connection to the database that prints out the connection string that is being used for that connection. This could also allow the tester to know which database is being accessed.
From a DBA perspective, profiling the server could show active connections and/or queries with various amounts of detail depending on the database server being used.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a SQL Server database with lots of data and an empty MySQL database. Now I want to copy all data of SQL Server database (including the database schema) to the MySQL database.
I thought about using raw SQL dump, but SQL Server's SQL syntax is not same as MySQL.
And I have googled some database migration tool, such as south (only for django), simple-db-migration (only for one type of database, maybe PostreSQL?) and SQLAlchemy (I haven't finished learning it, just feeling it somewhat clunky).
What tool can I use to do this migration?
I'm usually using opendbcopy for these kind of jobs ...
I tried this tool once http://dbconvert.com/convert-mssql-to-mysql-pro.php , but you have to pay for the full version. Of course you can write your own migration script e.g. in PHP. On Windows it will be easy to connect to MSSQL server, from a Linux machine you have to use ODBC and that is sometimes a bit messy to install and configure.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to backup my SQL Server 2008 R2 database. However I am getting the below error, no matter where I try to save the backup.
System.Data.SqlClient.SqlError: The volume on device 'D:\Programfiles\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\dbName.bak'
is not part of a multiple family media set. BACKUP WITH FORMAT can be
used to form a new media set. (Microsoft.SqlServer.Smo).
Can anyone throw light on this?
The only helpful links I could google were following but of little use:
http://social.msdn.microsoft.com/Forums/en-US/sqldisasterrecovery/thread/a1eb2818-2a97-4c52-aa8d-7c224f1ac282
and
http://www.sqlservercentral.com/Forums/Topic279584-24-1.aspx
I wasn't able to reproduce the issue however, here's a workaround for whoever might run into this: use WITH FORMAT clause or Options - Back up to a new media set and erase all existing backup sets option in the GUI.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Can anyone help me find a good host that supports MDF file? I have a site that works perfectly in my desktop but when I uploaded it to Arvixe it wont work and I can't get a straight answer from them.
Please I need your help so bad. Thank you.
No. Only small operations will use MDF - serious hosts will isolate SQL servers on dedicated machines.
There is a transfer wizard available allowing data upload to a server database.
And you should look for SQL Server Express, not "mdf files". It is a server technology.