28.11.2019 Views

BD1 - Conceitos Básicos

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Modificando um Banco de Dados

Exemplo 3: Acrescentar dois arquivos de dados ao banco de dados

PRODUTOS.

ALTER DATABASE Produtos

ADD FILE

( NAME = Produtos4_dat,

FILENAME = 'c:\dados\produtos4.ndf',

SIZE = 100 MB,

MAXSIZE = 10 GB,

FILEGROWTH = 20 MB ),

( NAME = Produtos5_dat,

FILENAME = 'c:\dados\produtos5.ndf',

SIZE = 100 MB,

MAXSIZE = 10 GB,

FILEGROWTH = 20 MB )

Criando Banco de Dados e Tabelas 28/11/2019

25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!