I have SQL Server in Docker. I need to access the "Security" page in properties, but it did not appear. What could the reason for that be?
Ok, I guess, it's just because SQL Server in Docker works on Linux, and there is only one option: SQL Auth and that's why "Security" page is missing.
Related
I have a question. Few days ago i installed SQL Server Management Stuido with all packages in it. My Connection string that im using with my MVC or WebApi apps looks like this:
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=(name here);Trusted_Connection=True;"
}
I can still manage my databases by SQL Object Explorer in visual studio, but my question is where find my Server Name? Whatever i write, i cant acces to my local database server
How to get into Management Studio? Where i can find my Server Name?
You said you have installed SSMS, what about the server installation?
If the server has been installed successfully, try localhost instead of localdb. A dot(.) will also work as local host. The server name is provided while you install the server by you after selecting the named instance. If you leave it as default instance the pattern followed by sql server would be something like MSSQLSERVER......
Problem solved:
All you need to do is to click on Add SQL Server button in SQL Server Object Explorer. Then, in Browse tab click Local, then on your Server. Now you can see Server Name Label that you can login into Management Studio
I have installed the SQL Server Management Studio (v. 17.9.1) but I am not able to create an instance.
In fact no server appears in the box when I browse:
How can I proceed, step by step, to create a local instance?
You can create a local Database by using the command prompt. As open cmd with Admin privilege, > sqllocaldb create "database name" -s(start with it) . There is lot of option with sqllocaldb read there.
Go to windows services (services.msc) and check if SQL Server and SQL Server Browser are running. If not, start them and you should be able to login and create the DB.
type in sql server download in your browser and go to microsoft's website. You have downloaded SSMS but you do not have a server installed. Download SQL express or SQL developer edition and install. Once you have done this you will have a default instance (or named if you customized the install). I must have hit this posting 4 times trying to figure this out but now I'm off and running. If you want a test database to play with you can then download adventureworks (again just use your browser (sql adventureworks) and download the backup file. You can restore it by clicking on the databases folder once you have connected to your sql instance in SSMS.
I have SQL Server 2008 R2 on my machine.
I want to connect with Windows authentication mode.
I dont remember the server name....I have also checked in SQL Server Configuration
Manager but there is no instance running.
so , How to know the serve name of SQL server ?
did you try
SELECT ##SERVERNAME
Open Regedit and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
You'll see instances listed there with names taking the form
MSSQL10.SQLEXPRESS
MSSQL10 is the version number (10 applies to both 2008 and 2008R2) and the part after the period is the instance name. That gives you a server name of
MYCOMPUTER\INSTANCENAME
The name will always be your PC name which you can find by right clicking your "My Computer" and going to properties.
I have installed Microsoft SQL Server 2008 Express R2 with tools. In windows start menu now I have an option for SQL Server Management Studio. So I click on that and a dialogue window pops up asking me to connect to a server. I don't know what server to enter into here and all I want to do is create a new database so I can store some simple information in tables. I did press cancel on the dialogue box and looked around in the management studio but I couldn't find a "create new table" option or anything particularly like that.
It's looking for <%ComputerName%>\SQLEXPRESS
If you don't know the name of your compter then...
Click Start
Right Click on My Computer
Click Properties
Click ComputerName tab
I haven't played around with the manager studio in a while, but I hope this helps
http://msdn.microsoft.com/en-us/library/ms186312.aspx
Use localhost as your server if you don't need to connect to an external server. Then in Object Explorer you'll be able to create new Databases and Tables within those databases
I'm trying to track the error thrown by SQL Server 2005. The problem is SQL Server reports it in my native language so it's hard for me to google it.
I think that the core issue would be avialable in English in SQL Server LOGS. I'm running SQL Server Management Studio Express, going to "Management" node, and then SQL Server Logs. I can see the list of logs but I cannot enter them, the only available option in context menu is Refresh.
Could you help me to show the contents of those logs?
I don't think the Express version of the Management Studio can show ERRORLOGs. The alternative is to open the ERRORLOG file in notepad, as is an ordinary text file located usually in \Program Files\Microsoft SQL Server\MSSQL.EXPRESS\MSSQL\LOG
Another alternative is to open a query window and execute this:
exec xp_readerrorlog;
Check this out:
http://www.mssqltips.com/tip.asp?tip=1021
HTH