Viewing 15 posts - 16 through 30 (of 35 total)
It is my thinking that you have to run the BEGIN TRANSACTION ... WITH MARK against all the DB's in the set - So assume it has to be done...
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
July 15, 2011 at 5:34 pm
Thanks Wayne - I think that will do it!
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
June 18, 2009 at 9:08 am
Awesome ideas!
Thanks!
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
May 18, 2009 at 10:44 am
John Rowan (11/7/2008)
In that case, use LEN:
DECLARE @Table TABLE (Col1 int, Col2 varchar(50))
INSERT INTO @Table
SELECT 1, '123234345' UNION ALL
SELECT 2, '123456789124578'
SELECT *
FROM @Table
WHERE LEN(Col2) < 12
Perfect!
Thanks!
Wally
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
November 7, 2008 at 11:29 am
Sorry,
varchar(50)
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
November 7, 2008 at 11:01 am
BEACHDBA (2/22/2008)
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
February 22, 2008 at 9:29 am
Jeff,
If you haven't undertaken any exams as of yet, I would wait.
I have my MCDBA, and was about to take the two exams to upgrade, but decided to wait until...
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
February 21, 2008 at 10:26 am
Yup, probably can't do that though... There are only a few on the table and they are highly utilized... ![]()
Thanks All!
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
August 30, 2007 at 3:20 pm
Thanks gang, you've got me off to a great start!
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
August 30, 2007 at 9:32 am
The table currently has 5 years of data in it. We want it to only have 60 days of history moving forward.
So I need to delete about 40 million rows,...
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
August 29, 2007 at 8:53 pm
Ditto... I only shrink a logfile if I've had some type of a unique event (like a large DW insertion etc.) that causes it to grow to nonstandard size.
Why don't...
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
August 10, 2007 at 12:44 pm
Very strange.
If you can truncate it manually then SQL Server already knws that there are no open or uncommited transactions... So Checkpoint SHOULD be cleaning up! ![]()
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
August 10, 2007 at 12:36 pm
Perfect!
Actually had just about figured it out. ![]()
Thanks Mark.
[font="Verdana"]-- Wally
-- Reluctant DBA[/font]
July 11, 2007 at 2:11 pm
Viewing 15 posts - 16 through 30 (of 35 total)