Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Copy table when entry is made

Author  Topic 

ajmboy
Starting Member

1 Post

Posted - 2010-07-31 : 16:07:46
I have MySQ 5.0.91

Is there a way using phpmyadmin to have it so anytime an entry is made into one of 3 chosen tables, that entry is duplicated/copied into a new table that I create, but only copying 2-3 fields from each table...then adding a time stamp. Essentially compining all the chosen tables into one other one, with only fields like username and entry.

Basically I am trying to count total entries by users during a certain time, without joining and writing a php script.

Not sure if it is possible within sql.

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-07-31 : 16:31:17
This forum is dedicated to Microsoft SQL Server, not MySQL. You'll probably get a better and faster answer if you ask on a MySQL forum. Try www.dbforums.com

--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -