Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sql Server Advanced Features MIS 424 Professor Sandvig.

Similar presentations


Presentation on theme: "Sql Server Advanced Features MIS 424 Professor Sandvig."— Presentation transcript:

1 Sql Server Advanced Features MIS 424 Professor Sandvig

2 Outline Sql Server Management Studio Security Programmability Example

3 Caveat Sql Server very complex & feature-rich product Many features not discussed Focus on “developer” features 1704 pages

4 Database Admin

5 SQL Server Management Studio Provides interface to Sql Server More features than Visual Studio ◦ Security  Users & permissions ◦ Programmability ◦ Diagrams  Relationships ◦ Optimization

6 SQL Server Management Studio Features: Visual Studio vs. SQMS

7 Security Authentication & Authorization Security is two step process: 1.Authentication:  Identifying user  Username & password 2.Authorization:  Check permissions for specific actions:  Select, insert, update, delete…

8 Authentication Sql Server supports: 1.Windows Authentication 2.Sql Server Authentication

9 Windows Authentication User identified by Windows OS ◦ Windows prompt Advantage: use existing Windows login Many organizations use Active Directory

10 Sql Server Authentication User created on SQL Server Sql Server manages username/password Benefit: ◦ Can create specialized users with limited permissions ◦ Example: ZipCodeReader

11 Authorization Every request must be authorized Common methods: ◦ Create limited user  ZipCodeReader ◦ Anonymous user:  Web site  Network Service  Account  Built-in Windows acct

12 SQL Server Authorization SQL Server allows granular control: ◦ Tables ◦ Fields ◦ Stored procedures

13 Programmability Store queries on database Reuse in many applications Division of duties ◦ Devs & DBAs Security options Hide underlying tables

14 Programmability Stored procedures ◦ Store query on database ◦ Accept arguments ◦ Assign permissions to procedure ◦ T-Sql supports complex queries ◦ CRUD support

15 Programmability Functions ◦ Read only ◦ Support input parameters ◦ Utilized inside sql statements: Select * FROM funGetNames Where NameF LIKE ‘s%’ Order by NameL ◦ May use in other functions, SPs, SQL queries

16 Example: Sql Server Management Studio: ◦ Create database ◦ Add table ◦ Create user ◦ Add user permissions to database


Download ppt "Sql Server Advanced Features MIS 424 Professor Sandvig."

Similar presentations


Ads by Google