Warning: Creating default object from empty value in /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4991

Warning: Creating default object from empty value in /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4993

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:4991) in /www/htdocs/v030397/mysql-qotd/wp-includes/feed-rss2-comments.php on line 8
Comments on: Question 23: Which of the following will most likely execute faster? http://mysql-qotd.casperia.net/archives/206 mysql 5.0/5.1 questions for learning purposes Fri, 06 Aug 2010 16:56:36 +0000 http://wordpress.org/?v=abc hourly 1 By: urs http://mysql-qotd.casperia.net/archives/206/comment-page-1#comment-29 urs Fri, 19 Feb 2010 21:00:07 +0000 http://mysql-qotd.casperia.net/?p=206#comment-29 <b>   Answer:   a   <code>ALTER TABLE</code> will (mostly) create a temporary table with the new structure, fill it and finally rename it. So it is better, to do as much as possible in a single <code>ALTER TABLE</code> command.   Especially with large tables, this can save a lot of time.   </b>
 
Answer:
 
a
 
ALTER TABLE will (mostly) create a temporary table with the new structure, fill it and finally rename it. So it is better, to do as much as possible in a single ALTER TABLE command.
 
Especially with large tables, this can save a lot of time.
 

]]>