Viewing 15 posts - 211 through 225 (of 1,364 total)
Try scheduling it as a job and see it it creates file.
MJ
February 2, 2010 at 4:56 am
Simply run the SQL installer again and create a new clustered SQL Instance. Note that the new instance will also need a new, unique IP address and a network name...
February 2, 2010 at 4:46 am
Try attached script and comment out last line(EXECUTE sp_executesql @sp3--+'GO') till you are satisfied with output.
MJ
February 2, 2010 at 4:42 am
select distinct object_name(syscolumns.id),
syscolumns.name As CalculatedColumn ,
syscomments.text as TheCalculation,
isnull(object_name(SYSINDEXKEYS.id),'No Index Using This CalculatedColumn') As IndexName
from syscolumns
inner join syscomments on syscolumns.id=syscomments.id
left outer join sysindexes
on syscolumns.id=sysindexes.id
left outer join SYSINDEXKEYS...
February 1, 2010 at 6:02 pm
Better specify autogrowth in multiple of MB's rather than in terms of percentage.
MJ
February 1, 2010 at 1:09 pm
Try the below mentioned code on test server.
DECLARE @tbl TABLE
(
RowText varchar(max)
)
INSERT INTO @tbl
exec sp_helptext 'dbo.test1'
DECLARE @sp-2 varchar(max)
SELECT @sp-2 = ISNULL(@sp, '') + RowText
FROM @tbl
January 29, 2010 at 8:33 pm
declare @DBFileName sysname
declare @TargetSizeMB int
declare @ShrinkIncrementMB int
-- Set Name of Database file to shrink
set @DBFileName = 'ENTERDBFILENameHere'
-- Set Desired file size in MB after shrink
set @TargetSizeMB = 1000--For example
--...
January 28, 2010 at 3:11 am
Try running 'select RWA_ID from Prod_Table with (nolock)
where disp_id = 32' on main db and see how much tie it takes exactly.
MJ
January 27, 2010 at 1:50 am
Got my answer--Still need to include 'update statistics' but with FULLSCAN,columns only option.
Thanks for reading!!
MJ
January 21, 2010 at 3:47 pm
Load Time Delay= Destination Database waits before it restores the T-Log
January 20, 2010 at 5:03 pm
It needs to be on a different line. After your DBCC CHECKDB statement completion.
MJ
January 19, 2010 at 6:38 pm
Have you gone thru pablo's advice mentioned on
http://www.sqlservercentral.com/Forums/Topic454943-5-1.aspx
MJ
January 18, 2010 at 6:09 pm
You can make use of database mail to send mail to end users before killing their processes.
Another way is to use NET SEND command if messenger service is enabled.
Example:
select 'EXEC...
January 18, 2010 at 2:45 pm
Try to delete in batches.
Example:-
DECLARE @rc int
SET @rc = 1
SET ROWCOUNT 10000--Batch Size based on what is fine for you
WHILE @rc > 0
BEGIN
DELETE...
January 18, 2010 at 2:23 pm
Try:
SELECT
*
FROM ::fn_trace_gettable('TraceFilePath\FileName.trc', DEFAULT)
where objectname = '%Dropped Table Name%'
and eventclass=47--deleted
MJ
January 15, 2010 at 3:26 pm
Viewing 15 posts - 211 through 225 (of 1,364 total)