0

I'm running a tdload command using a job variables file with values :

SelectStmt = 'select * from database.tablename where column1 > 100',
SourceTdpid = 'hostid',
SourceUserName =  'username',
SourceUserPassword = 'password'
SourceTable  = 'database.tablename',
FileWriterFileSizeMax = '10M',
TargetTextDelimiter = '|'
TargetFilename = "file.csv"
FileWriterQuotedData =  "Y"

The filter clause in the select statement should return me only 39 rows,

but I'm getting all of the rows from the table in the extracted file.

How to resolve this?

krx
  • 85
  • 1
  • 7

1 Answers1

0

Had to use ExportSelectStmt instead of SelectStmt

krx
  • 85
  • 1
  • 7
  • 1
    And the specific operator-prefixed variable overrides both generic ones (SourceTable and SelectStmt). – Fred Jul 01 '22 at 15:37