Which edition of sql server 2008,10,12,14 support replication and publication, as i need sync of data - sql

Please help me regarding sync of data between two sql servers automatically using replication and publication.
Please help me which edition provide these features and how to configure these services to automatically sync data between local sql server and remote sql server.
Thanks

Replication has been part of SQL Server at least since the version 2005.
It's not a question of version number, but of type of edition (express, standard...)
If you need replication, you will need at least a standard version on the publisher server. Any version will work on the subscriber.
Note that if you just want to get a backup (for development purposes or a preprod server), you're probably better off writing a small script (in Powershell for instance) that generates a backup of the source server and downloads/uploads it to the target server every night or so.

Related

Microsft SQL Server Developer Free Edition is a local database?

I was wondering if the Microsoft SQL Server the Free Edition is a SQL server than i can connect to from any other PC even if i shutdown the main PC which has the SQL server installed on, or it is just a local SQL server and the PC should always be online to allow other connections to?
You can have either a server installation like the free Express edition. It can be installed on a server or any other machine (even the client machine itself). It also bring the SQLLocalDB which is a light version of the Express Edition. In all cases the computer that hosts the database needs to be available for access (in your case as mentioned turned on).
https://www.microsoft.com/en-us/download/details.aspx?id=101064
If you have the need that the database should be available without having to turn on a computer, you want to take a look at the Azure SQL database versions which are the cloud based versions of SQL Server. Depending on the needs you can pick from different flavours like the serverless tier:
https://learn.microsoft.com/en-us/azure/azure-sql/database/serverless-tier-overview?view=azuresql

Strategy to sync 2 Microsoft SQL Server databases

I've gotta admit that I'm a Microsoft .NET developer, and I'm not an expert in SQL Server.
I have developed a Windows app, with data stored in my local SQL Server (Express version). I recently purchase a shared hosting service, including a SQL Server. I thought about backing up my local data to remote server: about 5-6 tables from my local SQL Server to remote server, and 1-2 tables from remote to local
What's the best way to do this? DB size is limited to about 5-10MB. The structure of 2 DBs are different, synced tables have same structures. Is there an automatic script I can run from SQL Server Express to do this task every 15 minutes or so?
For initial publishing I’d just go with restoring a backup in the hosting environment. For further synchronization you can try some of the 3rd party tools such as ApexSQL Data Diff or SQL Data Compare or basically any other tool in this category…

Export SQL database (all tables) from remote server

I'm current using a 3rd party product, which uses an SQL Server database. I've been asked to take a copy of the database for our own backup/security purposes, but I'm having trouble.
To access the database I'm currently logging into one of my companies servers using remote desktop, where SQL Server 2005 Express is installed. Using that instance of SQL Server I then connect to the 3rd party's SQL server.
when I execute Tasks -> Back Up..., it appears to work, but the files are stored locally on the remote SQL Databases server, which my IT teams tells me is expected.
I tried using Tasks -> Generate Scripts... but the option to "Script Data" isn't available, either because it's SQL Server 2005 Express, or because the database is remote (not sure which, but probably one of those).
I've tried other things that I can't recall at the moment, and I'm out of ideas.
Can anyone suggest something that will let me get a 'local' copy of the remote databases table structure AND data?
The Generate Scripts wizard is unavailable because you are using a very old version of Management Studio Express. The 2012 version will work just fine against 2005 instances, but there is no longer an Express edition anyway, because all of the SSMS features are now available without any license.
Download the latest versions here:
https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms
I list downloads for the older versions at the bottom of this post:
https://blogs.sentryone.com/team-posts/latest-builds-management-studio/
Backups do generate locally. That is to be expected, as your team has already told you. You can generate it locally and then download it with a tool such as an FTP client. I highly recommend Redgate tools. See http://www.red-gate.com/products/dba/sql-backup/ It's a great tool and has some network backup options built in to ship your backups elsewhere. If it's a one-time thing, Redgate also has tools for that too, e.g. SQL Compare and SQL Data Compare.
The solution you pick really depends on how frequently you have to run and download backups locally and how big the DB is.

SSRS and SQL Server database on different server

Is it possible to install SSRS and SQL Server database on separate servers, or should these two be installed on the same server?
Thanks
In order to have Reporting Services on your application server, you would have to use a SQL-Server license. You can install just the Reporting Services section of SQLServer, but it is still technically part of the SQL Server application and requires a license for use on that processor(s).
So yes, you can install it on another server.
Yes, you can install only the advanced services, but that still counts as full server., so it requires a full license.
Yes, you can install an Express Edition (with advanced services) on another server for free.
But... the express edition SSRS can't access a non-localhost database (technical limitations of express & web edition).
You can try to circumvent that with linked-servers, but you need to duplicate every used stored procedure, view, table etc., so it's an impractical mess.
The answer to your question is thus: Technically, yes - but actually NO, not without another license.
That extra-installation is gonna cost USD 1'000+ per month.
Yes, you can install SSRS and a SQL Server database on different servers. While the default installation tries to install both, you can select to install them separately.
MSDN links:
Considerations for Installing Reporting Services
Installing SQL Server Reporting Services
From MSDN article Considerations for Installing Reporting Services:
Select Database Engine Services in the Feature Selection page to host
the report server databases. Reporting Services requires a local or
remote instance of SQL Server 2005 or SQL Server 2008 Database Engine
to host the report server databases. If you install an instance of the
Database Engine concurrently with Reporting Services, you can
eliminate a post-Setup task by installing the default configuration,
which creates and configures the report server databases
automatically. In addition to hosting the report server databases, SQL
Server relational databases can also be a source of data for reports
and models.
You could install SSRS in a new server, but to do so you would need a new license for this other server.
From Microsoft SQL Server 2014 Licensing Guide:
"The software components of a single SQL Server 2014 license cannot be separated for use in more than one OSE. If these components are running on a server other than the main database server, then an additional license is required for each additional OSE in which they are installed. For example, if the SQL Server DB is deployed in one OSE and SQL Server RS is deployed in another, both OSEs must be fully licensed for SQL Server 2014 accordingly."
Link to download the guide:
http://go.microsoft.com/fwlink/?LinkId=230678

Does Sql Server 2005 Require Sync Framework Install?

What I have found on the 'net seems a little ambiguous whether or not something needs to be installed on the server to use the Sync Framework with SQL Server 2005.
My interpretation is no, that the ADO.NET'ness of the product reaches out to the server (assuming appropriately trackable tables exist).
My goal is to use SQL Compact on the client and Sync with SQL Server 2005 with no install on the server.
A little help would be great!
Thanks,
rusty
Other than the change tracking infrastructure (SQL Server 2008 Change Tracking or Triggers etc), you will not need to install any Sync Framework components on the SQL Server machine to be able to include it in a Sync topology.
Cheers,
Scott
As far as I know, SQL Server 2005 does not need the Microsoft Sync Framework installed.