Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / January 2007

Tip: Looking for answers? Try searching our database.

Coalesce tables?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ryan - 25 Jan 2007 20:27 GMT
Hi all,
   I'm working with CRM and I need to selectively add one of 5 tables.
Each of these tables have a field called activityid.
I'd like to join only the one with a specific activity ID.  Can I do a left
outer join with coalesce?
Amarnath - 31 Jan 2007 06:56 GMT
Since coalesce returns the first nonnull expression among its arguments, in
your case it will return first table name only. But I am not able to figure
out why you want tables?

Amarnath

> Hi all,
>     I'm working with CRM and I need to selectively add one of 5 tables.
> Each of these tables have a field called activityid.
> I'd like to join only the one with a specific activity ID.  Can I do a left
> outer join with coalesce?
Ryan - 31 Jan 2007 15:23 GMT
Well I am working with CRM and CRM uses these Filtered views which link in
too many tables.  (so many that at some points the report will not run
because too many tables have been linked)  Basically there's a central table
that links to 6 other tables, but only successfully links on one of those as
the id from the central table is unique amongst the 6 tables.  I was trying
to coalesce this joining so that once it hit the table that has the data it
would stop and not join the rest so that I would not hit my limit of 260
joined tables as I have been.

> Since coalesce returns the first nonnull expression among its arguments,
> in
[quoted text clipped - 10 lines]
>> left
>> outer join with coalesce?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.