Setting up Publication on SQL Server 2008 R2 Express - sql-server

I cannot find the Local Publication folder in the node Replication in my SQL Server Management Studio.
I recently installed SQL Server 2008 R2 Express edition.
I also created two instances for testing purposes.
Solution for SQL Server 2005 is available here but not for SQL Server 2008 R2 Express

According to Replication Considerations (SQL Server Express), a SQL Server Express Edition instance cannot be used as a Publisher or Distributor:
SQL Server Express cannot serve as a Publisher or Distributor.
However, a SQL Server Express Edition instance can serve as a Subscriber.
You will need a SQL Server Standard Edition instance or higher to configure a publication.

Summarizing comments at one place - so it helps others,
SQL 2008 Express can not be used as publisher but can be used as subscriber.
read on MSDN to find out more Replication Considerations (SQL Server Express)

Related

Snapshot for different SQL Server Version

Can I create a snapshot from SQL Server 2012 on a SQL Server 2008 R2 Server?
The goal is to build reporting and queries without locking the live database.
I need only a DB copy (Getdate()-1)
No, the SQL Server 2012 snapshot has specific SQL Server 2012 features in it that are not compatible with SQL Server 2008 R2. These are incompatibilities that you will not see. They are deep in the SQL Server engine. You cannot do this.
It's a similar concept to trying to restore a SQL Server 2012 database backup to a SQL Server 2008 R2 instance. The higher database version cannot backstep to a lower version.
You need to use a SQL Server of the same level or higher (I believe or higher) for your snapshot server.

Migrate SQL Server 2008 databases to 2016

We are processing to migrate SQL Server databases from 2008 to 2016.
We are searching now for expired function or utilities used in SQL Server 2008 and not available in SQL Server 2016 before migration.
Do you have reference for that?
Here are few features removed in SQL Server 2016 (from MSDN):
SQL Server 2016 is a 64-bit application. 32-bit installation is discontinued, though some elements run as 32-bit components
Compatibility level 90 is discontinued. For more information, see ALTER DATABASE Compatibility Level (Transact-SQL).
Though you are migrating from SQL Server 2008 directly to SQL Server 2016, you need to consider the removed features of SQL Server 2012 & SQL Server 2014 as well
Discontinued Database Engine Functionality in SQL Server 2014
Discontinued Database Engine Functionality in SQL Server 2012

SQL Server express backup

Can I use a SQL Server Express database backup file to restore that database on a full fledged version of SQL Server. I am particularly looking at SQL Server 2008 Express to SQL Server 2012 Enterprise. And if so how?
Lets be clear about one thing first, SQL Server Express , Standard and Enterprise are the Editions.
SQL Server 2005 , 2008, 2008 R2 and 2012 are SQL Server versions.
Now coming to your question whether you can restore a database from 2008 Express to 2012 Enterprise?
The Simple Answer would be YES you can.
A couple of things to keep in mind.
SQL Server Editions has no limitation you can backup and restore databases from one Edition to another without any restrictions (Except SQL Server Express which can only accommodate databases upto 10 GB). Other than this size limitation in SQL Server express, all is good.
Whereas SQL Server Versions has a very strict limitation, You can go up 3 versions but cannot go down at all.
For example if you had taken a backup on SQL Server 2008 (regardless of Edition) you can restore this backup onto a SQL Server 2008, 2008 R2 , 2012 and I think also on 2014. But you cannot restore this onto a SQL Server 2005.
I hope the explanation clears some confusions.

Can i Upgrade SQL server 2008r2 express to sql server 2014 Developer edition

I currently have SQL server 2008 R2 Express installed for my QA/Dev environment on Amazon EC2 instance.
Now my database is growing beyond the 10GB limitation of Express edition, so am planning to buy SQL server 2014 Developer edition.
So can i upgrade my SQL Express 2008 R2 to SQL server 2014 Developer Edition, if yes what is the procedure?
Yes you can upgrade. Check this Upgrades from Earlier Versions to SQL Server 2014
Yes you can Upgrade Sql-Server 2008r2 to 2014 developer edition.
First of all restoring backup will not upgrade your database. So,
1) Microsoft SQL Server 2014 installation setup provide options to upgrade your database either from 2008 R2 or from 2012. This will preform all the process and provide information if your database is upgradeable or you required to make some changes to your old database. After that you can proceed to upgrade database from 2008 R2 to 2014.
My recommendation would be to install SQL Server 2014 instance and then backup and migrate database from SQL Server 2008 R2 to SQL Server 2014
2) There are other third party tools that will preform all the necessary processes and messaging before upgrade.
You can get complete installation details here :
http://www.mssqltips.com/sqlservertip/3245/quick-guide-to-upgrading-to-sql-server-2014/
Yes, you can upgrade it. You are not written your service pack of sqlserver. Here is the link to what and how to upgrade to Sqlserver2014.
Before doing this type of task always ready for rever, so take backup and restore any other pc.
This will give the whole up-gradation details
https://msdn.microsoft.com/en-us/library/bb677622.aspx
http://searchsqlserver.techtarget.com/tip/SQL-Server-upgrade-paths-What-to-do-before-during-after-upgrading
SQL Server 2012 SP1
SQL Server 2008 R2 SP2
SQL Server 2008 SP3
SQL Server 2005
http://sqlmag.com/sql-server-2014/migrating-sql-server-2014
https://msdn.microsoft.com/en-us/library/cc707783.aspx
https://msdn.microsoft.com/en-us/library/ms143393.aspx

Can we restore backup from SQL Server 2008 R2 to SQL Server 2008 R2 Express Edition?

I need to restore backup taken from SQL Server 2008 R2 to SQL Server 2008 R2 Express edition. Is it possible ?
You can only restore backups to servers running the same or higher version. Normally you can restore backups on SQL Express that were made on servers running other editons (Standard, Enterprise, ...) as long as the database size is not greater than the max size supported by SQL Server Express (10GB on latest versions).
In your case, the backup was made on a server running SQL Server 2008 R2 (version 10.50) and you are trying to restore it to a server running SQL Server 2008 (version 10.00).
In SQL Server 2005 and later, some Enterprise Edition–only features make a database Enterprise Edition–only (i.e., it can’t be restored on a Standard Edition or lower SQL Server system) if the features are present in the database.

Resources