Viewing 14 posts - 1 through 15 (of 15 total)
You could decompose it another level and populate the @updated table yourself...
But I agree, better to step back and identify the best way to do what you need to do...
Bill Wunder
August 1, 2011 at 7:53 am
Wonder the UPDATE does not fail too?
At any rate, nothing to do with Upsert or MERGE but yet another partitioned view issue.
Perhaps all you need to do is take that...
Bill Wunder
August 1, 2011 at 6:48 am
Maybe something like this?
DECLARE @rowcount INT;
BEGIN TRANSACTION
UPDATE TARGET
SET TARGET.Value = SOURCE.Value
, TARGET.Attribute = SOURCE.Attribute
FROM @IncomingLogData SOURCE
JOIN dbo.LogData TARGET
ON SOURCE.LogID = TARGET.LogID
AND SOURCE.Timestamp b= TARGET.Timestamp;
SET @Rowcount = @@ROWCOUNT;
INSERT...
Bill Wunder
July 30, 2011 at 7:33 am
I use CLR to create a node type that models the SMO object model hierarchy. My application has been in use since before the vendor supplied assembly with the hierarchyid,...
Bill Wunder
December 11, 2009 at 10:58 am
I believe the guidance is to store the key export and the password in different locations and to store both on site and off site.
How about storing the...
Bill Wunder
April 28, 2009 at 11:20 pm
To be honest, it does not really require SQL Server 2008, only the SQL Server 2008 SMO assemblies. However, if you try to target a SQL Server 2008 from a...
Bill Wunder
February 23, 2009 at 10:24 am
Sorry, Not paid and not my intention to SPAM anyone. I was worried about it being over the line but figured I'd at least make a few people chuckle. My...
Bill Wunder
February 22, 2009 at 10:20 pm
Well, since the topic has completely shifted from documentation of a server to documenting SQL Server you may want to consider SQLClue. (Please pardon the long winded plug, but seems...
Bill Wunder
June 3, 2008 at 8:21 am
Sounds like a good use for the Health and History Tool to me
http://www.microsoft.com/downloads/details.aspx?FamilyID=eedd10d6-75f7-4763-86de-d2347b8b5f89
Has a set of canned reports that will show you, hardware, OS patchs, SQL Instance info. It...
Bill Wunder
May 1, 2008 at 10:07 pm
see BOL keyword "delegation of security account"
btw: if you extend permissions to [NT AUTHORITY\ANONYMOUS LOGON] then ANY domain user will have the permissions granted provided they connect using a linked...
Bill Wunder
April 14, 2003 at 6:55 am
To upgrade the MSDE that installed with Office XP install on my XP Pro machine I used the command line:
Setup.exe /upgradesp SQLRUN BLANKSAPWD=1
and it installed just fine.
Looking at the...
Bill Wunder
February 9, 2003 at 10:43 pm
Pardon for the late post, but this is an interesting thread and I'd like to see it stay alive a little longer.
I've worked with a couple of SANs.
EMC Clarion...
Bill Wunder
November 28, 2002 at 9:18 am
Great article Andy! You make it seem so easy.
One thing I notice with DMO is if there is a
oLinkedServerLogin.LocalLogin = "" user (The Null user you write about) it...
Bill Wunder
September 20, 2002 at 5:17 pm
On my Transactional Replication pair I use a DTS ActiveX (DMO) package that wipes out the existing stored procedures in the target database, then copies all procedures (with permissions) from...
Bill Wunder
September 1, 2002 at 11:34 pm
Viewing 14 posts - 1 through 15 (of 15 total)