Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.

Slides:



Advertisements
Similar presentations
CC SQL Utilities.
Advertisements

1 Constraints, Triggers and Active Databases Chapter 9.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Chapter 12: Using ADO.NET 2.0 Programming with Microsoft Visual Basic 2005, Third Edition.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Database Management: Getting Data Together Chapter 14.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
Access Tutorial 1 Creating a Database
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
Concepts of Database Management Sixth Edition
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.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
An INTRODUCTION to MICROSOFT ACESS 2000 By Dr. Ennis-Cole.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Database Lecture # 1 By Ubaid Ullah.
Databases and LINQ Visual Basic 2010 How to Program 1.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Chapter 4 The Relational Model 3: Advanced Topics Concepts of Database Management Seventh Edition.
Database Technical Session By: Prof. Adarsh Patel.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Chapter 1 In-lab Quiz Next week
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
® Microsoft Access 2010 Tutorial 1 Creating a Database.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
6 1 Lecture 8: Introduction to Structured Query Language (SQL) J. S. Chou, P.E., Ph.D.
Microsoft Access 2010 Chapter 10 Administering a Database System.
® Microsoft Office 2013 Access Creating a Database.
Maintaining a Database Access Project 3. 2 What is Database Maintenance ?  Maintaining a database means modifying the data to keep it up-to-date. This.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
Visual Programing SQL Overview Section 1.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
BA271 Week 6 Lecture Dave Sullivan. Goal for today… Status Report – Review where we are … Status Report – Review where we are … Begin learning about Microsoft.
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
SQL/Lesson 7/Slide 1 of 32 Implementing Indexes Objectives In this lesson, you will learn to: * Create a clustered index * Create a nonclustered index.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Chapter 3: Relational Databases
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. DATABASE.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
SQL Basics Review Reviewing what we’ve learned so far…….
Microsoft SQL is known as RDMS (Relational Database Management System) which is developed by Microsoft and is highly used at corporate and enterprise.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Understanding Core Database Concepts Lesson 1. Objectives.
Visual Basic 2010 How to Program
Know About MS Access Database
SQL Recovery Freeware is the top notch tool to recover damaged MS SQL database.
Understanding Core Database Concepts
Presentation transcript:

Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL Server Files in SQL Server  Corruption Issues & Remedies

Company Logo What is Database ?? A Database is basically a collection of information (data) organized in such a way that a computer program can quickly select desired pieces of Data. For example: Organization Employees Database Library management Database

A database management system (DBMS), sometimes just called a database manager, is a program that lets one or more computer users create and access data in a database. It is a collection of programs that enables you to store, modify, and extract information from a database. The Following are Examples of Database Applications: 1.Computerized library 2.Flight reservation systems 3.Hospitals What is DBMS

Types Of Database

Most Popular Primary Database

What Is SQL SQL is a standard query language designed for managing data held in a relational database management system (RDBMS). What Can SQL Do? 1.SQL lets you access and manipulate database. 2.SQL can retrieve data from a database. 3.SQL can insert records in a database. 4.SQL can update records in a database. 5.SQL can delete records from a database.

Microsoft SQL Server is a relational database management system developed by Microsoft. As a database, it is a software product whose primary function is to store and retrieve data as requested by other software applications, be it those on the same computer or those running on another computer across a network (including the Internet). SQL Server Management Studio is SQL Server’s main interface tool, and it supports 32-bit and 64-bit environments. What Is SQL Server

Versions Of SQL Server

SQL Server Database Files Primary Data File (.mdf) Secondary Data File (.ndf) Log Data File (.ldf)

Primary Data Files The primary data file is the starting point of the database and where you place your data. Every database has one primary data file. The recommended file name extension for primary data files is.mdf. Secondary Data Files Secondary data files comprise all of the data files other than the primary data file. Some databases may not have any secondary data files, while others have multiple secondary data files. The recommended file name extension for secondary data files is.ndf.

Log Files Log files hold all the log information used to recover the database. There must be at least one log file for each database, although there can be more than one. The recommended file name extension for log files is.ldf.

Components Of SQL Database 1.Table 2.View 3.Trigger 4.Stored Procedure 5.Function

1.Tables- All the data in MS SQL Server database is contained in objects called table. The tables have two main components- A. Rows B. Columns 2.View- A view is a virtual table based on the result-set of a SQL statement. 3.Trigger- Trigger are stored programs which are automatically executed when some events occurs used for maintaining integrity.

4. Stored Procedure- A stored procedure is nothing more than prepared SQL code that you save so you can reuse the code over and over again. So if you think about a query that you write over and over again, instead of having to write that query each time you would save it as a stored procedure and then just call the stored procedure to execute the SQL code that you saved as part of the stored procedure. 5. Functions- Functions in programming languages are subroutines used to encapsulate frequently performed logic. Any code that must perform the logic incorporated in a function can call the function rather than having to repeat all of the function logic.

Constraints Constraints allow you to define the way SQL Server automatically enforces the integrity of a database. Constraints define rules regarding the values allowed in columns. Here are types of constraints-  Primary Key- Column (or columns) in a table that uniquely identifies the rows in that table.  Foreign Key- A FOREIGN KEY in one table points to a PRIMARY KEY in another table  SQL Unique- Uniquely identifies each record in a database table.

Corruption Issues 1.Log files or data files have got damaged. 2.Due to lack of disk space, suspect mode like issues crops up in SQL Server database. 3.Due to improper shutdown of database Server, you mostly find SQL database in suspect mode. 4.Suspicious attacks of virus. Corruption Issues & Remedies

Remedies 1.Valid Backup: If you have valid and updated backup of SQL database then, use it. 2.Take CHECKDB Help: If you are stuck in error of inconsistency then, you can try DBCC CHECKDB command. 3.Use Third Party Tool

SQL Recovery 1. Recover Corrupt SQL Server 2012, 2008 / 2008 R2, 2005, 2000 Database Files. 2. Recover Triggers, Rules, Functions, Tables, Stored Procedures etc. 3. Software will Recover Deleted SQL Server Database table's Data which are not overwritten. 4.Scan & Recover Multiple MDF & NDF Files. 5. Export File into SQL Server Database or SQL Server compatible script. INTACT RECOVERY SOLUTION

Open MDF File - SQL Recovery tool will give the option to Open MDF file from the location it is stored in the first screen appeared. Select Open:

Now You have two tabs for recovering both MDF file as well as NDF Files, check the Auto detect option, if you want to detect the MDF file automatically.

Select the second tab i.e. NDF Options. Click Add Files option to recover the NDF Files. After adding file click on OK button:

Software shows the summarized details of selected MDF files and the automatic scanning of the MDF files from SQL Server database take place.

You can also save the MDF file in.str file. If you want to save STR file then click on Yes otherwise click on No and move on to second step.

Select the location for saving.str file. Click Save:

Preview recovered database of MDF and NDF files: software will show the entire database of repaired MDF and NDF files such as tables, triggers, stored procedures and views etc.

Now you need to select Export to export the recovered database:

There will be display of all the tables, etc. all other elements. You can export the recovered database as MDF and SQL Server compatible scripts. Choose the saving option among: SQL Server Database and SQL Server compatible scripts.

If you select SQL Server Database then you have to provide the credentials.

The.sql file will get created if you export & save the file as SQL Server Compatible SQL Script mode.

Now check the desired component of database to export.

Choose from option either you want to export the MDF file with only schema or with schema & Data.

Click Export/Save option to initiate the export process:

More Information Please Visit Us : software.org/database- recovery/microsoft-sql.html software.org/database- recovery/microsoft-sql.html