Raised This Month: $ Target: $400
 0% 

Function Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
issen1
Member
Join Date: Jan 2010
Old 10-19-2010 , 03:45   Re: Function Help
Reply With Quote #3

Do _not_ perform two queries. Use the following:
http://dev.mysql.com/doc/refman/5.1/...duplicate.html

For an in-depth example look at the provided link.

Edit: Also, you do not need to repeat the SET statement all the time, Schwabba. Look here: http://dev.mysql.com/doc/refman/5.1/en/update.html

Edit2: If you have a where-clause restricting the query to a specific protocol, you don't need to update these, since it has no effect.
__________________
greets (:

Last edited by issen1; 10-19-2010 at 03:49.
issen1 is offline
 



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode