Viewing 15 posts - 31 through 45 (of 86 total)
January 17, 2019 at 8:57 am
The presence of the keyword DISTINCT normally means that the code has failed to...
January 17, 2019 at 8:56 am
December 30, 2018 at 4:08 am
Now i changed the cross join into simple join but it returns the total count as 24 instead of total count(1 lack).any logic missing in my below join condition?and any...
December 27, 2018 at 10:18 am
CREATE PROCEDURE [dbo].[PAGING_NEW]
@parameter1 NVARCHAR(200),
@parameter2 NVARCHAR(200),
@PAGE INT,
AS
SET NOCOUNT ON;
DECLARE @ROWNUM INT =25
...
December 27, 2018 at 3:38 am
I tired this method also using CTE and OFFSET/Fetch methods for finding total count of records.This method also taking more time.so i tried old method.
CREATE PROCEDURE...
December 26, 2018 at 9:53 am
December 12, 2018 at 2:45 am
ok.thanks.i hope cte will improve performance.
December 11, 2018 at 6:18 am
Orginal Query
[DECLARE @LAN VARCHAR(10) = 'EN'
DECLARE @SUBFORMAT VARCHAR(50) = 'MTR'
DECLARE @CASNUM VARCHAR(20)
SELECT DISTINCT
TP.F_PRODUCT AS ID,
...
December 11, 2018 at 3:24 am
For union all operator shall i use CTE for using the hints OPTION (RECOMPILE) or OPTION (OPTIMIZE FOR UNKNOWN) at the end of query in my sp?.CTE Is right choice...
December 10, 2018 at 9:58 pm
Yes i am improving the performance, i am using the hint Option(recompile) in the end of query.is it better choice compare to OPTION (OPTIMIZE FOR UNKNOWN)?.suggest please because i am going...
December 10, 2018 at 10:28 am
December 10, 2018 at 9:44 am
Thank You.Finally found the issue.My view contains one column PHT.F_Phrase.I am selecting this column in my original select statement.Actually this column (F_Phrase) in PHR_TRA Table is NVARCHAR(MAX).So it reduces the performance...
December 5, 2018 at 9:32 am
December 4, 2018 at 1:23 am
Viewing 15 posts - 31 through 45 (of 86 total)