Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2017
    Posts
    1

    Unanswered: Result only from db2cmd

    If I open db2cmd and run this command:

    Code:
    db2 select count(*) from series
    I get this result back:

    Code:
    1
    -----------
          75554
    
      1 record(s) selected.
    Is there any way to remove the table name, dashes, and number of records selected and only get back this result:

    Code:
    75554
    I just want the record to come back, none of the additional information.

  2. #2
    Join Date
    Jul 2016
    Location
    Moscow
    Posts
    209
    Provided Answers: 31
    Try this:
    db2 -x "select ... "

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •