Viewing 15 posts - 1,441 through 1,455 (of 7,502 total)
Sorry for that.
Apparently I posted the wrong version.
Constraints should be using 'with check' for the obvious reasons.
February 16, 2012 at 7:27 am
maybe this attached sproc can get you started.
its goal is to generate a sequence of drop fk, convert pk 2 clustered, create fk encapsulated into a transaction per pk.
Actual...
February 15, 2012 at 1:40 pm
that would be to much if it isn't needed for that user to actually read the data.
February 15, 2012 at 1:26 pm
Shouldn't the login have been granted dbaccess any way ?
February 15, 2012 at 11:15 am
Why would you always want your primary key to be clustered ??
You should first check if your table has a clustering index.
I would also pay attention to the composition...
February 15, 2012 at 3:05 am
Did you have a look at the sqlserver Errorlog files ?
You can use SSMS to do so or import them and query on using sp_sys.sp_readerrorlog
If you are defining "failover" as...
February 15, 2012 at 2:59 am
-Please post your target table DDL ( including constraints and indexes )
did you try this ?
INSERT INTO dbo.VRWATSYSTABLE
SELECT distinct *
FROM [ZAVRCICAHS1].[Environmental].[dbo].[EnviroTable] Src
where not exists ( select 1 from dbo.VRWATSYSTABLE Trg...
February 15, 2012 at 2:42 am
Dev (2/7/2012)
Sorry to disagree with you Johan... It looks like 5GB database.~5Gb data, with new tables created daily, and updates across around a dozen tables each day.
I just...
February 7, 2012 at 11:56 am
Perry Whittle (2/7/2012)
February 7, 2012 at 8:21 am
This is how we check if the db is available:
if exists ( select 1
from sys.database_mirroring
Where ...
February 7, 2012 at 12:01 am
So you implemented partitioning to overcome a rebuild problem.
Did you align indexes ?
If not, you end up practically in the same situation with regards to rebuilds.
If you did align...
February 6, 2012 at 11:31 am
- are you monitoring dbmirroring events ? If not, you should implement that ! (see attachments )
Your default trace file(s) may also help you to diagnose this issue !
February 6, 2012 at 11:09 am
Missed that tiny detail ... :blush:
source = R2 , target = sql2008
My guess is you are stuck to the "classic" replication ways using articles to publish and subscribe. (selecting individual...
February 6, 2012 at 7:44 am
CraigIW (2/6/2012)
ALZDBA (2/6/2012)
- Can your need be solved using backup ( of prod ) and restore ( to report env ) ?
( one should...
February 6, 2012 at 7:38 am
as always, it depends 😉
- Can your need be solved using backup ( of prod ) and restore ( to report env ) ?
( one should be able...
February 6, 2012 at 6:47 am
Viewing 15 posts - 1,441 through 1,455 (of 7,502 total)