Viewing 15 posts - 16 through 30 (of 85 total)
For max recursion.
I am getting error
The statement terminated. The maximum recursion 100 has been exhausted before statement completion.
My DBA don't allow me to Use this MaxRecursion. I am looking...
October 3, 2016 at 9:59 am
That's correct. there is no order I am using view and I have to find out this in subquery inside the view.
June 7, 2016 at 9:34 am
Yes,, I checked but it wan't work.
Thanks
February 10, 2016 at 12:07 pm
OK .. Thanks. Let me try and let you know.
Thanks
February 10, 2016 at 6:51 am
Yes.. I got it. I wasn't get answer clear at that time on that threat.
Thanks
February 9, 2016 at 2:24 pm
Hi,, After doing my best try,
I believe, below query should work.
SELECT o.*,
COALESCE( NULLIF( o.t_wght, 0), x.t_wght,y.t_wght, 0)
FROM [TBRTEK002] o
OUTER APPLY (
...
February 9, 2016 at 9:41 am
Hi,
I tried again but I am not to produce result as i expected. Please help me and provide query.
Thanks
February 9, 2016 at 8:24 am
Thanks for your reply.
I was doing in different scenario, that's why i remove order by. I knew, order by is used to select top 1 wght based on asc...
February 9, 2016 at 7:41 am
SELECT o.*,
COALESCE( NULLIF(o.t_wght, 0), x.t_wght, 0)
FROM [TBRTEK002] o
OUTER APPLY (
SELECT TOP 1 max(i.t_wght) as...
February 8, 2016 at 3:04 pm
I understood the query but I am not able to return the result. I tried my best to get result. Please help me.
February 8, 2016 at 2:58 pm
Thank you so much.
It is worked in some condition.
In below condition, it is not working.
t_mcnot_citgt_trdt ...
February 8, 2016 at 2:21 pm
Sorry.. I have 2014. but server is2008 R2.
February 8, 2016 at 1:47 pm
Viewing 15 posts - 16 through 30 (of 85 total)