December 28, 2007 at 3:42 pm
switching where synonyms point sounds like a great idea. i need to read up on this.
thinking about it some more raised another question:
i will have some kind of process scheduled to trigger the data export (and the process suggested with synonyms). how can i keep track of which table synonym TableA is currently pointing to?
December 28, 2007 at 4:19 pm
that these were not GUI applications that were loading these tables, but some sort of machine-driven data entry
Doesn't matter... same idea. Data is being added at a decent rate and probably one row at a time...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2007 at 4:21 pm
how can i keep track of which table synonym TableA is currently pointing to?
How does a database keep track of anything? Table. Create a new table to keep that single row of "configuration" info...
Also, don't forget... the View would only act as a synonym... there are no synonym's in 2k.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2007 at 4:33 pm
we are using 2005. so synonym on an updateble table would work. correct?
December 28, 2007 at 4:43 pm
Yes... just change the synonym to point to the correct table.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 16 through 19 (of 19 total)
You must be logged in to reply to this topic. Login to reply