Is there a module that saves Twitter posts in a custom table?
Try the feeds module and data module

http://drupal.org/project/feeds 
http://drupal.org/project/data


and import the rss of your twitter feed or search into the feed than save it as a simple database record with the data module.