SQL Server 2005 Express Jeremy Kadlec Edgewood Solutions 410.591.4683.

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements

SQL Server 2005 RDBMS Technical Overview Matthew Stephen IT Pro Evangelist (SQL Server) Microsoft Ltd.
Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide Standardizing Application.
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
SQL Server 2005 Database Engine Sommarkollo Microsoft.
The Essentials: DMV’s and T-SQL for the DBA Rocky Mountain Tech Tri-Fecta.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
Gavin Payne Oracle for SQL Server DBAs. Why Oracle? Installation Physical Storage Backup and Recovery 20 slides in 50 minutes Inside the database Programmability.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Jeremy Boyd Director – Mindscape MSDN Regional Director
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
Managing and Monitoring SQL Server 2005 Shankar Pal Program Manager SQL Server, Redmond.
Passage Three Introduction to Microsoft SQL Server 2000.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
1 Working with MS SQL Server II. 2 The sqlcmd Utility Command line utility for MS SQL Server databases. Previous version called osql Available on classroom.
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
What’s New in SQL Server 2005 From a Developer’s Perspective.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
E.halFILE 2.2 New Application Features Session II.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Module 1: Introduction to Microsoft SQL Server 7.0.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Overview of SQL Server Alka Arora.
Database Technical Session By: Prof. Adarsh Patel.
Introducing Reporting Services for SQL Server 2005.
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
Company LOGO 1 Database Creation and Maintenance Jorge G. Martinez.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Working with MSSQL Server Code:G0-C# Version: 1.0 Author: Pham Trung Hai CTD.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
SQL Server 2012 Session: 1 Session: 3 Introduction to SQL Server 2012 Data Management Using Microsoft SQL Server.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
A Brief Documentation.  Provides basic information about connection, server, and client.
Name Microsoft Student Partner Overview of the Visual Studio 2005 Express Products.
SQL Server 2000 Sys Admin Jeremiah Curtis Engineering Services
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
Enterprise Database Administration & Deployment SIG ▪ 313M ▪ Sept 29, 2005 ▪ 10:15 AM SQL Server 2005 Performance Diagnosis and Tuning using SQL Tools.
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)
Esri UC 2014 | Technical Workshop | Administering Your Microsoft SQL Server Geodatabase Shannon Shields Chet Dobbins.
Module 1 Introduction to SQL Server® 2008 R2 and its Toolset.
Hosting Websites and Web Applications with Microsoft ® SQL Server ® 2008.
Learningcomputer.com SQL Server 2008 – Management Studio.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
CFUNITED – The premier ColdFusion conference SQL Server 2005 Express Jeremy Kadlec Edgewood Solutions
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
CFUNITED – The premier ColdFusion conference SQL Server 2000 and 2005 Performance Tuning Jeremy Kadlec Edgewood Solutions
Getting the Most from SQL Server 2005 Don Vilen Program Manager SQL Server Microsoft Corporation.
SQL Database Management
Introduction ITEC 420.
How to be a SharePoint Developer
Lead SQL BankofAmerica Blog: SQLHarry.com
A Technical Overview of Microsoft® SQL Server™ 2005 Beta 2
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Common Security Mistakes
Introduction of Week 3 Assignment Discussion
Download Microsoft Exam Dumps - Valid Microsoft Question Answers - Realexamdumps.com
Chapter 11 Managing Databases with SQL Server 2000
Governing Your Enterprise with Policy-Based Management
Presentation transcript:

SQL Server 2005 Express Jeremy Kadlec Edgewood Solutions

Slide: 2 © Edgewood Solutions LLC 2006 Agenda Introductions Session Goals Installation Path and Licensing Management Studio Primer Development Administration Additional Resources Q & A

