Viewing 15 posts - 6,076 through 6,090 (of 18,926 total)
jpSQLDude (5/16/2011)
Ninja's_RGR'us (5/16/2011)
Well it doesn't <completely> break it. that's why I said I preffer to have that run with full backups as first and last steps.
I'm pretty sure the...
May 16, 2011 at 9:17 am
I just ran the script for the fun of it... so many undocumented options it makes your head spin!
/****** Object: Table [dbo].[dba_indexDefragLog] Script Date: 05/16/2011 11:09:41...
May 16, 2011 at 9:13 am
Reformated code...
DECLARE
@LoginG as uniqueidentifier = (
...
May 16, 2011 at 9:06 am
SQL New New (5/16/2011)
May 16, 2011 at 9:04 am
simflex-897410 (5/16/2011)
What prevents 1234 from being inserted into the maintName fieldname?
That's what I am hoping the constraint is intended to do - prevent...
May 16, 2011 at 9:03 am
GilaMonster (5/16/2011)
May 16, 2011 at 8:48 am
Ninja's_RGR'us (5/16/2011)
jpSQLDude (5/16/2011)
Thanks Ninja, that seems very comprehensive (at least for those instances where you are able to break the log chain).
Well it doesn't <completely> break it. that's why...
May 16, 2011 at 8:40 am
Ninja's_RGR'us (5/16/2011)
What's the advantage of setting the db or files to read_only?.. and which ones do you set ro?
Ya, but if the db only has selects running on it, how...
May 16, 2011 at 8:39 am
Ah, I think I read this one too fast :w00t:.
The problem you were having is that you validated both at the same time. So if either was valid, the...
May 16, 2011 at 8:38 am
jpSQLDude (5/16/2011)
Thanks Ninja, that seems very comprehensive (at least for those instances where you are able to break the log chain).
Well it doesn't <completely> break it. that's why I...
May 16, 2011 at 8:35 am
The backup only contains the pages with data on them. So that means you have quite a lot of free space in that db.
May 16, 2011 at 8:31 am
What's the advantage of setting the db or files to read_only?.. and which ones do you set ro?
May 16, 2011 at 8:30 am
SET IMPLICIT_TRANSACTIONS ON
GO
Create Table dbo.Maintenance
(
maintName varchar(225) NOT NULL,
maintid int NOT NULL,
CONSTRAINT Only_Characters
CHECK (maintid NOT LIKE '%[^A-Z ]%'),
CONSTRAINT Only_Numbers
CHECK (maintName NOT LIKE '%[^0-9 ]%')
)
GO
INSERT into Maintenance (maintid, maintName) VALUES('1',...
May 16, 2011 at 8:28 am
I had the same problems here. Here's the script that solved it.
Now I agree with Gail that this should be a 1 off execution because you had a strange...
May 16, 2011 at 8:24 am
I think he needs to find all the varchar variables and change them to nvarchar.
In that I'd do a search in the proc's definition for varchar. You could also...
May 16, 2011 at 8:14 am
Viewing 15 posts - 6,076 through 6,090 (of 18,926 total)