if i create my database with sql server 2008 r2 management studio - database

I Create my database with sql server 2008 R2 .
now when setup this software in other computers must install sql server 2008 R2 management studio ?
not exist other way ?
and how i set SqlConnection that run at other systems.
(i connect to database with data connection in visual studio)
thanks.

Exist other way. I mean, there are other ways. Nearly any software that can connect to a database created in SQL Server 7, 2000, 2005 or 2008 is capable of connecting to a database created in SQL Server 2008 R2.
SQL Server Management Studio is used when a human user wants to connect to the database, but not when software connects to it.

Related

SQL Server Database Migration Assistant: Cannot connect to server

I am trying to migrate a database in-place (same PC) from SQL Server 2008 R2 Express to SQL Server 2019 Express, by using DMA (Database Migration Assistant). But I cannot connect to the target server (2008) during the "Assessment" task.
I have installed SQL Server 2019 as coexisting installation assigning the following instance names:
MSSQLSERVER (default name assigned during SQL Server 2008 R2 installation)
MSSQLSERVER2019 (different instance name assigned during SQL Server 2019 installation)
The PC is named DESKTOP1 and this results into the following server names:
DESKTOP1 for SQL Server 2008 R2
DESKTOP1\MSSQLSERVER2019 for SQL Server 2019
Both the server names work fine and I can normally connect to the servers by means of Management Studio.
The weird behaviour is that during the database assessment task, I couldn't connect to the source database server (DESKTOP1). Then I tried to go directly to the "Migration" task and I was able to connect. After this I went back to the "Assessment" task and (kind of magic) I was able to connect to the server DESKTOP1.
Do you have any clue about this issue? It looks like during Migration task there is something that enable the server connection.
Thank you!

SQL Server 2008 R2 Express cant connect to my editors

I'm using SQL Server 2008 R2 Express to edit my database. I can edit my database with query codes but there is a editor program which can help me to edit my database easily.
But when I'm trying to open this editor program, I get an error:
No SQL Server or there is no connection
In my opinion SQL Server 2008 R2 can't connect with this program basically. This editor program has an option.ini and I can write my database name and local.
Those editors were working for old SQL Server versions. But my database is suitable for SQL Server 2008 R2 express.

Conflict between sql server 2008 r2 and 2012

I have both SQL Server 2008 r2 and SQL Server 2012 installed, but when I open SQL Server 2008 r2 management studio and enter by (localhost), it's version seems to be 11.0.2218 which is for sql server 2012 management studio, so I can't access or create older tables.
Is there any way to change SQL Server management studio?
Open your SQL Server Configuration Manager, Under SQL Server Network Configuration you will find Protocols for and all the instances that is installed will be there. MSSQLSERVER is the default instance. Find your instance name there.
There other option is to run regedit Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server You will find keys like.
MSSQL10_50.MSSQLSERVER and
MSSQL11.SQLEXPRESS
Yours will be different though.
That will show you the SQL Server version and instance. Mine show MSSQL10.5 which is 2008 R2 as MSSQLSERVER which is the default instance, and MSSQL11 as SQLEXPRESS which is my named instance for 2012

SQL Server Management Studio 2014. Object Model (Smo)

Today I installed SQL Server 2014 Express and Management Studio.
But I can not find the object model in the new version of SSMS.
Please tell me how to find the library Microsoft.SqlServer.ConnectionInfo.dll and other dll?
Thanks.
Today I installed SQL Server 2014 Express and Management Studio.
It sounds like you installed just SQL Server 2014 Express and Management Studio. Microsoft SQL Server 2014 Shared Management Objects is part of the "Feature Pack" downloads for SQL Server 2014:
Microsoft® SQL Server® 2014 Shared Management Objects
SQL Server Management Objects (SMO) is a .NET Framework object model that enables software developers to create client-side applications to manage and administer SQL Server objects and services. This object model will work with SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012 and SQL Server 2014.
Note: Microsoft SQL Server Management Objects requires - Microsoft SQL Server System CLR Types, that is available on this page.
Filename: X86 and x64 Package(SharedManagementObjects.msi)

Are there glitches with trying to use SQL Server Management Studio 2008 R2 to manage MSSQL 2005 DB instances?

I'm currently using Microsoft SQL Server Management Studio ver. 9.00.4035.00 to manage my SQL Server 2005 (90) compatible databases.
Will I encounter problems should I attempt to upgrade the Management Studio software to SQL Server Management Studio 2008 R2 to manage MSSQL 2005 DB instances? I will not be upgrading the version of the database instance.
My personal expreience says that you wont have any migration issues if you have sql server 2005 db instances. The attach and detach of DB is same in 2008 version. Only thing is, once you use a 2005 instance DB and attach it to 2008 version, it cannot be used with 2005 version again. Apart from that, from functionality point of view, there are no issues, you can continue to use the 2005 version DB on 2008 as normal.
link for moving the DB from 2005 to 2008 -
http://www.packtpub.com/article/moving-a-database-from-sql-server-2005-to-sql-server-2008-in-three-steps
EDIT: Incase you want to move back to 2005 version for same DB instance, I dont think it will be possible except for doing a data export import onto new 2005 DB instance.

Resources