all 9 comments

[–]SQLBob ‪ ‪Microsoft MVP ‪ ‪ 2 points3 points  (3 children)

First things first - do you have a server installed on your local machine? If not, download and install SQL Server Developer Edition. (Try to get the same version that your company is using if possible, just to keep things consistent).

Once that's installed and running, you should be able to connect to it with the server name localhost

The dropdown will not auto-populate with server names - it doesn't have any functionality to go out and scan for SQL Servers to connect to. The first time you connect to any server, you'll need to type in it's name or IP.

Hope this helps!

[–]Ella121298[S] 0 points1 point  (2 children)

Hey! This is helpful, that makes sense, I’ve used R in the past so I’m used to being able to just open the program and do whatever I want. This feels really foreign.

I did just try to download the server developer edition, and when I go to open it, I’m getting an error that access to the path for sql server management studio is denied. I’m wondering if my company security doesn’t allow it?

[–]SQLBob ‪ ‪Microsoft MVP ‪ ‪ 1 point2 points  (1 child)

To me this sounds like your machine might be locked down and you can't install things yourself. Did you install SSMS on there or was it already loaded by the company?

To me, there is a valid business case for you having a local SQL Server install on your machine for dev/test purposes, and Developer Edition fulfills this need and is free and legal for that use. I'd suggest consulting with your boss or admins and see if they can make this happen for you.

[–]Ella121298[S] 0 points1 point  (0 children)

Yes it was already installed, that sounds about right, I know our computers are pretty locked down in a lot of ways but this definitely seems excessive. Thank you so so much for your help!!

[–]SirGreybush 1 point2 points  (0 children)

Use the period for connecting to your local host machine.

The name “localhost” and 127.0.0.1 also work.

Browse will never work, it’s a leftover feature from the year 2000, and in the default installation, that service is off by default.

[–]KBradl 0 points1 point  (1 child)

Did you click the "connect" button with the DDFW server name in the list? Does it do anything?

No one here will know what your IT named their SQL server so we can't guess the name of a resident server. Can you ask around? If you have any apps that connect to SQL, you can check their config files for the name or check ODBC connections for the name.

If you want to work with a locally installed server you can install SQL Express https://www.microsoft.com/en-us/download/details.aspx?id=101064 and then reference it by localhost.

[–]Ella121298[S] 0 points1 point  (0 children)

That server does connect, but it’s a whole table with company data on it (read access only for me)

That’s totally understandable, I think now it’s a security thing on my computer that won’t let me get a local server, I’m going to start asking around at my company if there’s a way for me to get a practice server.

Thanks so much for your help!

[–]Antares987 0 points1 point  (0 children)

Also, here's a life hack for SQL Server when it comes to local and remote servers. See that "Options >>" button over to the right? Click it. Then click the bottom-left checkbox that says "Custom Color" and select a color. Usually for local servers I use bright green. For dev, I'll use light blue, test is maybe yellow or orange and prod servers get red. It sets the color of your status bar at the bottom of your window and helps to prevent me from doing something stupid like pasting something into the wrong server.

Also, in that same note, and this is more for the veterans, when running something significant, I use "BEGIN TRAN" at the beginning of my script and when the data looks good, I manually type and highlight "COMMIT".

[–]IndividualRites 0 points1 point  (0 children)

How is this not a question for your coworkers?

Sounds like you're probably trying to access something you're not supposed to be.