Cannot connect SQL Server with instance - SSMS - sql

I have a very strange and very frustating problem:
I'm trying to connect to an remote SQL Server Database, and i gotta some errors, like:
I've tried to connect to an specific remote SQL that has only one instance (SQL Server 2008). When i use the correct connection string, with server address and instance name, o get the following error:
But when i remove the instance name, it works:
Calling with customer's service from this server, they said that this server has only one SQL, so it allows you to connect without instance.
But my real problem is that i'm trying to connect to another server that has more than only one instances of SQL, so i'm getting the same old error:
And if i remove the instance, i get login error, cos my user and passwd was not found at default sql server.
I have tried several changes:
I've changed my Management Studio from 2017 to 2014.
I've formatted my computer last night, trying to solve this problem,
but i still got the same errors
I've asked to some friends to connect to this same server, exacly
the same way that i'm trying, and they sucessfully connected.
I really dont know what I'm doing wrong. Somebody knows how to help?
Thank you.

Related

Unable to Start t-sql debugging

I am using remote desktop, logging directly onto the box that houses the sql instance, and trying to use debugging, however getting the dreaded unable to start t-sql debugging... error message.
My colleague can take the same steps, same box, and using the same sql account and has no issue, the only difference is we are using our own windows accounts, which when checked both of us are part of the local admin group.
we are both logging on as the instance name also. SSMS 2014.
Any ideas?

SQL Server display server name other than connected one

I am using SQL Server 2008 R2 to do my project.
I noticed that the when I execute following code:
print ##SERVERNAME
I've got a output "Server-01". However, I am actually connecting to "Server-03", and the above code is executed in "Server-03" as well.
So, may I know what cause such strange output? What is the mechanism behind this?
Thanks.
You're getting the wrong name because someone renamed this server after SQL Server was installed (possibly, it's been imaged as a SQL Server installation) and they've not followed the correct advice to get SQL Server's internal information updated after they did the renaming.

Strange MS Access error related to SQL Server User Permissions

Im having a strange issues in an MS Access database that links to SQL Server 2008. In the database, I have a function that is called on start up to add a record to a table. When doing so, I get an error of "OBDC Connection Failed". After doing some testing, I was able to find that if the user within the database is a "db_owner" they are allowed to add the record without any issues. However, if they are a "db_datawriter/db_datareader" they cannot.
Anyone have this issue before?

Start Oracle SQL Developer

I have been trying to figure out how to start with Oracle SQL, but I can't get the "Connection" to work. I'm not sure what the (connection name, username, password, etc.) fields are.
If I want to create a small database on local host, why do I need to connect in the first place.
I searched Google but still can't get it to work. Any help is appreciated.
ERROR MESSAGE: IO Error: The Network Adapter could not establish the connection
SQL Developer is just a client utility that lets you connect to an existing database. It sounds like you don't have a database to connect to yet. If that's the case, you'd either need someone to create a database on another machine for you or you'd need to download the database software on to your local machine and create a database to connect to. You can download the Oracle database from the Oracle Technology Network, the same place you downloaded SQL Developer from. I would guess that you would want to download Oracle 11.2 Express Edition.
Alternately, you may want to download one of the VMs that Oracle has put together that has a lot of related software installed for you to use. For example, this VM has SQL Developer, Oracle 12.1, APEX, XML DB, and a number of labs already installed for you.
Oracle SQL Developer is a tool to ACCESS existing database, you cannot create new database here. The connection is used to define where your existing database sits and how to connect to it. So you need to name you connection (bookmark), provide host name, where database runs and user name plus password to identify yourself.

Issue with SQL Plus

I have a database that I am trying to connect to through SQL Plus. I run this command from the command line:
sqlplus username/password#//hostname:port/sid
I use this connection string instead of using tsnames. The error I keep getting is
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
The weird thing is that using the same connection information I can connect just fine through SQL Developer. I can see the tables, users, and everything else. Anyone know what could be going on?
P.S. I tried setting up tsnames but it just gave the same thing as using the connection string.
So my boss found the solution. Turns out the sid is different when connecting through SQL Plus then through SQL Developer. Seemingly in just this one case. I have no idea why this is but that was the reason. Very odd and I don't understand why.