Viewing 15 posts - 1 through 15 (of 21 total)
Thanks, I thought I tried that, but obviously had a typing error somewhere. Just tried again and that worked. Told you it was a stupid question.
Thanks for the prompt reply.
March 14, 2012 at 9:54 am
A little more information.
If I run the following the query completes instantly;
select top 10 * from Table_A
however If I run
Select top 10 * from Table_A
order by time_occurred
The query runs for...
January 5, 2012 at 3:32 am
Sorted and for all of you that are interested....
Set up a simple windows scheduled task that executes a batch file. Within the batch file I have the following
rem @echo off
sqlcmd...
August 3, 2011 at 9:13 am
Thanks for the link http://standalonesqlagent.codeplex.com/ but need something that's not in Beta.
August 3, 2011 at 7:53 am
I understand that you can set up a backup task using windows scheduler, but how, I need help with the syntax.
Looking at windows scheduler, Windows 7
click create task (all the...
August 3, 2011 at 7:49 am
I had some help with this, and this seems to work.
update mytablename
set deleted = '1'
where
(ID in
(select MIN(ID)
from mytablename as mytablename_1
group by name, deleted
having (count(name) > 1)))
March 22, 2011 at 9:56 am
Hi, not sure that will work as this table has thousands of records and your query lists the entries...assuming I'm reading it correctly.
this is where I have managed to get...
March 22, 2011 at 9:00 am
I have managed to clean out msmerge_history. This table within the distribution database was 7GB containing 10m records and growing. Running the SQL maint task;
agent history clean up: distribution which...
March 9, 2011 at 5:13 am
I managed to set the tasks up, but the distribution db continued to grow. looking at what table was the cause of this size it turned out msmerge_history contains 10m...
March 9, 2011 at 5:12 am
I have managed to clean out msmerge_history. This table within the distribution database was 7GB containing 10m records and growing. Running the SQL maint task;
agent history clean up: distribution which...
March 9, 2011 at 5:08 am
You are correct in that the jobs should be created automatically however they wernt in this example.
In my setup Server A is the Publisher / Distributor and Server B is...
February 11, 2011 at 2:40 am
I had this same problem and the only resolution that I found was to create a publication with the same name (using the same database) then delete it immediately (choose...
January 27, 2011 at 2:15 am
Thanks for the reply, this makes sense. I have completed additional investigation and the problems I encountered all stem from an incomplete merge replication setup. I say this as in...
January 27, 2011 at 2:08 am
I have the same problem. Running SQL 2005sp2 Merge replication (Push). I noticed Distribution.MDF was growing larger that I would expect. I was missing the task 'Agent history clean up:...
December 3, 2010 at 4:04 am
This is great. Thanks WayneS this worked a treat.
Doobya, thanks for your feedback. Just for my info what do you mean when you say ‘you can't use datediff() like that...
July 7, 2010 at 3:05 am
Viewing 15 posts - 1 through 15 (of 21 total)