long sql query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • erajraj
    New Member
    • Aug 2008
    • 1

    long sql query

    Hi all,

    i have some sql query which is more than 316 char now the problem is when i try to run this command in oracle sqlplus then it gives me below error:

    SP2-0734: unknown command beginning "ERATION li..." - rest of line ignored.

    the command is correct i can run same command by using some file .

    i think sqlplus is not able to read all character of this command.

    so even i set set linesize 200 also but all are vain

    so if any one have any information then plz help me.

    Many thanks in advance.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    kindly psot your code here for reference of our experts.

    Comment

    • EVH316
      New Member
      • Aug 2008
      • 26

      #3
      what if write your query in a sql script then execute it in SQL*Plus. Use DBMS_OUTPUT to display the results of your query. I hope this help

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Surely you don't expect us to help when we haven't seen the code that gave the error.

        Comment

        Working...