Viewing 15 posts - 1 through 15 (of 16 total)
As a follow up - I know it's weeks after the original, but I did what Grant suggested and it seems that param sniffing was killing the query. Happy,...
April 29, 2009 at 4:10 am
Thanks Grant, I'll search for that and see what I come up with.
Very much appreciate the reply...
March 20, 2009 at 6:06 am
Paul Randal (11/14/2007)
Yes, if you're doing...
December 10, 2007 at 5:47 am
Paul,
Thank you so much for your replies - I hadn't anticipated having the author of CHECKDB answering!
I was able to set up a copy of the DB in a safe...
November 14, 2007 at 10:43 am
You want to use SET ROWCOUNT @top before your query and SET ROWCOUNT 0 afterwards.
DECLARE @top int
SET @top = 100
SET ROWCOUNT @top
SELECT policynumbers FROM tblpolicynumbers
SET ROWCOUNT 0
October 25, 2007 at 1:55 pm
Peter and Ramesh - thank you so much for such prompt replies, the SQL gods are obviously smiling on me today! 😀 I'm fairly new to SQL 2005...
October 25, 2007 at 6:22 am
I've also just realised that I'm working in SQL Server 2005 for this database, not SQL server 2000 (which I normally have to work in). Dang - this should...
October 25, 2007 at 4:42 am
I've been thinking more about this - what if AValue is NULL or not-unique between differing values of NonUniqueID? Then I would be joining up on totally incorrect rows....
October 25, 2007 at 4:38 am
Thanks Herve for the extra pointers. This is all really useful and helpful to know - it's just good to get a better understanding of what is available for...
October 25, 2007 at 2:04 am
Ramesh - thank you, that is exactly what I wanted! Many thanks - I've not come across CROSS JOIN before :unsure: - I'd always assumed that there was a...
October 17, 2007 at 7:28 am
Steve Jones - Editor (10/11/2007)
October 11, 2007 at 6:51 am
Thanks for the reply - the information is so useful. We have only recently been able to start tightening up our notifications from SQL servers and it is really helpful...
December 22, 2006 at 9:17 am
Thanks for the link - I will look that up.
One more request for advice - I am looking to set up e-mail for another SQL Server (same set up as...
December 22, 2006 at 3:19 am
That was it! I opened Outlook and all the DTS "Send Mail Task" attempts I'd been trying suddenly came through. Thank you, both lucky and loobyloo for the replies!
I've got...
December 21, 2006 at 8:34 am
Right, I've looked at the error log file and there's no indication that the SendMailTask failed:
Step 'DTSStep_DTSSendMailTask_1' succeeded Step Execution Started: 21/12/2006 09:34:22 Step Execution Completed: 21/12/2006 09:34:23 Total Step Execution Time: 0.532...
December 21, 2006 at 2:43 am
Viewing 15 posts - 1 through 15 (of 16 total)