Viewing 15 posts - 76 through 90 (of 233 total)
The following columns are part of the CTE but I have omitted it because the problem where I face the difficulty in merging the SELECT statements into one is regarding...
October 13, 2014 at 5:36 am
I am posting the modified code. Sorry for the confusion.
WITH Local_EOL_Dioxin_Statistic_Import_New
AS
(
SELECT
...
October 13, 2014 at 3:45 am
Koen. Thanks for your comment.
Please help me in rewriting the query. It is a code optimization comment to rewrite it.
October 13, 2014 at 2:14 am
I am now using a SELECT DISTINCT to avoid the duplicate records from retrieving.
I can remove this DISTINCT keyword from the query once the OUTER APLLY is changed to LEFT...
October 10, 2014 at 4:00 am
Thanks Koen for that input. Can you elaborate on that point.
How my query can be changed to accommodate this.
October 8, 2014 at 7:36 am
Thank You on that. Also how I can modify the part using a CTE where the values from a select statemnt are inserted into the temp table like the one...
August 6, 2014 at 7:20 am
Also, have a sql code like a temp table creation and insertion inside the Stored proc, please guide me how this can be achieved using CTE or by any other...
August 6, 2014 at 4:18 am
Hi Micky, awesome query, Can you explain how it works. I am a newbie to this.
April 8, 2014 at 12:45 am
Query Cost is same for both the queries. It does not involve any table scans in both the queries.
Execution query plan is the same.
What about the performance enhancement when...
March 12, 2014 at 3:06 am
dwain, great effort.
can you please help me how you got idea about that the table sacn is three.
March 11, 2014 at 10:42 pm
dwain, your code is superb one..
Please write the UPDATE syntax also, if want to update the column.
March 11, 2014 at 6:23 am
I used the Windings font for the two text boxes in the report and used the following expressions for my requirement:
=iif(count(Fields!Results.Value)=0 OR Fields!FindingsDeleted.Value = 1,chr(0120),"o")
AND
...
March 11, 2014 at 5:27 am
I achieved the answer using this way:
SELECT
isnull((
select stuff((select ','+ convert(varchar(1000),auditedAreaDescription) from Local_AuditedAreas LA
inner join Local_Audits LU ON LU.auditIncId = LA.auditIncId and LU.auditSqlId = LA.auditSqlId AND LU.isDeleted = 0x0...
March 11, 2014 at 3:45 am
Dwain, nice way of doing it..!!
Is this a kind of cross-tab.??
March 11, 2014 at 12:55 am
Viewing 15 posts - 76 through 90 (of 233 total)