Viewing 15 posts - 4,531 through 4,545 (of 7,636 total)
One more way: COALESCE(NULLIF(code,'V918899'), '5K5')
December 4, 2008 at 10:51 pm
I would use Replication. This is exactly the kind pof thing that it was intended for. I really don't see that roll-your-own triggers would add anything.
December 4, 2008 at 10:35 pm
Like this:
UPDATE Template_Dir
SET Template_Path = Replace(Template_Path, '\\SERVER1\Reports', '\\NEWSERVER\Reports\')
WHERE Dept = 'HR'
December 4, 2008 at 10:17 pm
mtassin (12/4/2008)
December 4, 2008 at 9:46 pm
I think that what you may really need here is something called a dynamic dimensional model or dynamically updated cube. However, the details and statistics are really important...
December 4, 2008 at 9:32 pm
Andrew.Buis (12/4/2008)
WHERE DATEPART(m, [Recd Date]) 6 AND @month <=...
December 4, 2008 at 8:52 pm
The structure of the where clause appears very inefficient to me. It looks like it is doing 16 table scans when it could get away with only 3.
I you...
December 4, 2008 at 6:44 am
What I am wondering is if your Service process is stalling the output from its SQL Session. That could cause it to act like this.
December 4, 2008 at 6:39 am
Please (please!) report back on this. I think that this would be the coolest thing ever if you get it working. 🙂
December 4, 2008 at 6:36 am
Grant Fritchey (12/4/2008)
December 4, 2008 at 6:32 am
Chris Morris (12/4/2008)
Always print the dynamic statement before attempting to execute it,...
December 4, 2008 at 6:23 am
Here's something to get you started:
DROP TRIGGER [dbtrDuplicateProcs] ON DATABASE
go
CREATE TRIGGER [dbtrDuplicateProcs]
ON DATABASE
FOR CREATE_PROCEDURE, ALTER_PROCEDURE, DROP_PROCEDURE
AS
SET NOCOUNT ON
Declare @Type as NVarchar(32)
, @cmd...
December 3, 2008 at 10:36 pm
thusi (12/3/2008)
December 3, 2008 at 7:56 pm
Viewing 15 posts - 4,531 through 4,545 (of 7,636 total)