Download presentation
Presentation is loading. Please wait.
Published byDortha Moody Modified over 9 years ago
1
شعار الشركة Ms SQL Server 2008 Express Edition
2
SQL Server Management Studio 2008 When we open the SQL server management studio this window are seen: - Right pane :write query and view the Results. - Left pane :object explorer ( Database, security, server objects ….)
3
Create A Database If we want to create new database: 1- right click on the (Database) icon and select (new database).
4
Create A Database 2-name your database and click ok.
5
Create A Database Now your new database appears under the(database).
6
SQL Server Data Types DescriptionData type Fixed-length character string. Maximum 8,000 characterschar(n) Variable-length character string. Maximum 8,000 charactersvarchar(n) Variable-length character string. Maximum 1,073,741,824 characters varchar(max) Variable-length character string. Maximum 2GB of text datatext Fixed-length Unicode data. Maximum 4,000 charactersnchar(n) Variable-length Unicode data. Maximum 4,000 charactersnvarchar(n) Variable-length Unicode data. Maximum 536,870,912 characters nvarchar(max) Variable-length Unicode data. Maximum 2GB of text datantext
7
Create A Table If you want to create new table into database: 1- right click on the (tables) icon and select (new table).
8
Create A Table 2- While you have this screen open, Using the values in the screenshot, complete the details in the "Column Name" column, the "Data Type" column, "Length" column, and "Allow Nulls" column.
9
Create A Table 3- save the table by selecting File>save table_1. 4- name your table.
10
Create A Table Now that you've created a new table, it will appear under your database in the "Tables" section.
11
Adding Data When we want to entered new data we should do this steps: 1-right click on the table you wish to open and select (Edit Top 200 Rows).
12
Adding Data 2- now start entering the data directly into your table.
13
Create A New Query Now we will create new query by: 1- click (New Query). 2- Type your query into the workspace on the right pane. 3-Click (Execute).
14
The End
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.