Databases & Microsoft SQL Server
- 1. • Mahmoud Abdallah Mahmoud
• Head of Developer Vertical
• Microsoft Tech Club Sohag University
• Faculty of Engineering
- 3. • Database & DBMS
• Relational Database Features
• Structured Query Language
• Microsoft SQL Server
• DEMO
• How to start
• Microsoft Certifications
Objectives
- 6. • Size
• Ease of updating
• Accuracy
• Security
• Redundancy
• Importance
Having Data is not the problem, The problem is what comes next :
- 7. This is the true power of Database:
( It’s Invisible ) It’s the thing you can’t see
- 9. • The database is your data & your rules about that data.
• DBMS: Software Surround, Manage & Make sure your rules are applied.
Database Database
DBMS
Software
Other
DBMS
Database & DBMS
_ Amazon.com, eBay, Google, Bing, MVA, …. The business is the information +
Great programming + Nice front end.
_ It could be a website or an phone application.
- 11. Relational Database Features
• Database is constructed of one or more, usually more tables
• All your data goes into a table.
Table
Table
Table
Database
- 14. • Primary Key
_ It’s the one piece of data, that will identify one, and only one row in this table .
_ Connect your different tables together.
- 18. 2- Many To Many
_ You can’t express it directly.
- 22. 1- One To Many “very common”.
2- Many To Many “occasionally required”.
3- One To One “not common at all”.
4- None “exist”.
Recap
- 24. Introduction to SQL “ Structured Query Language ”
• SQL is the common language, that lies in the heart of every RDMS.
• SQL is the language “ very focused language ”.
• SQL is a declarative query language not a procedural language,
what it means that you use SQL to describe what you want
and let the RDMS handle how that actually done.
- 25. Example “ Books Table ”
# Which books have a ListPrice more than 40$ ???
- 27. In SQL
• You describe what you want
_ In English :
“ I want all books more than 40$ ”
_ In SQL :
SELECT * FROM Books WHERE ListPrice > 40
- 28. • SQL can be used to :
Create
Read
Update
Delete
• Define the databases themselves.
- 29. • Creating Queries in SQL
• It’s not for general programming, it’s
a language focused on working with
databases.
• Query: We use it to ask the database
a question, and we expect a reply.
- 32. Why Microsoft SQL Server ???
• A MATURE Product
_ It is been around for more than twenty years.
• MICROSOFT SQL Server
_ It’s very common in a Microsoft oriented shop.
• INTEGRATION
_ The integration is great with other Microsoft products things like SharePoint, ASP.NET, Silverlight or the office products like Excel.
• HOSTED SOLUTIONS
_ Many web hosting companies will allow you rent and create a SQL server databases and often inexpensively when it still quite rare to find other enterprise level databases like ORACLE or IBM
DB2 on offer.
• ADVANCED FEATURES
_ Reporting Services
_ BIDS & Data Analysis
_ Integration services
…
- 33. It’s a collection of different Components
SQL
Server
SQL Server
Management
Studio
Reporting
Services
SQL Server
Profiler
Business
Intelligence
Development
Studio
Integration
Services
Configuration
Manager
Analysis
Services
Books
Online
- 35. NASDAQNASDAQ is an American/Canadian stock exchange. It is the second-largest exchange in the
world by market capitalization, behind only the New York Stock Exchange.