我有方案,我想將其轉換爲查詢。 我的情景: 我有很多具有相同結構的客戶端「Clientxxxx」我想讓所有這些dbs的循環獲取來自一個表的數據存在於所有這些dbs中,這些dbs被稱爲「EventLog」這些事件日誌記錄在此表中,在所謂的「門戶」多個數據庫之間的複雜SQL Server查詢
另一個分貝我想每一個客戶在其他DBS「Clientxxxx」,「門戶網站」分貝與他的事件日誌時,從「事件日誌」表
db:Client1 db:Client2 db:Client3
table:"EventLog" table:"EventLog" table:"EventLog"
each client has his db and his data in Portal db
db:portal
table:Clients
query:
Client1 data
his event logs
client2 data
his event logs
and so on
........
........
........
........
我需要一些幫助,請。
感謝
出於興趣,我可以詢問設計決策背後的原因,爲每個客戶分配他們自己的單獨數據庫嗎? – 2010-10-19 08:06:14