Aga Private computer Institute Prepared by: Srwa Mohammad

Slides:



Advertisements
Similar presentations
Basic SQL Introduction Presented by: Madhuri Bhogadi.
Advertisements

Accounting System Design
ASP.NET Database Connectivity I. 2 © UW Business School, University of Washington 2004 Outline Database Concepts SQL ASP.NET Database Connectivity.
Murali Mani SQL DDL and Oracle utilities. Murali Mani Datatypes in SQL INT (or) INTEGER FLOAT (or) REAL DECIMAL (n, m) CHAR (n) VARCHAR (n) DATE, TIME.
Introduction to Database Management
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
DATABASES AND SQL. Introduction Relation: Relation means table(data is arranged in rows and columns) Domain : A domain is a pool of values appearing in.
MY SQL Eng: SAHAR. Introduction to SQL What is SQL? When a user wants to get some information from a database file, he can issue a query A query is a.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
ASP.NET Programming with C# and SQL Server First Edition
I Copyright © 2004, Oracle. All rights reserved. Introduction.
Concepts of Database Management Seventh Edition
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
CS 3630 Database Design and Implementation. Your Oracle Account UserName is the same as your UWP username Followed Not case sensitive Initial.
Chapter 7 SQL HUANG XUEHUA. SQL SQL server2005 introduction Install components  management studio.
CSC 2720 Building Web Applications Database and SQL.
SQL Data Definition Language (DDL) Using Microsoft SQL Server 1SDL Data Definition Language (DDL)
SQL SQL Server : Overview SQL : Overview Types of SQL Database : Creation Tables : Creation & Manipulation Data : Creation & Manipulation Data : Retrieving.
1 Copyright © 2004, Oracle. All rights reserved. Introduction.
Chapter 5: Part 1: DDL STRUCTURED QUERY LANGUAGE (SQL)
Database A database is a collection of data organized to meet users’ needs. In this section: Database Structure Database Tools Industrial Databases Concepts.
1 Structured Query Language (SQL). 2 Contents SQL – I SQL – II SQL – III SQL – IV.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
Oracle 11g DATABASE DEVELOPMENT LAB1. Introduction  Oracle 11g Database:-  Oracle 11g database is designed for some features, which helps to the organizations.
SQL: DDL. SQL Statements DDL - data definition language –Defining and modifying data structures (metadata): database, tables, views, etc. DML - data manipulation.
MySQL Database Management Systems Universitas Muhammadiyah Surakarta Yogiek Indra Kurniawan.
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
Advanced Database CS-426 Week 1 - Introduction. Database Management System DBMS contains information about a particular enterprise Collection of interrelated.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
GLOBEX INFOTEK Copyright © 2013 Dr. Emelda Ntinglet-DavisSYSTEMS ANALYSIS AND DESIGN METHODSINTRODUCTORY SESSION EFFECTIVE DATABASE DESIGN for BEGINNERS.
CMPT 258 Database Systems The Relationship Model (Chapter 3)
ITS232 Introduction To Database Management Systems Siti Nurbaya Ismail Faculty of Computer Science & Mathematics, Universiti Teknologi MARA (UiTM), Kedah.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
1 Working with MS SQL Server Beginning ASP.NET in C# and VB Chapter 12.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Understand Data Definition Language (DDL) Database Administration Fundamentals LESSON 1.4.
Understanding Core Database Concepts Lesson 1. Objectives.
Fundamental of Database Systems
Fundamentals of DBMS Notes-1.
PGT(CS) ,KV JHAGRAKHAND
Oracle & SQL Introduction
Database Management System
Introduction To Database Systems
Data Definition and Data Types
What is an attribute? How is it related to an entity?
Created by Kamila zhakupova
Chapter 4 Relational Databases
Introduction to Database Management System
DATABASE MANAGEMENT SYSTEM
STRUCTURED QUERY LANGUAGE
System And Application Software
Accounting System Design
MANAGING DATA RESOURCES
قـواعــــد الـبـيــانــات
مقدمة في قواعد البيانات
CIS16 Application Programming with Visual Basic
Accounting System Design
Session - 6 Sequence - 1 SQL: The Structured Query Language:
Contents Preface I Introduction Lesson Objectives I-2
ບົດທີ 6 ການຄຸ້ມຄອງຊັບພະຍາກອນຂໍ້ມູນ (Managing Data Resource)
DATABASE Purpose of database
Understanding Core Database Concepts
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
SQL (Structured Query Language)
Presentation transcript:

Aga Private computer Institute Prepared by: Srwa Mohammad SQL Server Aga Private computer Institute Prepared by: Srwa Mohammad

Chapter 1 Database Concepts Introduction to Database Concepts A database is collection of information that is organized so that it can be easily accessed managed and updated

Database systems 2 types of database system database system Hardware: it is helpful to categorize computer memory into 2 classes (internal memory & external memory) internal is permanent for example ROM1 and external as ROM2 which is volatile database system Software: user interface with database systems through query languages *main task of data manipulation are data retrieval and data update

Type of databases 1-Relational database: the data is in a relational database is stored in different data tables, each table has a key field used to connect it to other tables 2- operational database: is very important to organizations as they include the customer database and personal database

3- database Warehouses: organizational is required to keep all relevant data for several years 4- distributed database: many organizations have several office location 5- user database: each workstation is like a small database in itself

Steps of Design database 1-determine the purpose of your database 2-determine the tables you need in database 3-determine the fields you need 4-identify fields with unique values 5-determine the relationships between tables 6-refine the design

Chapter Tow Introduction to SQL server SQL server: is a relational database management system developed by Microsoft. Relational database management system (RDBMS): offers a variety of administrative tools to ease the burdens of database development, maintenance and administration

SQL Server minimum hardware requirements SQL Server Editions Memory (RAM) CPU SQL Server Enterprise (64 bit) 1 GB 1.4 GHz Business Intelligence(64 bit) Standard (64 bit) Enterprise (32 bit) 1 GHz Business Intelligence(32bit) Standard(32 bit)

SQL Server minimum software requirements Operating system (OS) NET Framework Windows PowerShell SQL Server support tools and software Internet Explorer Virtualization

Advantages of master DB: The Master Database: one of the database installed with Microsoft SQL Server is named master Advantages of master DB: Holds all information about server Keeps track of every thing you do on the server (EX\ creating & managing database)

Data types Data type: is an attribute that specifies type of data of any object Numeric data types: Int: from (-9, 224, 8899,251) to (9, 224, 8899,251) Tinyint: from (0) to (255) Bit: from(0) to (1) Decimal: from (-10^2+1) to (10^2-1) Numeric: from (-10^2+1) to (10^2-1) Money: from (-1 , 113 , 4.5808) to (+1 , 113 , 4.5807)

Date and Time data type: Datetime: from (Jan 1,1753) to (Dec 31,9999) Date : store data like (June 30,1991) Time: store time like 12:30 P.M. Character and String data type: Char: from (char) to (data with max length of 8000 characters) Text: from (text) to (data with max length of 2,147,483,647 characters )

Data Definition Language (DDL) DDL: are statements used to define database structure in SQL server They used to create, alter, or drop data structure CREATE: to create object in database ALTER: modify structure of database DROP: delete an object in database TURNCATE: remove all records from database ,spaces of records also will be deleted COMMENT: add comment to the data dictionary RENAME: rename an object

Data Manipulation language (DML) DML: are statements used to retrieve and work with data in SQL server Statements used to add, modify, query, or remove data in SQL server database: SELECT: retrieve data from database INSERT: insert data to table UPDATE: update existing data in table DELETE: delete all record from table, spaces of records are remain