Viewing 15 posts - 1 through 15 (of 144 total)
ind_lp data looks like:
id ind_name
1 abc & (11)
2 bglh (45)
3 yyiouiopo(67)
...
UM is the lot many cols
ind_grp
30608,30624,30644,30645
30601,30650,30623,30624,30637,30641
30623,30631,30645
...
Pls ignore the nolock, i will be removing it when submitting the code.
April 8, 2021 at 4:51 am
The idea is to do pagination in order by if count = 0 then one column only else paginate.
when i set pagecount/pageindex value >0 it works but fails for 0...
March 23, 2021 at 7:33 am
I came up with one version so far it works well. Will surely have a look at above suggestion
If( (@Bookingid!='0') and (@taskid!='0') and (@userid!='0') ...
March 18, 2021 at 12:17 pm
yea please ignore the nolock hints. its what developer do and we always omit when we commit.
Attaching Execution plan for one of case
February 24, 2021 at 3:21 pm
yea we are on it for improving /re designing.
Until then is there a way to identify the ask?
February 10, 2021 at 12:48 pm
As for using IN instead of =, I may have missed at some places which I will correct.
Nested loop is due to joins. Check EP that I just attached
January 15, 2021 at 10:33 am
Thanks I thought of that. But there are few more differences in where so let it go.
January 11, 2021 at 8:56 am
Thanks bunch for all the inputs. Have incorporated many of them still tweaking it
January 8, 2021 at 8:34 am
Thanks for your inputs.
Attaching the EP
January 7, 2021 at 4:55 am
Wow... Thank you so much for such insights.
However, using a hint in the secondary table or in my case on the joining table can still be okay? since all the...
August 6, 2020 at 9:40 am
Thats a bad trade off we live in
Isloation is read committed and developers would like to use NOLOCK everywhere. Just needing some references to make my point nolock in delete ...
August 4, 2020 at 1:39 pm
Any reference link I can refer too and make my point?
August 4, 2020 at 1:37 pm
Most articles I found were talking about 1 table use.
What if I'm joining on table 2 and using NOLOCK there? Is it good to use? any issue that i can...
August 4, 2020 at 8:10 am
yea added that step:
select run_status = @runstatus from msdb.dbo.sysjobhistory jh
inner join msdb.dbo.sysjobs jb on
jb.job_id = jh.job_id
where jb.name = 'myjob1'
and run_status = 1
if @runstatus = 1
update ....
But still it fails.
SQLServerAgent Error:...
July 6, 2020 at 12:08 pm
Same error on all the databases on same server
January 24, 2020 at 1:27 pm
Viewing 15 posts - 1 through 15 (of 144 total)