Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
Creating Databases Using SQL Server Management Studio Express

Creating Databases Using SQL Server Management Studio Express

Ratings:

4.77

(1)
|Views: 8,775|Likes:
Published by claudiocah
Breve descripcion sobre como crear base de datos con sql server express 2008
Breve descripcion sobre como crear base de datos con sql server express 2008

More info:

Published by: claudiocah on Jan 23, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC or read online from Scribd
See more
See less

02/02/2011

 
Creating databases using SQL Server ManagementStudio Express
 
CCAH 
With the release of SQL Server 2005 Express Edition, TI students and professionalsbegan to have an efficient, professional and cheap solution for creation andmanagement of SQL databases. However, to the surprise of most, the Expressdistribution is not accompanied by any
front-end 
to manipulate the databases and itsobjects. This happens because of the fact that all the Visual Studio tools have thecapability to manage the SQL Server from inside of its IDEs.In order for the database administrators to use SQL Express, Microsoft released afree tool called SQL Server Management Studio Express. This program, obtainedthrough download, substitutes the old “Enterprise Manager” and “Query Analyzer” of SQL Server 2000, now centering all of the database management in a single tool.In this article you will get acquainted with Management Studio Express and willlearn to create the database of a small library through the resources offered by thetool. You will also see how to create a Database diagram, insert
views
and export thedatabase created.
Download and installation of the manager
To obtain the SQL Server Management Studio Express, just download directly fromMicrosoft’s site at the
link. Havingdone this, simply install the software. After its installation, a program shortcut iscreated in the
Start 
menu of 
Windows
, inside the Microsoft SQL Server 2005 folder.
Gaining access to SQL Server 2005 Express
When you open Management Studio Express, a connection window with SQL Serverwill be opened, as
Figure 1
shows. In this window, you will enter the data forconnection with SQL Express existent in your machine. A detail to be observed is thatyou can, through the Management Studio, connect to a server SQL Server which is inanother machine in the net. Just click in the
Server name
box and choose the
Browser for more
option to search for the other server. In our example, we willconnect to the existing SQLEXPRESS instance in the machine itself (that, in this case,has the name PND). 
 
Figure 1
. Connection window of the SQL Management Studio ExpressRelative to the authentication mode, a warning: in case you have installed the SQLExpress along with the installation of an Express Tool or Visual Studio 2005, you willnot have the “sa” user password and will not be able to effect the authenticationthrough
SQL Server Authentication
. You will have to use the
Windows Authentication
option to gain access to the program. In our example, we will connect using Windowsauthentication.
Management Studio Work Area
After connected, the work area of Management Studio Express is then presented, as
Figure 2
shows. This window possesses the following areas: Menu Bar, Toolbar,
Object Explorer 
and
 Active Files
.
 
Figure 2
. SQL Server Management Studio Express Work AreaThrough the
Object Explorer 
box we can navigate among all of the SQL Serverparts, especially the
Databases
folder, where the created databases and their objectsare contained (tables,
views
etc.).In order to create a new database, it is enough to right-click over the
Databases
folder and choosethe
New Database
option.The window for the creation of the database is then opened, where you insert thename, choose the owner and configure the initial size of the data and log files. In ourexample,we call our new database “Library” and leave the initial data file size at 3MB, as you can verify in
Figure 3
. In the
Options
page, you will be able to set someof the new database’sadvanced options, as:
Compatibility level 
, where you choosewith which version of the SQL Server the new database will be compatible;
DatabaseRead-Only 
, where you decide if the database created will be read-only; and
Restrict  Access
, where you set the database access restrictions. After performing all theactions, click the OK button to finish our database creation.
 

Activity (4)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
ing_404 liked this
normunds1966 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->