Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global Filter
Message
De
04/05/2007 20:15:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/05/2007 17:25:24
Aman Bains
Jaguar Computers
Jalandhar, Inde
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Titre:
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01222649
Message ID:
01222681
Vues:
10
>I am developing an application that includes financial accounting.
>Should I store data for multiple companies in a single Database?
>Is it possible to apply a filter on a single field say company_id in all data tables globally so that I may operate a single company at a time. I want to avoid including this condition in each & every where clause throughout the application. I also need to generate some combined reports, where data from multiple companies would be required.

Having them all in a single database would complicate things IMHO. Doing cross database joins is easy. You could also create shared stored procedures, functions etc. However don't take that as I'm saying do it absolutely separate. If you trust your coding then you might as well do it in a single database, use view/table partioning etc.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform