You are here: Re: How do I copy a table for backup and restore purposes « PHP SQL « IT news, forums, messages
Re: How do I copy a table for backup and restore purposes

Posted by Flemming on 11/24/07 09:21

>>Is there a smarter way?
>>
>>Flemming
>>
>
>
> I'd run a separate command to create your new table, then use
>
> SELECT * INTO NewTable FROM OldTable;
>
> Of course I'd do a regular backup of your entire database first, just for
> precautionary measures.
>
Thank you your reply.

Is there a way to create (an empty) NewTable in SQL with indexes and all
from OldTable?

Flemming

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация