Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mimic SQL table

Status
Not open for further replies.

hoover90

Technical User
Jan 6, 2007
3
US
Okay, here's what I have:

Forum 1 Forum 2
Common Database
Prefix 1 Prefix 2
users_table users_table


What I need to know is, how does one go about making "prefix1_users_table" mimic "prefix2_users_table" through SQL?
 
We don't have a lot to go on! Table structures? Mimic what? - field? structure? values?
If field, based on what criterion?

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
I just need to make all the fields in "prefix1_users_table" and "prefix2_users_table" have the same value. They're basically the same table, same structure, but with different prefixes, and for now, different data. The problem is that I have two phpbb forums that share a common database, and I want users registered on one forum to be able to log into the other while keeping the forums and posts separate, so the tables need to be the same, 100% of the time.
 
Nevermind, I found a way to do what I need through the forum's software.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top