--- drush-HEAD/commands/sql/sql.drush.inc.ORIG  2009-07-14 17:21:00.000000000 +0000
+++ drush-HEAD/commands/sql/sql.drush.inc       2009-07-14 17:23:07.000000000 +0000
@@ -88,6 +88,7 @@ function sql_drush_command() {
       '--structure-tables-key' => 'A key in the $structure_tables array. @see example.drushrc.php. Optional.',
       '--source_database' => 'The SOURCE DB connection key if using multiple connections in settings.php.',
       '--destination_database' => 'The DESTINATION DB connection key if using multiple DB connections',
+      '--table' => 'If specified, just copy this ONE table, not the entire database',
     ),
   );
   if (drush_drupal_major_version() >=7) {
@@ -282,6 +283,10 @@ function drush_sql_load($source, $destin
       drush_die('Aborting.');
     }
   }
+
+  if ($table = drush_get_option('table')) {
+    drush_print(dt("Copying ONLY this table: !table", array('!table' => $table)));
+  } 
   
   // Ignore --result-file and always generate a temp file
   $file = tempnam(sys_get_temp_dir(), 'sql');
@@ -300,7 +305,8 @@ function drush_sql_load($source, $destin
       break;
     }
     
-    $exec = "$retrieve; $send < $file";
+    // Include $table here; if it's not set it will be null
+    $exec = "$retrieve $table; $send < $file";
     // Avoid the php memory of the $output array in drush_shell_exec().
     drush_op('system', $exec);
     drush_op('unlink', $file);