Viewing 15 posts - 106 through 120 (of 128 total)
I have attached both queries for your reference. Execution plan could not be attached.
Do we have some other way to write these queries?
May 15, 2013 at 10:41 pm
Both queries are tested and giving proper results.
May 15, 2013 at 10:34 pm
Yes I agree. Both queries are executing in under 1 sec. so time can't be a measurement factor, may be in a very very big query we can see some...
May 3, 2013 at 6:30 am
Yes, I also feel second query should be slower. But both are working exactly same.
May 2, 2013 at 11:20 pm
I have tested same scenario with a non unique and unindexed column. Results are anyways same.
Yes, I have many other ways to perform the task. But point here is to...
April 26, 2013 at 3:40 am
Yes, There is a primary key on account.account_id
April 26, 2013 at 3:07 am
Gail Shaw,
Can you please refer to my second example where I have given the script to create table.
April 19, 2013 at 1:42 am
Ok, to understand short circuit take this example
CREATE TABLE Test_Circuit (
a INT NOT NULL PRIMARY KEY CLUSTERED,
b VARCHAR(128) NULL,
...
April 19, 2013 at 1:14 am
Dhasian, Chris
Thanks for your kind support.
Dhasian,
The query is working fine and much better then before. Good Job. But adding a where clause results in increased scan counts on "person".
Chris,
The query...
April 18, 2013 at 8:18 am
Can you provide table structure, sample data and query
April 11, 2013 at 4:08 am
It comes from Java Code, like ......where Site_id = :lablesiteid....
April 10, 2013 at 9:23 pm
Hard coded value is coming from SITE_AC table. Now it is not there because I had removed some rows from script to reduce the size of attachment. you can put...
April 10, 2013 at 9:25 am
As I mentioned earlier, This query is part of a very big and complicated query where we have more than 60 such small queries.
My requirement...
April 4, 2013 at 9:32 pm
This query is part of a very big and complicated query where we have more than 60 such small queries.
All these queries are fatching value...
April 4, 2013 at 9:34 am
Viewing 15 posts - 106 through 120 (of 128 total)