3
Work in a service provider company. In the company we have hundreds of databases Oracle and SQL-Server of all customers. These banks contain information on the existing assets in that company as well as other commercial and financial information. As the work is being executed the employees through the internal system feeds the various tables, such as: project stages, execution histories, issuance of tax notes, slips, schedules, etc. Our goal is to create an area on the internet where the client can log in and consult the information available to him.
I imagine a table with user and password where the system validates and verifies which bases of which servers it has access to. If he has access to a single base the system already connects to that base and he starts to consult his information regarding the execution of his work. If there is more than one base the system requests which base it wants to access and follows equally.
As I recently used ASP.NET MVC 4 to build an application with RAZOR and found quite productive I ask you, can I develop this new project using ASP.NET MVC 4? It would be nice because the client could access this information, including, the cell phone.
I can’t imagine what the model would look like. Because, in theory, I would only have a table as an input port and then the system connects to some other base and I go to make select there. I can create the model based on a database and switch the connection from there to here at will?
Or you should replicate the columns that will be consulted in other tables in the same database as the login table and through Trigger in the original databases feeds them?
Do you know any link that would give me a good sense of how to do that?
If you’re confused, I’m available for further information.
Grateful.
Congratulations on the question. I found it excellent.
– Leonel Sanches da Silva
You say "hundreds" of databases, but those databases are on the same server? Server/User/Password are the same and what changes is the base, or each base can be on a different server?
– Randrade
Participating in the scope the Oracle bases are on one server and SQL-Server on another. There is yes, a user and password with which I can access any of these databases, in addition to those used by employees that vary from base to base.
– Reginaldo Rigo