Slide: 3 © Edgewood Solutions LLC 2006 Jeremy Kadlec Edgewood Solutions ( –Customer focused SQL Server solutions –Planning, Audits, Integration, Training, Products Performance Tuning, Administration, Development, Upgrades, High Availability, Disaster Recovery, Database Auditing Principal Database Engineer – Author of numerous SQL Server resources – –SearchSQLServer.com – Ask the Experts –The Rational Guide to IT Project Management NOVA SQL Co-Leader – SQL Server 2005 Adoption Rate Report –

Slide: 4 © Edgewood Solutions LLC 2006 Session Goals Answer the following questions: –What is SQL Server 2005 Express and how is it any different than the other versions of SQL 2005? –Where do I get my copy? –What is the general installation process? –How do I create a database, then the tables and code to support my application? –What are some of the basic administration tasks that I should be aware of? –Where can I find more information on SQL Server 2005 Express edition?

Slide: 5 © Edgewood Solutions LLC 2006 SS2K5 Express Introduction Scaled down and easy to use version of SQL 2005 –CPU’s = 1 –Memory = 1 GB –Database size = 4 GB –Users = unlimited –Cost = FREE Replacement to SQL Server 2000 MSDE Redistributed version of SQL Server for client applications Intended for ISVs, ISPs, ASPs, web developers and hobbyists Environments = Production, test and development

Slide: 6 © Edgewood Solutions LLC 2006 Express Edition Licensing Register for SQL Server Express Edition Redistribution Rights – express/redistregister.mspx

Slide: 7 © Edgewood Solutions LLC 2006 SS2K5 Express Installation Prerequisites and installation order Download locations Verifying installation Post installation tasks

Slide: 8 © Edgewood Solutions LLC 2006 Prerequisites Windows Installer 3.1 (~2.5 MB) – fc-5f56-4a38-b838-de776fd4138c&displaylang=en.NET Framework 2.0 (~ 22 MB) – 56eacb b0d-8edd-aab15c5e04f5&displaylang=en Microsoft Core XML Services (MSXML) 6.0 (~3.5 MB) – 3c0bcf-3bcf-4009-be21-27e85e1857b1&displaylang=en

Slide: 9 © Edgewood Solutions LLC 2006 Express Edition Downloads Microsoft SQL Server 2005 Express Edition (~55 MB) – milyid=220549b5-0b dcc397514b41&displaylang=en Microsoft SQL Server Management Studio Express - Community Technology Preview (CTP) November 2005 (~30 MB) – milyid=82afbd59-57a4-455e-a2d6- 1d4c98d40f6e&displaylang=en

Slide: 10 © Edgewood Solutions LLC 2006 Verify Installation Default Installation Directory –C:\Program Files\Microsoft SQL Server\SQLExpress\ –~140 MB Windows Service –SQL Server (SQLExpress) –SQL Server Browser Windows Event Log

Slide: 11 © Edgewood Solutions LLC 2006 Post Installation Task 1 Configuration Manager –Services –Network Protocols –Client Protocols –Aliases Great for server consolidation projects without changing front end application connection strings

Slide: 12 © Edgewood Solutions LLC 2006 Post Installation Task 2 Surface Area Configuration –Services and Connections Service management Remote Connections –Features CLR Integration xp_cmdshell

Slide: 13 © Edgewood Solutions LLC 2006 SQL Server 2005 Express Tour Primary interface to SS2K5 Express –Object Explorer –Template Explorer –Summary Window –View Toolbars Combination of Enterprise Manager and QA in SQL 2000 Similar functionality as the Management Studio for other SQL 2005 versions

Slide: 14 © Edgewood Solutions LLC 2006 Database Creation Right click on the ‘Database’ folder, select ‘New Database’ and complete ‘New Database’ Wizard CREATE DATABASE T-SQL statement

Slide: 15 © Edgewood Solutions LLC 2006 Table Creation Table creation interface with Column and Table Properties –Table Designer toolbar –Save Change Script Template Explorer – CREATE TABLE T-SQL template

Slide: 16 © Edgewood Solutions LLC 2006 Database Design Create and drop tables, indexes, primary keys, etc. in the diagram or database –NOTE – Making actual coding changes, not mock up Database Design Toolbar

Slide: 17 © Edgewood Solutions LLC 2006 Views View = virtual table to query based on an underlying SELECT statement View Designer Toolbar View Template Explorer

Slide: 18 © Edgewood Solutions LLC 2006 Synonyms Synonym = reference to a virtual object that can be on another server or schema SQL Server imposes late binding so test based on name appropriately CREATE SYNONYM T-SQL statement

Slide: 19 © Edgewood Solutions LLC 2006 Programming T-SQL and CLR support –CLR off by default = Enable CLR via Surface Area Configuration Objects – Stored Procedures, Functions, Triggers (DML and DDL) –Foundation for SQL Server development

Slide: 20 © Edgewood Solutions LLC 2006 T-SQL Enhancements Error Handling –TRY and CATCH paradigm from procedural languages such as VB BEGIN TRY T-SQL Code… END TRY BEGIN CATCH T-SQL Code… ERROR_NUMBER() ERROR_SEVERITY() ERROR_STATE() ERROR_PROCEDURE() ERROR_LINE() ERROR_MESSAGE() END CATCH

Slide: 21 © Edgewood Solutions LLC 2006 T-SQL or CLR T-SQL –Data driven logic CLR –Extend the capabilities of the native DBMS –VB.NET, ASP.NET, C#, etc. Word to the wise… –Keep it simple –Standardize development practices at organization –Always consider performance implications

Slide: 22 © Edgewood Solutions LLC 2006 XML XML Usage –Data exchanges - B2B –Non traditional data - Visio diagrams XML not replace traditional database design –XML = DDL –XQuery = T-SQL SELECT’s FOR XML option –Auto, Raw, Explicit Native XML data type –Columns (2 GB), variables, parameters XML Schema –Schema Collections XML Indexes –Primary – 1 row per node (element, attribute, text) to improve speed to the node –Secondary – Path, Value, Property Compliments SQLXML –UpdateGrams - Insert, update, or delete relational data –DiffGrams - Modify relational data

Slide: 23 © Edgewood Solutions LLC 2006 Security Login and user paradigm Server, database and application roles –Fixed and user defined Schema – Container for object ownership Asymmetric Keys Symmetric Keys Certificates

Slide: 24 © Edgewood Solutions LLC 2006 Administration 101 Database Backups and Restores SQL Server Error Logs –Issue reviewing logs - C:\Program Files\ Microsoft SQL Server\SQLExpress\ MSSQL.1\ MSSQL\LOG Activity Monitor –Snapshot of SQL Server transactions

Slide: 25 © Edgewood Solutions LLC 2006 Performance Tuning Dynamic Management Views (DMV) operate in near real time from internal structures at a Server and Component level –dm_exec_* = Execution of user code and associated connections –dm_os_* = Memory, locking and scheduling –dm_tran_* = Transactions and isolation –dm_io_* = I/O on network and disks –dm_db_* = Databases and database objects –dm_repl_* = Replication –dm_broker_* = SQL Service Broker –dm_fts_* = Full Text Search –dm_qn_* = Query Notifications –dm_clr_* = Common Language Runtime

Slide: 26 © Edgewood Solutions LLC 2006 How DMVs Improve Management Index-related DMVs –sys.dm_db_index_physical_stats Size and fragmentation information for tables and indexes –sys.dm_db_index_operational_stats Internals information for table and index activities –sys.dm_db_index_usage_stats Index statistics and usage counts information for individual indexes –sys.dm_db_index_partition_stats Page and row-count information for every partition

Slide: 27 © Edgewood Solutions LLC 2006 Alternative Dev Environment SQLCMD –Command line interface for any version of SQL Server 2005 –Ability to perform any development or administrative function –Dedicated Administrator Connection (DAC) –Default location = C:\Program Files\Microsoft SQL Server\90\Tools\binn –More information - SQLCMD /?

Slide: 28 © Edgewood Solutions LLC 2006 Patching Express SQL Slammer was able to cause havoc, propagating a DOS and needed patching –Patch SQL Servers –Use a non-default port and other settings Expectation is patching will be equal to SQL Server Service Packs or Windows Updates Stay tuned…

Slide: 29 © Edgewood Solutions LLC 2006 SS2K5 Express Web Resources Microsoft SQL Server 2005 Express Web Site – default.mspx MSDN Web Site – SQL Server 2005 Express – SQL Server 2005 Express BLOG – SQL Server 2005 Books Online – 2005/downloads/books.mspx

Slide: 30 © Edgewood Solutions LLC 2006 SS2K5 Express Books SQL Server 2005 Express Beta Preview – Wrox's SQL Server 2005 Express Edition Starter Kit Microsoft (r) SQL Server (tm) 2005 Express Edition: Step by Step Sams Teach Yourself SQL Server 2005 Express in 24 Hours Microsoft SQL Server 2005 Express For Dummies®

Slide: 31 © Edgewood Solutions LLC 2006 Questions and Thank You Jeremy Kadlec Edgewood Solutions