Viewing 15 posts - 16 through 30 (of 98 total)
November 28, 2017 at 12:38 pm
November 28, 2017 at 11:00 am
Phil Parkin (1/3/2017)
So do the left join and then use COALESCE to pick up t2 data if it exists:select ColName = coalesce(t2.col,t1.col)
If following is as per suggestion, it return all...
January 3, 2017 at 7:00 am
No. It return all rows all time.
I have updated description
January 3, 2017 at 6:50 am
because if table2 has Reference_No, i want to display only these. Left join will display table1 data all the time
January 3, 2017 at 6:31 am
Thank you Gail for updated information.
I am studying these event and will get back if any other issue arises.
But just for knowledge, what could be the reason with the approach...
August 23, 2016 at 10:56 am
Yes, I have same impression that this lead us to develop custom ETL. but due to referential integrity and number of table it is always impossible to manage. Also DDL...
December 13, 2015 at 7:23 am
Yes, it is crazy requirement. I can write custom ETL to sync few tables but write routine for all tables and specially if you have 50+ databases , it is...
December 12, 2015 at 2:02 am
sturner (5/15/2009)
October 15, 2015 at 10:17 am
This is the only thing left.
Case-1
DECLARE @ProdId varchar(10) = 'Prod1',
@color varchar(max) = NULL, -- Will make it optional and logic will work on all available color for...
October 1, 2015 at 8:18 am
Thank you Sean , it worked.
How can we make color and Size optional ? if either one or both provided it should return on input . If both not provide...
October 1, 2015 at 7:30 am
sean, I want to get output like following
-- If color invalid status should be 100
-- if color is valid but size is invalid status should be 101
-- if valid status...
September 30, 2015 at 1:09 pm
Viewing 15 posts - 16 through 30 (of 98 total)