in reply to Re: DBI Oracle insert not working
in thread DBI Oracle insert not working

Hey .. Sorry that I didn't meantion about the commits.. I have tried both auto commit and manual commit without any luck :( I shall try bounding the parameters now

Replies are listed 'Best First'.
Re^3: DBI Oracle insert not working
by mje (Curate) on Apr 02, 2009 at 12:19 UTC

    You should always use bound parameters and not concatenate strings - there are multiple reasons why, commented on perl monks many times before and in the DBI documentation too. The only thing I can think of from the code snippets you provide is that the insert into repository is rolled back or not in the same connection and not committed or in different schemas as the insert for 'testSQL' seems to match the select for 'testSQL'.