No announcements
Found 1542522 threads
-
1 Votes
coalesce join only picking up first field in the coalesce
The result looks like only picking up a.Answered | 8 Replies | 835 Views | Created by AS5 - Friday, February 26, 2016 9:45 AM | Last reply by Erland Sommarskog - Friday, February 26, 2016 11:04 PM -
0 Votes
COALESCE
COALESCE returns the first non-null value in the list (or NULL if all values are NULL).Answered | 1 Replies | 3239 Views | Created by RichIEvans - Monday, February 27, 2012 12:02 PM | Last reply by Dan Guzman - Monday, February 27, 2012 12:23 PM -
0 Votes
Coalesce in JOIN condition
but to humor you, the way would be to search for the IsNull (coalesce) and the contains in different ways.Answered | 7 Replies | 15367 Views | Created by Peter8444 - Tuesday, February 2, 2016 4:15 AM | Last reply by Russ Loski - Tuesday, February 2, 2016 12:51 PM -
0 Votes
coalesce
I wrote a code to produce OUT1 and OUT2 columns as a sample: DECLARE @t TABLE ( COL1 INT ,COL2 INT ,COL3 INT ,COL4 INT ,COL5 ...Answered | 3 Replies | 3200 Views | Created by SQLJhonny - Wednesday, September 11, 2013 6:40 PM | Last reply by Saeid Hasani - Wednesday, September 11, 2013 8:52 PM -
1 Votes
COALESCE Power Usage
It's not too difficult to whip up a demo to show it, but if it happens in application code it results in spurious errors or incorrect results that you cannot reproduce, since it is a ...Answered | 13 Replies | 2930 Views | Created by Kalman Toth - Thursday, January 24, 2013 5:29 PM | Last reply by Erland Sommarskog - Friday, January 25, 2013 11:12 PM -
0 Votes
Coalesce query
You can understand the coalesce from a nested CASE sample: create table test (tid int, rabc_addrss_pstl_cd_txt varchar(10), abcd_addrss_pstl_cd_txt ...Answered | 6 Replies | 1206 Views | Created by Eswararao C - Wednesday, November 4, 2015 9:39 AM | Last reply by Itz Shailesh - Wednesday, November 4, 2015 3:42 PM -
0 Votes
Coalesce question
> I got help with COALESCE once before and it still confounds me.Answered | 4 Replies | 1923 Views | Created by MLyons10 - Monday, July 29, 2013 11:41 PM | Last reply by MLyons10 - Thursday, August 8, 2013 1:02 PM -
0 Votes
Need Help on This [COALESCE]
Coalesce returns the first non NULL value.Answered | 2 Replies | 2121 Views | Created by AshishSingh_DWH - Tuesday, July 17, 2012 5:12 AM | Last reply by irusul - Tuesday, July 17, 2012 5:26 AM -
3 Votes
Coalesce/ nested?
All you need is a simple COALESCE COALESCE(fieldAddress1,fieldAddress2) if fieldAddress2 can ...Answered | 3 Replies | 829 Views | Created by cloudsInSky - Friday, July 6, 2018 2:43 AM | Last reply by Visakh16 - Friday, July 6, 2018 2:00 PM -
0 Votes
COALESCE Function Query
That what COALESCE does (CASE Expression) behind the scene.Answered | 5 Replies | 757 Views | Created by Annapureddy - Thursday, August 31, 2017 11:05 AM | Last reply by Tom Phillips - Thursday, August 31, 2017 12:30 PM -
1 Votes
CTE and coalesce - Keep value
Top-down or bottom-up?Answered | 7 Replies | 4295 Views | Created by Henry64 - Friday, January 18, 2013 1:52 PM | Last reply by Stefan Hoffmann - Saturday, January 19, 2013 11:39 AM -
1 Votes
I have question about COALESCE() Function
When you use INNER JOIN the result set contains only rows that match the join conditions, this is why in your initial query you were not getting any rows returned.Answered | 15 Replies | 4784 Views | Created by HESHAM HEMDAN - Friday, November 13, 2009 12:19 AM | Last reply by HESHAM HEMDAN - Saturday, November 14, 2009 8:57 PM -
1 Votes
SQL Statement COALESCE displays NULL
Try this: SELECT COALESCE([IP_ADDR1_TEXT],'10.10.10.11') AS [IP_ADDR1_TEXT], COALESCE(COUNT(distinct [IP_ADDR1_TEXT]),0) as Instances FROM sem_computer LEFT ...Answered | 2 Replies | 1106 Views | Created by Q.P.Waverly - Friday, October 10, 2014 6:00 PM | Last reply by Itz Shailesh - Friday, October 10, 2014 6:12 PM -
0 Votes
A strange use of COALESCE function
The first ?Answered | 7 Replies | 6750 Views | Created by MASNSN - Thursday, September 23, 2010 5:36 PM | Last reply by MASNSN - Monday, September 27, 2010 9:49 AM -
4 Votes
Coalesce() in where condition
WHERE (a.c1 <> b.c1) OR (a.c1 IS NOT NULL AND b.c1 IS NULL) OR (a.c1 IS NULL AND b.c1 IS NOT NULL) If we know that the empty string is not part ...Answered | 5 Replies | 4480 Views | Created by John Fend - Thursday, August 23, 2012 5:19 PM | Last reply by Hunchback - Thursday, August 23, 2012 6:02 PM -
2 Votes
How to use coalesce in sql server
Jkumar, You may have multiple expressions inside coalesce.Answered | 2 Replies | 1378 Views | Created by JKumar3 - Wednesday, April 16, 2014 2:54 PM | Last reply by Jingyang Li - Thursday, April 17, 2014 1:18 AM -
2 Votes
coalesce vs dynamic sql
The problem with COALESCE is that indexes cannot be used efficiently when the column is included in the COALESCE function.Answered | 1 Replies | 3531 Views | Created by Iam_Rakesh - Thursday, September 6, 2012 11:58 AM | Last reply by Dan Guzman - Thursday, September 6, 2012 12:08 PM -
0 Votes
Looking for a coalesce function that doesn't calculate everything first
Since data is pulled as needed by the methods that needs it, List.FirstN causes only the first three items to flow through the method chain.Answered | 3 Replies | 891 Views | Created by nccontrol - Friday, November 22, 2019 7:33 PM | Last reply by anthony34 - Wednesday, November 27, 2019 3:23 PM -
0 Votes
update using COALESCE in OLEDBCommand in SSIS
use this conditional split to find not null and not zero values in [type] field, and set them as output1 for example.Answered | 5 Replies | 5074 Views | Created by md.k - Friday, July 2, 2010 11:03 PM | Last reply by Reza Raad - Sunday, July 4, 2010 10:00 AM -
0 Votes
full outer Merge join 3 datasets.
There are gaps in my source data so I need to coalesce(dataset 1.KeyValue,dataset 2.KeyValue) prior to joining to dataset 3.Answered | 8 Replies | 3136 Views | Created by jakubk - Monday, November 7, 2011 6:48 AM | Last reply by Jamie Thomson - Monday, November 7, 2011 10:00 AM - Items 1 to 20 of 1542522 Next ›
No announcements