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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend tMSSQLInput

I created a Talend MS Sql job using tMSQLInput_1 and inserted my own query. Below is an example of my query.

if  object_id('tempdb..#lang_guid')is not null 
    drop table #lang_guid;
  create table #lang_guid(
                patient_guid varchar(255)
               ,accountid varchar(255)
               );
   insert into #lang_guid

        select  c.customerid
               ,'0000001'
          from  customer c with(nolock)

  select patient_guid
        ,accountid

    from #lang_guid

The issue I'm having is the query pulls the patient_guid from the table but not the accounted I creating that on the fly in the temp table. when I run the job in Talend it returns the patient_guid but I don't get any data back for the account. Have anyone seen this issue with Talend before and if so how do I fix it.

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@masonjames,in tMSSQLInput_1,you can use only the select query to extract data from MS SQL DB.

View solution in original post

2 Replies
manodwhb
Champion II
Champion II

@masonjames,in tMSSQLInput_1,you can use only the select query to extract data from MS SQL DB.

manodwhb
Champion II
Champion II

@masonjames,did it help you?