Replicate SQL Server over IP - sql-server

I'm trying to replicate from SQL Server 2008 to a remote SQL Server 2005. I can't add subscribers with SQL Login, and I'm getting this error.
I tried adding aliases, editing hosts file, adding the subscriber directly form T-SQL with no success.

Related

SQL Server Configuration Manager not showing the details

When I am opening the SQL Server Configuration Manager, the details are not being shown. I am only seeing the attached screenshot above.
And also when I opened services.msc, I am seeing multiple instances of SQL Server, SQL Server Agent, SQL Server Analysis Services and SQL Server Integration Services.
I am using the SQL Server instance named SQL_DEVELOPER only. I need the multiple instances to be removed.
SSAS is working fine with SQL_DEVELOPER instance, but with same instance the SSIS is not working.
Also I am also facing issue to start the SQL Server Integration Services in services.msc.

Connect to SQL Server query from Excel

i am trying to connect to a query that is build in sql server, but i cannot find where is it saved (the address). Just to clarify - no trouble connecting to tables on the same server.
You can't connect to a query in SQL Server from Excel.
You can connect and retrieve data from tables and views.

Cannot connect to SQL Server using Microsoft Excel Power Query

I'm having trouble connecting to a SQL Server 2008 R2 data source using Excel 2013 Power Query.
I have created a new Power Query query, and created a new SQL Server datasource. I have specified the server name and database, but have not specified any specific query.
I am using SQL Server authentication to login to the database, and the connection is encrypted.
When I attempt to set up the connection in Excel Power Query, I get an error message: DataSource.Error:
No further error details are supplied.
I have checked that the SQL Server allows remote connections, and I have tested the SQL Login by using the sqlcmd utility to connect to the database server and database and run a basic SELECT query.
If anyone can shed any light on what I'm doing wrong, I'd be very grateful.
For anyone reading this in 2017:
If you are using Windows 7 and above, use the driver listed in the ODBC Data Sources. The only case where I had to install a client and driver, was when I wanted to connect to an oracle database.
To setup and connect to SQL server, I opened ODBC Data Sources, selected 'Add', chose the SQL server option (not native client versions) and added the server and database details where prompted. Then test the connection from ODBC data sources.
My SQL server connections usually require full TNS info all the way from server name, then database name despite the claim that it's optional.
Do you have the odbc driver?
I have run into this problem previously when I tried to connect remotely.

Connecting Oracle to Microsoft SQL Server on 2 different servers

I am trying to make a connection between Oracle and SQL Server to insert some values from Oracle into SQL Server. I have 2 questions which i was hoping you can help.
There is a stored procedure created in Oracle 11g database. It joins a few tables together and pushes the values into a table called my_table in SQL Server.
The issue/question I have: I've tried to make a connection between Oracle and SQL Server using this link: Making a Connection from Oracle to SQL Server - Page 2 — DatabaseJournal.com
The instruction is however for when Oracle and SQL Server are on a same server.
As is my case Oracle is on one server and SQL Server is on another, I am struggling to understand the concept of setting up Listener and tbs.
Do I have to do any configuration on SQL Server? Do I need to create the DNS on SQL Server?
When I create a DNS in Oracle server, the connection to SQL Server is successful (port 1433) but I'm not sure how to alter my Listener and TNS for that.
My Oracle knowledge is not advanced but so far I've managed to get to this point. Hope you can help me resolve the last bit of the puzzle.

duplicate a Database content into another database

I have a database that I want to duplicate into another database.
I'm using Sql Server 2012 Express Management Studio
I tried to make a backup of the database and tried to restore it as another database, but I couldn't
It happens that I was using LocalDB\v11.0, but I had to upgrade my sql server express to the version that accepts remote connections.
But now I have two servers, LocalDB\v11.0 and .\SQLEXPRESS, my database is in LocalDB and I want it in .\SQLEXPRESS
How can I do that?
Rafael
Though I haven't tried but this shouldn't be the case. AFAIK, LocalDB\v11.0 introduced in SQL Server 2012 and you can backup/restore between localdb and sqlexpress.
if that's not working then try posting the error/issue you are getting in this post.
Anyway, you can also script your database, schema and data and then run those script locally.
See this post here for the same ...
http://social.msdn.microsoft.com/Forums/en-US/b75bef7e-13f3-4658-8d43-9df12ab4c320/connecting-localdb-using-sql-server-management-studio-express
Once you are connected, you can view the DB objects and script them in SSMS; thereafter run those same script in your sqlexpress instance.

Resources