» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2006, 05:42 AM
muller muller is offline
Junior Member
 
Join Date: Oct 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
muller is on a distinguished road
Default updating two tables?

Hi all,
Please tell me whether i can update two tables? The below update statement matched 2 rows one each for two tables but didn't update.

mysql> update audio,pcr_info on audio.audio_sid=pcr_info.pcr_sid set audio.
audio_pid=4896,audio.audio_prgm_num=3,audio.audio_ type="MPEGLayer1",audio.audio_
sr=44.1,audio.audio_mode="1_0",audio.audio_bitrate =320,pcr_info.pcr_pid=49 where
pcr_info.pcr_prgm_num=3 and pcr_info.pcr_sid="2501" and audio.audio_pid=4896 an
d pcr_info.pcr_pid=49;
Query OK, 0 rows affected (0.00 sec)
Rows matched: 2 Changed: 0 Warnings: 0 -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 10-27-2006, 05:44 AM
Thalian Thalian is offline
Senior Member
 
Join Date: Jul 2006
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 17
Thalian is on a distinguished road
Default

It seems that the rows probably already had the correct values in them. ` -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
updating queries? sizzer MySQL Forums 1 02-09-2007 07:13 AM
updating two tables Tipal MySQL Forums 1 12-19-2006 04:10 AM
Lock Tables?? Bailee MySQL Forums 1 08-16-2006 06:54 AM
full text search in multiple tables phil MySQL Forums 1 08-08-2006 02:05 PM
Getting all rows from two tables cyberhost MySQL Forums 1 07-29-2006 03:17 PM


All times are GMT. The time now is 11:53 AM.