Jump to content
Seja Membro VIP - Remova Banners de Propagandas, Tenha Liberado Qualquer Download, Além de Acessos em Áreas Exclusivas!! ×
Quer acesso a todas as Áreas do Fórum, até aquelas só para membros VIPs? Também quer poder baixar qualquer ARQUIVO? ×

Detectar Edesclan Ausentes Em Flan - Rm Classis Ens. Superior


Luciano Rocha

Recommended Posts


  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Content Per Day:  0.00
  • Reputation:   0
  • Achievement Points:  40
  • Solved Content:  0
  • Days Won:  0
  • Status:  Offline
  • Age:  39

Olá pessoal,

Preciso detectar os lançamentos que existem na EDESCLAN (CODLANC) mas que não estão presentes ma FLAN (IDLAN).

Preciso deixar as duas tabelas idênticas.

Link to comment
Share on other sites


  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  1,140
  • Content Per Day:  0.21
  • Reputation:   60
  • Achievement Points:  6,161
  • Solved Content:  0
  • Days Won:  33
  • Status:  Offline
  • Age:  42
  • Device:  Windows

Luciano,

Poderia tentar algo assim:

SELECT CODLANC FROM EDESCLAN WHERE CODCOLIGADA = 1 AND CODLANC NOT IN (SELECT IDLAN FROM FLAN WHERE CODCOLIGADA = 1)

Essa é uma forma existe outras também.

[]'s

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.