Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: update db problem

by pajout (Curate)
on Jun 15, 2010 at 07:39 UTC ( #844805=note: print w/ replies, xml ) Need Help??


in reply to update db problem

It is trivial error:

$cmd = $connString."update [dbname].[record] set record = 7\nGO\nquit\ +n"; $cmd = $connString."select * from [dbname].[record]\nGO\nquit\n"; $result = `$cmd`;
=> $cmd does NOT contain any update, just connstring and select...


Comment on Re: update db problem
Download Code
Re^2: update db problem
by mybend (Initiate) on Jun 15, 2010 at 12:32 UTC
    The "Update" query is one above it
      But it never gets executed.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://844805]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-07-04 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls