ORA-00984: column not allowed here - Page 2
DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: ORA-00984: column not allowed here

  1. #11
    Join Date
    May 2002
    Posts
    2,645
    Do you understand the usage difference between single quotation and double quotation marks in SQL?

  2. #12
    Join Date
    Oct 2010
    Posts
    7
    Thanks a lot for your time and sugessions.
    Now I got the solution of my problem, Here is shell script part of code change

    Code:
    DATE_FORMAT="YYYYMMDD"
    DATE_FORMAT=`echo "'"$DATE_FORMAT"'"`

    EMPNAME=`echo "'"$EMPNAME"'"`
    EMPID=`echo "'"$EMPID"'"`
    DATEGEN=`echo "'"$DATEGEN"'"`
    Using above syntax I am able to insert records into my table as,

    Code:
    INSERT INTO TBL1(EMPNAME,EMPID,EMPBDATE) VALUES($EMPNAME,$EMPID,TO_DATE($DATEGEN,$DATEFORMAT));

Posting Permissions

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


Click Here to Expand Forum to Full Width