Você sabe me dizer se funciona na versão 8?

Att,

Welvis Doglas

-----Mensagem original-----
De: [email protected] [mailto:[email protected]] Em
nome de Murilo Lima
Enviada em: quinta-feira, 20 de maio de 2010 09:13
Para: [email protected]
Assunto: Re: [oracle_br] Unload Data

Welvis,

Você pode usar o export do oracle com a opção "query"

Exportando a tabela toda:

$> exp murilolima file=tb_municipio.dmp tables=tb_municipio
Export: Release 11.2.0.1.0 - Production on Thu May 20 09:02:57 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights
reserved.
Password:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 -
64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage
Management, OLAP,
Data Mining and Real Application Tes
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P15 character set (possible charset conversion)

About to export specified tables via Conventional Path ...
. . exporting table                   TB_MUNICIPIO       5688 rows exported
Export terminated successfully without warnings.


Exportando só dos dados do estado do DF (as contrabarras estão sendo usadas
para o interpretador de comando identificar o caracter seguinte como um
literal)

$> exp murilolima file=x tables=tb_municipio query=\"WHERE SG_UF=\'DF\'\"
Export: Release 11.2.0.1.0 - Production on Thu May 20 09:08:39 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights
reserved.
Password:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 -
64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage
Management, OLAP,
Data Mining and Real Application Tes
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P15 character set (possible charset conversion)

About to export specified tables via Conventional Path ...
. . exporting table                   TB_MUNICIPIO         35 rows exported
Export terminated successfully without warnings.



[]'s

Murilo Lima


Em 19 de maio de 2010 13:39, Welvis Douglas <[email protected]> escreveu:

>
>
> Pessoal, alguém sabe de alguma ferramenta que extrai dados do Oracle?
>
> Exemplo, quero exportar parte de uma tabela para um arquivo txt ou dmp?
>
> Tem como fazer isso?
>
> Att,
>
> Welvis Douglas da Silva Moretto
>
> DBA - Oracle Certified (1ZO-042)
>
> Fone: (41) 9997-6297
>
> E-mail: [email protected] <welvis_douglas%40hotmail.com>,
> [email protected] <welvis%40stcruz.com.br>
>
> Messenger: [email protected] <welvis_douglas%40hotmail.com>
>
> Mestre em Engenharia de Produção e Sistemas - PUC/PR;
>
> Especializando em Banco de Dados - UNOPAR;
>
> Especialista Engenharia de Software - UNOPAR;
>
> Tecnólogo em Processamento de Dados - FACCAR.
>
> [As partes desta mensagem que não continham texto foram removidas]
>
>  
>


[As partes desta mensagem que não continham texto foram removidas]



------------------------------------

----------------------------------------------------------------------------
----------------------------------------------
>Atenção! As mensagens do grupo ORACLE_BR são de acesso público e de inteira
responsabilidade de seus remetentes.
Acesse: http://www.mail-archive.com/[email protected]/ 
----------------------------------------------------------------------------
----------------------------------------------
>Apostilas » Dicas e Exemplos » Função » Mundo Oracle » Package » Procedure
» Scripts » Tutoriais - O GRUPO ORACLE_BR TEM SEU PROPRIO ESPAÇO! VISITE:
http://www.oraclebr.com.br/  
----------------------------------------------------------------------------
-------------------------------------------- Links do Yahoo! Grupos


Responder a