Which are the reliable registry entries to see install versions of SQL Server? Like if I have 2005 and 2008 both installed on my machine, how can I check this in registry? Also how to check which is the default one?
Have a look at
SQL Server Registry Hacks Top 10
how to find the edition of SQL
Server 2000/2005 through
registry?
Related
I want to practice with some database that I want to use inside Visual Studio 2017.
I had Northwind.mdf that I downloaded some time ago. But when I try to connect to it from VS2017 Servers panel, I get error message:
This database file is not compatible with the current instance of SQL Server.
Q1: Why?
Q2: Where and how do I know the version of Northwind.mdf?
Q3: Where and how do I know which version of database is supported by VS2017?
Q4: I can create my own database in VS2017, but why I cannot use the existing database?
SQL Server only supports databases up to two versions ago, I don't know what version of SQL Server comes with VS2017 but I suppose that is at least SQL Server 2016 (you can check it using the query select ##version), so it supports at most DB's from SQL Server 2012 and Northwind is for SQL Server 2000.
If you really, really want to use that database you have an upgrade path, is a bit cumbersome but is free (you should use a virtual machine for this if you can, I sometimes use the VM's that MS offer for testing IE for this sort of things):
Download and install SQL Server 2008 R2 Express, which is the last version that supports databases from SQL Server 2000. Import the database and make a full backup (you can also attach and detach the database files but I prefer to use backups).
If the version returned by select ##version if SQL Server 2016 or higher, download and install SQL Server 2014 Express. Restore the backup from 2008 to a new database and then make another backup of that database (if you are using this version just restore the backup in your current SQL Server and you are done).
Finally, restore the 2014 backup in the SQL Server used by VS2017.
Note that is you already have SQL Management Studio (or it's integrated in VS2017) you don't need to install the previous versions, since it can connect to different SQL Server versions (if you do all the installs on your system you shouldn't install the previous versions of Management studio, take care of this). Also, if you are doing this in your system I recommend uninstall the step versions as soon as possible.
i have the same problem, i want to use the northwind in VS2017 environment.
(btw - w3scoolsuse this northwind db to teach sql (october 2018)
so i download the sql script from here, install it and run it from cmd in my computer
sqlcmd -S (localdb)\mssqllocaldb -i InstNwnd.sql
This create db in my computer that i can access by sqlcmd, and by visual studio 2017.
If you want those files (without build it yourself) you can download it from my google drive ( i will upload it to github someday and change the link)
I am poorly experienced in SQL Server installations. I have already installed 2008r2 on Microsoft Windows 8.
Now I want to install MS SQL Server 2005, but I need both MS SQL Server 2008r2 and MS SQL Server 2005.
How can I install this?
You can install both versions on same computer..
From MSDN:
SQL Server supports multiple instances of the Database Engine, Analysis Services, and Reporting Services on the same computer. You can also upgrade earlier versions of SQL Server, or install SQL Server on a computer where earlier SQL Server versions are already installed.
There's a couple of problems here; firstly SQL 2005 isn't even compatible with Windows 8. Windows 7 you can just about get away with it with some patching. Next you need to install the instances and tools in version order. So SQL 2005, then SQL 2008.
You could try uninstalling SQL2008, but you'll probably find too many updates and bits have occurred to get back to a state that might allow you to try doing SQL2005.
My recommendation would be; format the host machine. Install Windows 8. Setup HyperV virtual machines for each version of SQL Server in an operating system that's more inline with the SQL product. Eg. Win2003 for SQL2005. Win2008 for SQL 2008.
He's a block post of doing this to create a manageable developer workstation running every version of SQL Server: http://www.purplefrogsystems.com/paul/2016/05/using-hyper-v-and-powershell-to-create-the-perfect-developer-workstation/
I need to have SQL server 2005 and SQL server 2014 on the same Windows 7 machine.
My situation is as follows. I have 2 versions of the same program:
The first version uses SQL server 2005 databases with names DB1 and DB2.
The second version uses SQL Server 2014 databases with the same names DB1 and DB2.
How would I go about doing this?
Although I have never tried the above combination I have installed mixed versions of SQL server on the same computer (with Windows 7). The method is:
Always install the older version first
When prompted give it an instance name
Install the new version; don't choose the upgrade option
Give it a different instance name
Remember that SQL server 2005 is now out of support so you will need to download the most recent service pack and install it manually.
You can read more about it here.
I have Ms Sql Server Express 2005 currently installed. I need to install the "Sql Server Express with Advanced Services" from Microsoft, found here (in order to enable full-text search feature):
http://www.microsoft.com/betaexperience/pd/SQLEXPCTAV2/enus/default.aspx
Problem is: the "Express with advanced services" component is from 2012, and my Ms Sql Server is from 2005. Are they compatible? Do I risk messing up the Sql Server installation if I run this service?
I'm very short of time and I don't want to mess up my installation and have to reinstall.
Thank you!
Installing Express with Advanced Services will install a new instance of SQL Server. Compatibility won't matter because only the new Express instance will have Full-Text capability and your existing SQL Server 2005 instance won't be able to use it. What you probably want to do is install Full-Text for the instance you already have installed - you can do this through Add/Remove Programs for the existing SQL Server 2005 instance (assuming you still have the install media for SQL Server 2005), which will call up the Installation Center where you can choose to add features to an existing instance.
Where is the configuration manager for SQL Express 2005? I need to configure SQL Server for TCP/IP but there is no configuration manager with the package. I see SQL Server Database Publishing Wizard, I see SQL Server Migration Assistant for Access, but no Configuration Manager. According to the MSDN, there should be one. I've even looked online for a download of the Configuration Manager for SQL Server 2005, but could not find one. Did I miss something in the download or should I just scrap SQL Server Express and download the full-blown SQL Server for Developers?
My SQL Server 2005 Express Configuration Manager shortcut launches:
C:\WINDOWS\system32\mmc.exe /32 "C:\WINDOWS\system32\SQLServerManager.msc"
If you don't have the start menu shortcuts, try running that from the run menu/command prompt. Check in the C:\WINDOWS\system32\ folder to make sure the SQLServerManager.msc file exists.
This might be what you are looking for. I have used it with SQL Server Express 2005 although I am not sure if it configures the specific things you want to change and I just now verified that it does provide access to the communications options.
It should be installed as part of your SQL Express 2005 installation. Perhaps you arent looking at the right place. In a typical installation, you will find the configuration manager in here (word may not match as I just typed in as I can remember)
Start -> Program -> Microsoft SQL Server 2005 -> Configuration Tool -> Configuration Manager
Try installing this "SQL Server 2005 service pack 3"
https://msdn.microsoft.com/en-us/sqlserver/bb895958
It installs lots of utilities including the configuration manager.
I encountered this same issue with a particular machine (cuz usually -with other machines- it gets installed with normal SQL EXPRESS 2005 installer)