Viewing 15 posts - 1 through 15 (of 30 total)
Man!! You are awesome... Yes i missed that part.
Thank you so much..
Regards,
Karthik.
SQL Developer.
September 14, 2015 at 11:26 pm
Ok Sorry for that.
For ex: If you take ID: 1, we have 2 records with two different status in status table and 1 record in fourhistory table. I need to...
Regards,
Karthik.
SQL Developer.
September 10, 2015 at 10:52 am
Hi, Requirement is, i want to merge the status column in second table. For that, i need to consider both tables effective start and end dates.
So, #Fourhistory tables effective start...
Regards,
Karthik.
SQL Developer.
September 9, 2015 at 1:46 am
Hi Tons of thanks first.
I tried for the ID value 1. Its working perfectly. But when i try insert other id into those 2 temp tables. Am not getting as...
Regards,
Karthik.
SQL Developer.
September 8, 2015 at 8:32 am
Hi,
Unionall will append the data. But i need to merge the status column into second table based on the effective start and effective end date.
Regards,
Karthik.
SQL Developer.
September 8, 2015 at 6:42 am
Hi,
Kindly suggest me a solution for this.
Regards,
Karthik.
SQL Developer.
June 22, 2015 at 10:12 am
Hi,
Hope this helps you.
A request, while posting your doubts. Please come up with your neccessary scripts say, create table, sample values. So that our guys will help you as...
Regards,
Karthik.
SQL Developer.
July 17, 2014 at 12:24 pm
Hi, Thanks for the query. I will use this and let you know if i have any doubts.
Regards,
Karthik.
SQL Developer.
January 9, 2014 at 2:53 am
Once you prefer different outputs, obviously you need to change the filtering. But, i don't know what is the problem of changing the query..
Regards,
Karthik.
SQL Developer.
September 8, 2012 at 5:42 am
Please provide the ddl for your requirement. (Table structure & sample values)
Regards,
Karthik.
SQL Developer.
August 1, 2012 at 5:22 am
ChrisM@Work (7/26/2012)
neil-560592 (7/26/2012)
...Why is it missing the first two values (USD and EUR)?
Thanks
Well I'm stumped on this one. The CASE expression is a red herring - it's irrelevant. What's significant...
Regards,
Karthik.
SQL Developer.
July 26, 2012 at 7:21 am
Hi,
Below is the entire script which will meet your requirement.
create table #test ( id int, col1 int, col2 int)
ALTER TABLE #test ADD computed_Max AS (CASE WHEN COL1> COL2 THEN...
Regards,
Karthik.
SQL Developer.
July 25, 2012 at 7:51 am
Hi, Can you please try the below...
ALTER TABLE #test ADD computed_Max AS (CASE WHEN COL1 < COL2 THEN COL1 ELSE COL2 END)
please give less than symbol in place of "<"
Regards,
Karthik.
SQL Developer.
July 25, 2012 at 7:44 am
For which column you need to check that variable?
Like, select * from [accomodation] where ? = @sql
Also specify, what is the input for that variable @sql.
Regards,
Karthik.
SQL Developer.
July 25, 2012 at 1:06 am
Can you explain bit more on your doubt?
Regards,
Karthik.
SQL Developer.
July 24, 2012 at 11:58 pm
Viewing 15 posts - 1 through 15 (of 30 total)