Viewing 15 posts - 10,216 through 10,230 (of 13,461 total)
DR = Disaster Recovery.
a SQL disaster Recovery Regime would simply be the steps you plan to take to bring SQL server back up in the event of a disaster...whether that...
December 18, 2009 at 7:37 am
yes! that is the "tipping point" Jeff was referring to; most huge updates take seconds/under a minute total, isntead of hours.
after your update, have you done a select to...
December 17, 2009 at 10:32 pm
i agree with Bru; i don't think you can change column names via replication.
an alternative might be to create a view that aliases the column names, but if these are...
December 17, 2009 at 10:44 am
not that a million records a day is a lot, but here's a question for you:
are the million records at a time date related? ie since you are doing this...
December 17, 2009 at 10:28 am
the error pretty much tells you what the issue is.
when you do a CREATE TABLE statment, you can optionally say what filegroup it will be created on...the "default" group is...
December 17, 2009 at 7:28 am
i'd say there was an error in assigning roles;
how can you update something(db_datawriter) if you can never query it for the original values(db_datareader)
i think you need to add db_datareader to...
December 17, 2009 at 7:13 am
here's my guess at it:
DECLARE @pid int
--don't see it assigned a value..this might be a select for ALL recs, and pid is the current record?
SELECT ISNULL(CustName,'') As CustName,
ISNULL(CustAddress,'') As CustAddress
FROM...
December 16, 2009 at 9:48 pm
yes, you could use a loop from one to twenty or something, so it only iterates thru ranges of id's; you were right, the idea is to not let it...
December 16, 2009 at 9:26 pm
you'd simply change your update statement just a little bit, so it only updates where the destination column is null;
something like this:
SET ROWCOUNT 500000 --only fiddle with half a million...
December 16, 2009 at 6:01 pm
a default, any default constraint in fact, uses the value ONLY if the column is not referenced in the INSERT statement. the empty string you included gets assumed to be...
December 16, 2009 at 4:36 pm
Seth you could give LINQPad a try, since it is free;
I like it because i can carry it in a thumb drive; added it to my PortableApps collection;
it's got a...
December 16, 2009 at 11:15 am
the default trace is helpful for this exact sort of thing, as it captures all the DDL changes
there's even a built in report for it.
go to Object explorer in SSMS,...
December 16, 2009 at 10:40 am
yeah you'd want to add something like WHERE dbo.CHARINDEX2('-', COLUMNNAME, 2) > 0
to your query, so you only select things that match the style of two dashes to chop...
December 16, 2009 at 10:02 am
seems like this function would help you here from the scripts contribution section:
http://www.sqlservercentral.com/scripts/30497/
it lets you find the N-th occurrance of the dash for example...
so if you need everything LEFT of...
December 15, 2009 at 10:49 am
here's a quickie SQL to find tables with "gaps" in the column_id sequence:
select distinct object_name(object_id) As TableWithGaps
from (
select * ,
...
December 15, 2009 at 10:40 am
Viewing 15 posts - 10,216 through 10,230 (of 13,461 total)