Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
joaoadriao
Contributor II
Contributor II

MSSQL Server Query no Qlik

Olá a todos,

Executei uma query no sql server e quero inserir e conectar esta tabela de dados originada ao qlik. 

Alguém sabe como fazer e que me possa ajudar?

Business Intelligence Developer
1 Reply
Carlosleao
Contributor III
Contributor III

Bom dia Amigo,  da  uma olhada se é isso que você quer

 

LIB CONNECT TO 'Microsoft_SQL_Server_srvdados';

 


qualify *;
EMPRESA: //Financeiro

Load CODEMP,

NOMEMP;

SELECT E070EMP.CODEMP, E070EMP.NOMEMP FROM E070EMP;

FILIAL: //Contábil

Load CODEMP,
CODFIL,
NOMFIL ;

SELECT E070FIL.CODEMP,E070FIL.CODFIL, E070FIL.NOMFIL FROM E070FIL;