Viewing 15 posts - 976 through 990 (of 2,462 total)
Read this http://msdn.microsoft.com/en-us/library/ms176064%28v=sql.90%29.aspx
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 7, 2012 at 2:33 am
your query's subtraction basically generating 1899-12-31 23:59:59.997 date and DATEPART function picking up the second's value which is 59
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 7, 2012 at 2:30 am
dixon_dwayne (4/30/2012)Also, I've read that the DB on the DR box can't be used at all even to read... it just sits there doing nothing but restores as transaction logs...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 7, 2012 at 2:21 am
@ OP,
If possible try to divide the database into multiple. it will help you in future as sudden/urgent restore might put you in danger :-).
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 7, 2012 at 2:15 am
1. copy the backup to local/shred drive(accessible) to dev environment and do the restore.
2. use ssis package to migrate the data and save it too for later use.
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 7, 2012 at 2:07 am
MSQLDBA (5/5/2012)
One of my database configured on mirroring, and i want to restrict users on it. Because to put database on single user mode is not possible if...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 7, 2012 at 2:05 am
MadTester (5/4/2012)
SQL services lock files
It means that there should not be any connection (some process is using) with those files but why this case doesnt get applied on INDEX...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 4, 2012 at 6:59 am
GilaMonster (4/28/2012)
File defrags isn't something often done, especially if the files are on a SAN. Also note that you almost certainly need to have the SQL service stopped to do...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 4, 2012 at 6:46 am
GilaMonster (5/2/2012)
Just include shop_code in the index, I wouldn't make it clustered, doesn't look like a good candidate for a clustered index
Gail
i didn't get your point here,why IDX3 couldn't...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 4, 2012 at 6:37 am
i have couple of questions ?
1) how much time does single run take(single execution) ?
2) Whats the frequency of single run ?
3) how much data single run handling?
4) how...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 4, 2012 at 6:31 am
From performance perspective, you can use the concept of remote distributor and create the DB which multiple files plus use separate disk.this will improve the performance as it seems that...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 4, 2012 at 6:13 am
jdrinkwater (4/27/2012)
Hi I have replication set up between two servers, but I notice every time the job named "Distribution clean up: distribution" (by default) runs on the distributor
set this...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 4, 2012 at 5:46 am
have you setup the distribution fresh here or its a part of image ? if its part of image can you try to create it fresh
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 4, 2012 at 4:38 am
USE distribution
GO
EXEC sp_browsereplcmds
@xact_seqno_start = '0x00001C3D00000B9A002800000000',
@xact_seqno_end = '0x00001C3D00000B9A002800000000'
GO above query will give you exact query which his creating PK violation here "xact_seqno" can be obtained from...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 4, 2012 at 4:24 am
sumit.tembhare (5/4/2012)
:w00t:Use Sp_Who2 and kill that processes which is using MSDB database.
Killing is not an optimal solution it should be last weapon to use.
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
May 4, 2012 at 3:47 am
Viewing 15 posts - 976 through 990 (of 2,462 total)