[firebase-br] RES: Fbmon acessar firebird em porta diferente da 3050

Márcio Schmeling schmeda em gmail.com
Sex Ago 9 17:02:55 -03 2019


ON EXTERNAL [DATA SOURCE]

Added in: 2.5

Description: With ON EXTERNAL DATA SOURCE, the SQL statement is executed in
a separate connection to the same or another database, possibly even on
another server. If the connect string is NULL or '' (empty string), the
entire ON EXTERNAL clause is considered absent and the statement is
executed against the current database.

Syntax (partial):

[FOR]
   EXECUTE STATEMENT *sql-statement*
   ON EXTERNAL [DATA SOURCE] *<connect-string>*
   [AS USER *user*]
   [PASSWORD *password*]
   [ROLE *role*]
   [...other options...]
   [INTO *<variables>*]
[DO *psql-statement*]
*<connect-string>*     ::=  [*<hostspec>*]*path-or-alias**<hostspec>*
         ::=  *<tcpip-hostspec>* |
*<netbeui-hostspec>**<tcpip-hostspec>*     ::=
*hostname*:*<netbeui-hostspec>*   ::=  \\*hostname*\

NOTICE:*sql-statement*, *user*, *password*, *role* and
*<connect-string>* are string
expressions. When given directly, i.e. as literal strings, they must
be enclosed in single-quote characters.

Att.

Márcio Schmeling
schmeda em gmail.com


Em sex, 9 de ago de 2019 às 16:21, UPSAI | Informatica <
informatica em upsai.com.br> escreveu:

> Prezados
>
> Solicito ajuda para a seguinte operação:
>
> 1- tenho um Banco BA onde nele existe uma tabela TA, nesta tabela existe
> uma
> chave CHA.
> 2- tenho um Banco BB onde nele tenho uma tabela TB, nesta tabela existe uma
> chave CHB.
> 3- Como eu posso inserir os dados existentes na tabela TB.BB na tabela
> TA.BA
> desde que não exista a chave CHB na tabela TA.BA?
>
>
> Saudações
>
> Wagner Aranha
>
>
> ______________________________________________
> FireBase-BR (www.firebase.com.br) - Hospedado em www.locador.com.br
> Para saber como gerenciar/excluir seu cadastro na lista, use:
> http://www.firebase.com.br/fb/artigo.php?id=1107
> Para consultar mensagens antigas:
> http://www.firebase.com.br/pesquisa_lista.html
>



Mais detalhes sobre a lista de discussão lista