Viewing 15 posts - 5,896 through 5,910 (of 7,636 total)
GO is just a command to the Client SQL program (Query Analyzer, SSMS, etc.) to terminate the current batch and execute it. Go does not terminate the current session...
August 14, 2008 at 4:36 pm
Try it for your self:
create table foo(bar int)
GO
select * from foo
Begin transaction
Insert into foo select 99
Select * from foo
GO
Select * from foo
Rollback transaction
Select * from foo
GO
Select * from foo
GO
Drop table...
August 14, 2008 at 4:32 pm
Hmm, this is very interesting, can you post the query that is CPU bound?
August 14, 2008 at 4:19 pm
Peso (8/14/2008)
But here is a way to get 10,000 unique nonrepeating random numbers between 0000 and 9999
Yes, that is not hard at all. But it is not what the...
August 14, 2008 at 3:42 pm
GilaMonster (8/14/2008)
August 14, 2008 at 3:23 pm
The problem is that in a Replicated environment, it takes both Backup and the LogReader to release a replicatable record from the LDF. Well, if you're in Simple mode,...
August 14, 2008 at 3:19 pm
Jeff Moden (8/14/2008)
I'm also pretty much limited on disk space... can't make the MDF or the LDF much larger... copy of the 36M row table would probably stuff the system.
I...
August 14, 2008 at 3:00 pm
Actually, stopping & disabling the LogReader Agent will also stop and disable the Job. (in fact it may be the same thing).
August 14, 2008 at 2:53 pm
I ask the above question, because I have had that happen to me: Doing a massive insert/update/delete, and the LogReader starts trying to scrape the log while the transaction...
August 14, 2008 at 2:38 pm
OK, there are several places that you can do this from, but the best place is: "Replication Monitor/Agents/Log Reader Agent" which will all of the LogReaders and only the LogReaders....
August 14, 2008 at 2:32 pm
If it is Transactional Replication, then you (Stop & Disable) the LogReader job (from the Replication Interface, not the SQL Agent). This is the job that scrapes the Log...
August 14, 2008 at 1:37 pm
Good point. I'll remember to reference my base arithmetic system in the future :).
August 14, 2008 at 12:34 pm
Use the MAXERRORS option. Or else a Format file.
August 14, 2008 at 12:30 pm
Viewing 15 posts - 5,896 through 5,910 (of 7,636 total)