Viewing 15 posts - 11,326 through 11,340 (of 13,861 total)
Without DDL and example data I can give only a generic answer. But something like
select t1.*
from t1 left join t2 on (t1.f1 = t2.f1 and t1.f2 = t2.f2 ...)
where t2.f1...
June 13, 2011 at 11:38 pm
Or provide an additional parameter and use a sp as the report's source to handle the selection in any way you wish ...
June 13, 2011 at 8:54 am
Did you try my suggestion - if so, did it fail? What error did you get?
Otherwise, please explain your reasons for not wanting to try.
June 13, 2011 at 8:35 am
I haven't tried, but maybe you could use a view for the source of your data.
June 13, 2011 at 8:21 am
NLV (6/13/2011)
I want to fetch the data from ERP database thru SQL query. I want to know how to connect to ERP database to retrieve the data in to my...
June 13, 2011 at 2:42 am
praveensc2003 (6/12/2011)
why do you want to write script . It can be done easily using FileSystemtask.
I'd like to see that. Please provide details of how the FST can create Excel...
June 12, 2011 at 1:28 pm
Randheer (3/13/2011)
so get...
June 10, 2011 at 5:06 am
I'm interested to know how you avoided getting a meta-data error as a result of the expected columns being missing on the dodgy row?
June 10, 2011 at 2:38 am
It would be useful to know why though, as it's an unusual request. Instead you have avoided the question and simply restated your original post.
June 9, 2011 at 7:15 am
catherine (6/9/2011)
CurrentValue1 = 39340.00CurrentVaule2 = 49340.00
CurrentValue3 = 29370.00
CurrentValue4 = 0 or Null
CurrentValue5 = 0 or Null
....etc
therefore the max point would be the value from CurrentValue3
select Coalesce(NullIf(CurVal5,0), NullIf(CurVal4,0), NullIf(CurVal3,0), NullIf(CurVal2,0), NullIf(CurVal1,0))
should...
June 9, 2011 at 5:08 am
The last current value with a non 0 value/null held
I've tried, but I don't know what that means. Is there a date in there from which to determine 'last'? Is...
June 9, 2011 at 4:56 am
alexanderbebe (6/9/2011)
Later, i tried by renaming the excel file from xls to xlsx but i am getting the error as "Could...
June 9, 2011 at 2:13 am
Please include a screen shot of the control flow - perhaps just after it has failed to demonstrate where it failed.
Also include the text of the error.
June 8, 2011 at 1:37 pm
Have you considered using SSIS to do this? It could handle the commits as you wish.
June 8, 2011 at 9:07 am
Thanks for the blog link - I learnt something useful today.
June 8, 2011 at 3:23 am
Viewing 15 posts - 11,326 through 11,340 (of 13,861 total)