Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2003
    Posts
    15

    Unanswered: DB2 - automatic scripting for updates / deletion

    Hi

    I would like to know whether it is possible to execute SQL statements for updates / deletion from a table which can be executed from the windows scheduler

    Thanks in advance

    regards

    Rajeev

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: DB2 - automatic scripting for updates / deletion

    Definitely possible

    Schedule
    db2cmd /c /w /i db2 delete from tabname

    and it should work

    For details of these flags /c./w,/i check command reference


    HTH

    Sathyaram



    Originally posted by murali_rajeev
    Hi

    I would like to know whether it is possible to execute SQL statements for updates / deletion from a table which can be executed from the windows scheduler

    Thanks in advance

    regards

    Rajeev
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    Aug 2003
    Posts
    15
    Thank you very much sathya

    I will try to check this

    Warm regards

    Rajeev

Posting Permissions

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