CodingMySQL duplicate/link/clone/symlink

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  ANT_THOMAS  
 To:  ALL
41791.1 
I'm not sure what the proper term is for this so I've struggled to find answers.

I want to either

a) add data to two tables at the same time, without changing any existing queries. Something that can be done in PHPMyAdmin hopefully. As if there's a setting to duplicate any new entries to TableA into TableB also.

b) "symlink" a table to another name, so one table/name points to another table. Data goes into TableA but requesting data from TableB which is "symlinked" gives you the TableA data.

Are either of those ideas possible? Or a similar alternative.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  ANT_THOMAS     
41791.2 In reply to 41791.1 
You want to create a view.
+3/3
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Peter (BOUGHTONP)     
41791.3 In reply to 41791.2 
Indeed I do, works exactly how I want it to. Thanks Peter.
0/0
 Reply   Quote More 

Reply to All    
 

1–3

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats