Previous Thread
Next Thread
Print Thread
Rate Thread
copying a table #285522 06/10/2005 1:17 PM
Joined: Feb 2002
Posts: 2,286
Ian_W Offline OP
OP Offline
Joined: Feb 2002
Posts: 2,286

Can anyone help me with this. Should be fairly simple and I have tried

select * from w3t_Groups into w3t_Groups_Master

without joy.

I need to make a backup of w3t_Groups before I start fiddling with it


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Re: copying a table [Re: Gorlum] #285523 06/10/2005 2:29 PM
Joined: May 2001
Posts: 550
Anno Offline
Code Monkey
Code Monkey
Joined: May 2001
Posts: 550
 <br />CREATE TABLE `w3t_Groups_Master` (<br />`G_Name` varchar( 250 ) default NULL ,<br />`G_Id` int( 4 ) unsigned NOT NULL AUTO_INCREMENT ,<br />`G_Disabled` int( 1 ) unsigned default '0',<br />PRIMARY KEY ( `G_Id` )<br />) TYPE = MYISAM ;<br /><br />INSERT INTO `w3t_Groups_Master`<br />SELECT *<br />FROM `w3t_Groups` ;<br /><br /> 

Re: copying a table [Re: domain123] #285524 06/10/2005 3:11 PM
Joined: Oct 2003
Posts: 2,305
scroungr Offline
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
or use phpMyAdmin and do Operations and there is a MOVE, COPY, RENAME, etc command

Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with, and recommend, the following Web Hosts:
· Stable Host
· Blue Host
Visit us on Facebook
Member Spotlight
Posts: 21,084
Joined: March 2000
Show All Member Profiles 
Forum Statistics
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 21,084
JoshPet 10,370
LK 7,395
Lord Dexter 6,709
Gizmo 5,786
Greg Hard 4,625
Top Posters(30 Days)
isaac 28
driv 16
Gizmo 5
Morgan 2
Today's Statistics
Currently Online 934
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

Powered by UBB.threads™ PHP Forum Software 7.7.3
(Snapshot build
PHP: 5.4.45 Page Time: 0.028s Queries: 15 (0.009s) Memory: 3.2174 MB (Peak: 3.4463 MB) Data Comp: Zlib Server Time: 2019-07-20 13:29:02 UTC
Valid HTML 5 and Valid CSS