Computing.Net > Forums > Unix > how to update database record?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to update database record?

Reply to Message Icon

Name: yuan
Date: November 22, 2002 at 10:40:37 Pacific
OS: unix
CPU/Ram: none
Comment:

how to update database record using shell?



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: November 22, 2002 at 11:11:08 Pacific
Reply:

mysql -e 'update tablename set field = 'value' where condition' databasename

Of course this is mysql dependent. What rdbms are you using?


0

Response Number 2
Name: yuan
Date: November 23, 2002 at 07:15:47 Pacific
Reply:

can you show me an example?
i'm using vi editor to make a database....


0

Response Number 3
Name: David Perry
Date: November 25, 2002 at 03:08:32 Pacific
Reply:

Yuan,

You are making a db how? A series of delimited rows in a text field, or maybe you are using a rdbms package, or even hash tables ? Please specify.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: how to update database record?

mt, or how to find last record www.computing.net/answers/unix/mt-or-how-to-find-last-record/4714.html

How to remove a record by ID www.computing.net/answers/unix/how-to-remove-a-record-by-id/7635.html

How to update record? www.computing.net/answers/unix/how-to-update-record/4249.html