Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-02-08 08:14 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (271 votes), past polls