Viewing 15 posts - 46 through 60 (of 121 total)
o? where is this default trace file stored? I don't remember turning anything off during setup.
thx
March 9, 2009 at 12:06 pm
in our environment, dev has their own servers to destroy. we don't support the dev servers or their test databases, only uat and prod.
when they are promoting code to...
September 12, 2008 at 3:27 pm
what's there not to understand about the script I provided? it creates a memory table and stores all of your .trn file names in it.
Then the while loop...
September 12, 2008 at 1:01 pm
(nolock) doesn't help with performance. You are basically doing a dirty read of the table and allowing other process to write to that table. It does nothing for...
September 12, 2008 at 1:16 am
if u have already added the linked server then all you need to do is:
exec servername.msdb..sp_start_job @job_name = 'name of the job on the linked server'
4 part naming is your...
September 12, 2008 at 1:12 am
the script should go something like this:
-- declare variables
declare @dir varchar(1000), @rowid int, @sqlcmd varchar(1000), @filename varchar(1000)
declare @trn table (rowid int identity(1,1),file_name varchar(1000))
-- set variables
set @dir = 'dir c:\i386\ /TW...
September 12, 2008 at 1:00 am
hey jack,
here's table structure for @info:
DECLARE @info table (DBNAME SYSNAME, SPID INT, Duration INT, PROGRAM_NAME SYSNAME, INPUT_BUFFER NVARCHAR(MAX), BLOCKED VARCHAR(2), BLOCKING_PROCESS VARCHAR(10), PROGRAM_NAME1 SYSNAME, INPUT_BUFFER1 NVARCHAR(MAX))
and...
September 12, 2008 at 12:41 am
you can use datediff and use a while loop to loop thru 12 times to give you 12 months worth of data.
or you can use datediff and the BETWEEN function.
August 22, 2008 at 6:48 pm
RS is capable of sending out reports via email. I'm going to subscribe to the report and have it set to email me once a day 🙂
August 22, 2008 at 6:36 pm
you can look into using ntext or maybe varbinary(max).
ntext will be removed in future releases.
varbinary(max)
Variable-length binary data. n can be a value from 1 through 8,000. max indicates...
August 22, 2008 at 1:56 pm
nope, didn't work 🙁 . RS or C# here I come!
August 22, 2008 at 1:29 pm
hrmm using case statement, interesting idea.
I'll give it a shot and if it doesn't work, I'll just use Reporting Services.
August 22, 2008 at 11:50 am
this is what I got now to send out regular HTML email
set nocount on
declare @tableHTML nvarchar(max)
SET @tableHTML =
' ' +
' ' +
...
August 21, 2008 at 4:30 pm
transactional replication is near real time data being sent to your subscriber. your subscriber is accessible during this time.
mirroring is near real time data however, the mirrored server isn't...
August 20, 2008 at 5:40 pm
is there an operator setup? is your server setup to send out notification?
I wouldn't rely on those latency BS SQL got, it didn't do me any good in the...
August 20, 2008 at 5:36 pm
Viewing 15 posts - 46 through 60 (of 121 total)