UPDATE
Works fine so far.
Now I am in the process of building a CGI program to insert, update and delete from the database.
here are the problems That I face.
  1. The db is as decribed.There is a auto number column in the table that acts as the primary key.
  2. I am trying to insert just the values for sys, report and job for the table from user input.
  3. I am using the following statement to insert. INSERT INTO LOOKUP (SYS_ACC,REPORT_NAME,JOB_NAME) VALUES \'$sys\',\rpt\',\'$job\'
  4. my $sqlstatement="insert into lookup (Sys_Acc) values \'$sys_acc\' "; print "<br> $sqlstatement"; $sth = $dbh->prepare($sqlstatement) or die "$DBI::errstr"; $sth->execute(); $dbh->commit(); $dbh->disconnect() or warn "Disconnection Failed \t : $DBI::errstr \n" +;
    Even if i try just one simple thing, it gives ora 42000 SQL error ie SYNTAX ERROR.

Can anyone help me out?Any suggestions ?

In reply to Re: need to access a remote server to move the files around in a set folder there by smanicka
in thread need to access a remote server to move the files around in a set folder there by smanicka

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.