PC Review


Reply
Thread Tools Rate Thread

ASP.NET 3.5 Dynamic Data and Multiple Databases

 
 
mpaine
Guest
Posts: n/a
 
      16th Sep 2009

I am researching if Dynamic Data can work with N databases (within the same
SQL Server 2008 instance).

I found
http://blogs.msdn.com/davidebb/archi...databases.aspx
, but it doesn't address joining data from different databases. I would love
to use dynamic data but this is a show stopper for me.

Any ideas how this could possibly be achieved? Perhaps database views?

Thanks,
mycall

--
msdn premium subscriber
 
Reply With Quote
 
 
 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      16th Sep 2009
=?Utf-8?B?bXBhaW5l?= <(E-Mail Removed)> wrote in
news:868A27F4-1D9B-4C73-93E7-(E-Mail Removed):

>
> I am researching if Dynamic Data can work with N databases (within the
> same SQL Server 2008 instance).


yes and no.

If you create individual connections for each database in question, it
can be worked out. If you are trying to make a single point of update?
No. Actually, not quite true, as you can link the databases and make it
appear to be a single point of entry, but that is trickery on the SQL
Server side.

Joining data? Not presently, without the "kludge" mentioned above. And,
this might not be supported by the drag and drop bits, meaning you are
going to possibly be handcoding something that is designed as a time
saving measure (losing time in the process).

> I found
> http://blogs.msdn.com/davidebb/archi...-dynamic-data-

wi
> th-multiple-databases.aspx , but it doesn't address joining data from
> different databases. I would love to use dynamic data but this is a
> show stopper for me.


It is not going to happen due to the current nature of the project.
Linking up data from disparate databases is a huge undertaking. While
Microsoft may eventually do something like this, it falls outside of the
scope of the current dynamic data initiative.

Dynamic data, as it sits right now, is aimed at exposing a database
easily. You can expose multiple databases in a single "app", but linking
the data together is a lot harder problem than it might appear.

Having said this, I am not sure dynamic data is the best solution to
your problem.

> Any ideas how this could possibly be achieved? Perhaps database
> views?


Without linking up the data, which has its own issues, you are not going
to do this. In addition, i am not sure thge current tooling will support
the linked databases.

You might kludge around this with stored procedures that call the other
databases (or other objects), but then you are creating a maintenance
nightmare so you can drag and drop an admin tool.

Peace and Grace,


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

My vacation and childhood cancer awareness site:
http://www.crazycancertour.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simultaneously pulling data from multiple databases =?Utf-8?B?S2FyZW4=?= Microsoft Access 5 2nd Oct 2006 07:43 PM
Integrating Data from multiple Access databases =?Utf-8?B?Z2VuZXJhbHJy?= Microsoft Access 1 7th Oct 2005 01:32 AM
Importing data from multiple remote databases =?Utf-8?B?QW50aG9ueQ==?= Microsoft Access External Data 0 23rd Sep 2005 04:54 PM
Importing data from multiple ODBC databases =?Utf-8?B?RGVubmlz?= Microsoft Access External Data 1 13th Jul 2005 07:59 PM
What is the syntax quering data from multiple Access databases? =?Utf-8?B?aW9ub2xvc28=?= Microsoft Access VBA Modules 3 11th Mar 2005 02:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:24 AM.