Viewing 15 posts - 16,621 through 16,635 (of 26,489 total)
Looking at your code, this:
RIGHT OUTER JOIN dbo.EventDescription ED ON DEP.EventID = ED.EventID
should probably be this:
LEFT OUTER JOIN dbo.EventDescription ED ON DEP.EventID = ED.EventID
As this:
dbo.DefendantEventPros DEP is on the...
March 9, 2010 at 2:23 pm
CirquedeSQLeil (3/9/2010)
Vivek29 (3/9/2010)
Run this before performing shrink operation.Use tempdb
go
DBCC FREESYSTEMCACHE(ALL);
DBCC FREESESSIONCACHE;
then perform your shrink operation.
Thanks
Vivek
Why?
Agree, why would you do that on a production server?
March 9, 2010 at 1:26 pm
CirquedeSQLeil (3/9/2010)
Lynn Pettis (3/9/2010)
I think it's time for trip to the desert. Anyone care to join me? I'll put the hippo on a leash. 😛Care to enlighten us?
Sure,...
March 9, 2010 at 1:14 pm
I think it's time for trip to the desert. Anyone care to join me? I'll put the hippo on a leash. 😛
March 9, 2010 at 1:02 pm
arun.prakash (3/9/2010)
_Addwhen - format is 20100303 9:41:3000
Normalized_Add_When - format should be format is 20100303 9:45 (after I run my stored procedure)
The other...
March 9, 2010 at 12:52 pm
Well, your insert statement isn't working on my server.
March 9, 2010 at 12:29 pm
Also, what column should be updated and what should it look like when completed?
March 9, 2010 at 12:24 pm
Did you test the code you posted on your system. Things don't look right once I reformat the code.
March 9, 2010 at 12:23 pm
arun.prakash (3/9/2010)
here is my set statement :
declare @ sql nvarchar(500)
set @sql='update XXNkk_Fact_PnLSummary1 set [' + @colname...
March 9, 2010 at 12:10 pm
GilaMonster (3/9/2010)
March 9, 2010 at 12:04 pm
Does the following code help you?
declare @TestTime datetime;
set @TestTime = convert(datetime, '0:14:00', 108);
select @TestTime, dateadd(ss,((datediff(ss, dateadd(dd, datediff(dd, 0, @TestTime), 0), @TestTime) + 450) / 900) * 900, dateadd(dd,datediff(dd, 0, @TestTime),...
March 9, 2010 at 11:57 am
Could you please define your rounding rulles? When to round up and when to round down.
March 9, 2010 at 11:37 am
Can't answer your question about sp_send_cdosysmail, but I would suggest looking at Database Mail.
March 9, 2010 at 11:29 am
I'd need to review the code again to be sure, but if the query is returning the appropriate data, then you should have it right.
March 9, 2010 at 11:24 am
Simple answer, yes. The only system database you can't backup is tempdb, which makes sense as it is recreated every time you restart SQL Server.
As to frequency, that would...
March 9, 2010 at 11:21 am
Viewing 15 posts - 16,621 through 16,635 (of 26,489 total)