Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006

    Unanswered: incorrect syntax near keyword OUTPUT


    When I try to drop and recreate a procedure .it throws error as in the incorrect syntax near keyword OUTPUT .below is the error line .
    select 'some sample text' OUTPUT.OUTPUT should be redirected to a file but this procedure is created and running from 1999.

    Thanks for the help in advance.

  2. #2
    Join Date
    Mar 2009
    Sydney, Australia
    You need to provide your current @@version for ASE, and the exact code, as well as identify which version that 1999 code was working on (11.5 ?).

    Sybase ASE has changed a lot since 1999, many major releases. Syntax that was acceptable in 1999 may well be unacceptable now.
    Derek Asirvadem (Formerly DerekA)
    Information Architect / Senior Sybase DBA
    Copyright 2009 Software Gems Pty Ltd

    I answer questions from the Original Poster only. If you have a genuine question, as the moderators have requested, start a new thread.

Posting Permissions

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