Valeu Steve.

 

  _____  

De: delphi-br@yahoogrupos.com.br [mailto:delphi...@yahoogrupos.com.br] Em
nome de Wilson, Stephen
Enviada em: terça-feira, 18 de agosto de 2009 12:13
Para: delphi-br@yahoogrupos.com.br
Assunto: RE: [delphi-br] Localizar as tabelas no SQL Server

 

  

Desculpe. Nao lembrei-me dizer "where TABLE_TYPE = 'BASE TABLE' ", se voce
nao precisa ver os 'Views' tambem

select * from INFORMATION_SCHEMA.Tables where TABLE_TYPE = 'BASE TABLE'

Steve

-----Original Message-----
From: delphi...@yahoogrup <mailto:delphi-br%40yahoogrupos.com.br> os.com.br
[mailto:delphi...@yahoogrup <mailto:delphi-br%40yahoogrupos.com.br>
os.com.br]On Behalf Of Bruno Stort
Sent: 18 August 2009 15:22
To: delphi...@yahoogrup <mailto:delphi-br%40yahoogrupos.com.br> os.com.br
Subject: [delphi-br] Localizar as tabelas no SQL Server

No oracle quando executo:

"SELECT TABLE_NAME

FROM USER_TABLES"

Aparece todas as tabelas do banco.

Queria saber como que faço isso no SQL Server.

Obrigado.

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

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

-- 
<<<<< FAVOR REMOVER ESTA PARTE AO RESPONDER ESTA MENSAGEM >>>>>

***************************************************************************
This e-mail and any files transmitted with it are confidential. If you are
not the intended recipient, any reading, printing, storage, disclosure,
copying or any other action taken in respect of this e-mail is prohibited
and may be unlawful. If you are not the intended recipient, please notify
the sender immediately by using the reply function and then permanently
delete what you have received.
Content of emails received by this Trust will be subject to disclosure under
the Freedom of Information Act 2000, subject to the specified exemptions,
including the Data Protection Act 1998 and Caldicott Guardian principles.
This footnote also confirms that, unless otherwise stated, this email
message has been swept by Sophos Anti-virus for the presence of computer
viruses.
***************************************************************************





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

Responder a