Viewing 15 posts - 181 through 195 (of 223 total)
I haven't got around to read the 2nd part of the article completely. I did have a glance. I just want to thank you again as what i learned here...
May 7, 2010 at 12:22 am
Grant, I had done some reading on this and I read some articles again. Looks like no one really advises the use of nolock. It will be great if you...
April 22, 2010 at 6:55 am
Thanks Grant and Kshitij.
@Grant: What do you mean by missing rows? Rows that are there in the dataset but not present in database as a result of an update...
April 22, 2010 at 6:24 am
Reduced execution time from ~ 2 min to 2-4 secs by changing
'where scalarvaluedfunction(table.column) = @id or @id = 0 or @id is null '
to
'where @id = 0 or @id...
April 22, 2010 at 5:01 am
hey sorry folks, i was just messed up in the head after seeing my query misbehaving so badly. I ran the query simultaneously in the DBs and they fetch the...
April 22, 2010 at 1:40 am
I would like to add that I am more worried about performance than best practice and maintenance.
- arjun
April 12, 2010 at 7:53 am
Paul White NZ (4/12/2010)
mohd.nizamuddin (4/12/2010)
I have a doubt, since the UDTF would get executed as many times as the row count...
April 12, 2010 at 7:51 am
Is this what you need? Otherwise, please post the desired output.
declare @var xml
set @var = '<AttributeCollection>
<Attribute>
<value>Personal P and C</value>
<attributeid>100055</attributeid>
...
April 5, 2010 at 7:44 am
I was wondering why you chose sys.columns. Thanks Paul. It makes sense now.
- arjun
April 1, 2010 at 7:51 am
Paul, can you explain this? Especially, the ROW_NUMBER() OVER (ORDER BY (SELECT 0)) part. I'm sorry if i am bugging you.
SELECT TOP (10000)
...
April 1, 2010 at 7:33 am
Wow!!! Beautifully explained.
"Using HAVING (or a GROUP BY, DISTINCT or any aggregate function) means that any rows returned refer to groups not records. In this case, there is one...
April 1, 2010 at 7:13 am
vaibhav.tiwari (4/1/2010)
Yes, with reference to reply of BigM that if schemaname is concatenate with the table name then sql server identify that it is the table name then it will...
April 1, 2010 at 5:38 am
I suggest that you do some performance testing with this query.
- arjun
April 1, 2010 at 3:38 am
@vaibhav: the query runs fine. It does not cause an error.
@swati: count(*) returns the count in a group. In your query you haven't mentioned a group....
April 1, 2010 at 3:34 am
Viewing 15 posts - 181 through 195 (of 223 total)