Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
0Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Apostila SQL 2

Apostila SQL 2

Ratings:

5.0

(4)
|Views: 7,429|Likes:
Published by diegoruggeru

More info:

Published by: diegoruggeru on Jan 25, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/08/2013

pdf

text

original

 
 Apostila Microsoft SQL Server 7.0 
1
Apostila Microsoft SQL Server 7.0
Instalac
ã
o, configura
çã
o e gerenciamento
 
 Apostila Microsoft SQL Server 7.0 
2
1 - Introdu
çã
o ____________________________________________________________________ 4
Vis
ã
o Geral do SQL Server_________________________________________________________________4Sistemas Gerenciadores de Banco de Dados____________________________________________________6
2 - Instala
çã
o e Configura
çã
o _______________________________________________________ 8
Requisitos de Sistema _____________________________________________________________________8Op
çõ
es Usadas na Instala
çã
o _______________________________________________________________9Instalando o software de servidor ___________________________________________________________12Verificando se o SQL Server foi instalado corretamente _________________________________________20Instalando o software de cliente ____________________________________________________________24Registrando um servidor__________________________________________________________________30Solu
çã
o de problemas de instala
çã
o _________________________________________________________40
3 - Ferramentas de gerenciamento do SQL Server _____________________________________ 43
SQL Server Enterprise Manager____________________________________________________________44SQL Server Client Network Utility__________________________________________________________48SQL Server Profiler _____________________________________________________________________52SQL Server Query Analyzer_______________________________________________________________54SQL Server Books Online_________________________________________________________________56Asistentes do SQL Server [SQL Server Wizards]_______________________________________________57
4 - Fundamentos de arquitetura do SQL Server_______________________________________ 61
O Cat
á
logo do Sistema ___________________________________________________________________61Componentes do Banco de Dados___________________________________________________________64Estrutura dos bancos de dados _____________________________________________________________65
5 - Criando Bancos de Dados_______________________________________________________ 67
Gerenciando Bancos de Dados _____________________________________________________________67Arquvos e grupos de arquivos______________________________________________________________76Criando Tabelas ________________________________________________________________________79Alterando a estrutura das tabelas____________________________________________________________85Definindo op
çõ
es de bancos de dados________________________________________________________88Considera
çõ
es para melhor gerenciamento____________________________________________________91Documenta
çã
o dos passos de cria
çã
o de bancos de dados no SQL Server____________________________92
6 - Consultando Dados ____________________________________________________________ 95
A Sintaxe do SELECT ___________________________________________________________________95Manipulando express
õ
es__________________________________________________________________98Condi
çõ
es de pesquisa __________________________________________________________________103Outros recursos ________________________________________________________________________106
Altera
çã
o de Dados______________________________________________________________ 108
Inserindo linhas________________________________________________________________________108Excluindo linhas _______________________________________________________________________110
8 - Consultas Avan
ç
adas _________________________________________________________ 112
Dados de resumo_______________________________________________________________________112Jun
çõ
es de tabelas______________________________________________________________________115Subconsultas __________________________________________________________________________121
9 - Implementando
Í
ndices________________________________________________________ 124
Por que
í
ndices? _______________________________________________________________________124Tipos de
Í
ndices _______________________________________________________________________125
 
 Apostila Microsoft SQL Server 7.0 
3
Caracter
í
sticas dos
Í
ndices _______________________________________________________________126Otimizando Consultas___________________________________________________________________130
10 - Integridade de Dados ________________________________________________________ 133
A propriedade IDENTITY _______________________________________________________________133Usando Defaults e Regras________________________________________________________________135Definindo e usando restri
çõ
es [constraints] __________________________________________________137
11 - Vis
õ
es,Gatilhos e Procedimentos _______________________________________________ 143
Vis
õ
es [Views] ________________________________________________________________________143Procedimentos Armazenados _____________________________________________________________147Gatilhos [Triggers] _____________________________________________________________________150
12 - Seguran
ç
a__________________________________________________________________ 154
Conceitos_____________________________________________________________________________154Pap
é
is [Roles] _________________________________________________________________________158Visualizando informa
çõ
es de seguran
ç
a _____________________________________________________165Permiss
õ
es____________________________________________________________________________171
13 - Backup e Restaura
çã
o________________________________________________________ 184
Conceitos_____________________________________________________________________________184Dispositivos de Backup__________________________________________________________________185Implementando um backup_______________________________________________________________186Restaurando um Backup _________________________________________________________________188Agendando Backups Autom
á
ticos _________________________________________________________192
14 - Outros Recursos ____________________________________________________________ 197
Configura
çã
o do SQL Server _____________________________________________________________197Entendendo as Tabelas de Sistema _________________________________________________________199Importa
çã
o e Exporta
çã
o de Dados_________________________________________________________201Publicando dados na Internet _____________________________________________________________202Modelo de exemplo_____________________________________________________________________230Requisitos do Sistema___________________________________________________________________231Modelos de dados ______________________________________________________________________232UPGRADE do SQL Server 6.x para a vers
ã
o 7.0______________________________________________234Asssistente de Atualiza
çã
o de Vers
ã
o_______________________________________________________235

Activity (0)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Rui Moutinho liked this
Gilvan Lima liked this
marcios_sampaio liked this
Yohana Karoline liked this
Carlao San liked this
José Jecas liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->