Results 1 to 4 of 4

Thread: Oracle database gives an missing comma message while saving file

  1. #1
    Join Date
    Apr 2009
    Posts
    64

    Oracle database gives an missing comma message while saving file

    I am having oracle database when I save that file it gives me error message saying that "missing comma" and hence I would like to know if there is a way to rectify the error that pops up when we insert values into a particular table from v to oracle.

  2. #2
    Join Date
    Feb 2009
    Posts
    117

    Re: Oracle database gives an missing comma message while saving file

    One way would be to populate an empty recordset

    Code:
    String unitName="select UNITNAME from UNITMASTER WHERE UNITID=7"; //returns--> No's
    then i want like this
    Code:
    "SELECT * FROM Table_1 WHERE FirstName &H3D'foo'"

  3. #3
    Join Date
    Feb 2006
    Posts
    167

    Re: Oracle database gives an missing comma message while saving file

    This issue is not in numbers, it is the actual Insert statement that does not separate the values by commas... or you may also use the SQL statement such as follows:

    Code:
    SQLInsrtBk = "INSERT INTO tbtext (" &_"tbtext_id, tbtext_publisher_txt, tbtext_author_txt, tbtext_title_txt,
    " &_"tbtext_edition_num")
    The text field would be as you may have in your table. or use the following query format.
    Code:
    Insert into ADM_LOCAL (AML_NO_ADM_LOC,PKAML) values (100 1000) ;

  4. #4
    Join Date
    Oct 2008
    Posts
    180

    Re: Oracle database gives an missing comma message while saving file

    If it runs fine in Toad, but not in ASP, try outputting the query string to the web page to be sure it is what you think it is.
    Code:
    VALUES ($exptid, ?, NULL, ?, NULL, NULL, NULL, ?, NULL, NULL, ?, ?, NULL, NULL, NULL, ?)");
    
    $sth1 ->execute($spot, $CH1_TOTAL, $CH2_TOTAL, $SNR1, $SNR2, $NORMALIZE);
    I have had issues in the past with PHP not executing my 'perfect' query, only to find out that I had somehow formatted it wrong for PHP's liking.

Similar Threads

  1. Replies: 3
    Last Post: 28-11-2010, 01:13 AM
  2. Replies: 5
    Last Post: 26-11-2010, 11:18 PM
  3. How to Encrypt Oracle Database File
    By GracieSingh in forum Software Development
    Replies: 5
    Last Post: 27-02-2010, 03:45 AM
  4. Control file error in oracle database
    By Gerri in forum Software Development
    Replies: 4
    Last Post: 01-02-2010, 08:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,903,879.79529 seconds with 17 queries