Viewing 15 posts - 2,101 through 2,115 (of 3,957 total)
Gazareth (1/23/2013)
dwain.c (1/22/2013)
So I went back and modified the code to show...
January 23, 2013 at 4:38 am
vinu512 (1/23/2013)
Declare @string Varchar(max), @sql...
January 23, 2013 at 3:32 am
Don't get me started! :w00t:
I do however wish to hear the further discussion. 😛
January 22, 2013 at 11:28 pm
m.rajesh.uk (1/22/2013)
January 22, 2013 at 11:20 pm
Upon reflection, I realized that capturing the UserID that deleted the record is not possible in the TRIGGER itself.
So I went back and modified the code to show you how...
January 22, 2013 at 11:03 pm
MDJ - That wasn't exactly what I had in mind. More like this (ignoring the error handling in yours which I recommend anyway to be safe):
CREATE TABLE Main
...
January 22, 2013 at 10:13 pm
MyDoggieJessie (1/22/2013)
Beat to the punch on this one 😀Dwain has made some very valid points!
@Dwain, are you referring to CDC (Change Data Capture)?
Yeah! CDC is it.
January 22, 2013 at 9:50 pm
Maybe there's a middlin' easy alternative:
DECLARE @xmlData XML ='<MatchKeys>
<fuzzyKeys>
<key key1="MatchKey_PostOut" key2="MatchKey_Name1" />
<key key1="MatchKey_Name1" key2="MatchKey_PhoneticStreet"...
January 22, 2013 at 9:30 pm
Hi Wendy!
I'll give you a general answer and if you'd like a more specific one post DDL for the main table and I (or someone else) will see what we...
January 22, 2013 at 9:19 pm
DataAnalyst011 (1/17/2013)
Year Median Max Min LowerQ UpperQ
2010 ...
January 22, 2013 at 6:00 pm
Ooops, sorry. Almost forgot. I did have to make a couple of minor changes to my original NestedReplace FUNCTION so here's that code also:
CREATE FUNCTION [dbo].[NestedReplace]
(
-- Add...
January 22, 2013 at 5:57 pm
Gentlemen,
Allow me to enter a new dog in this race! Perhaps you'll find the new approach amusing. I call it the Nested Replace by Quirky Update (NRxQU for...
January 22, 2013 at 5:49 pm
Last night while tossing and turning and getting virtually no sleep I thought of a new approach to this problem, which I will try to code up and post soonest.
It...
January 22, 2013 at 3:15 pm
Uh, just asking here but wouldn't it make sense to vary the strings and the replacements?
Or did I miss something?
January 22, 2013 at 6:21 am
I might actually have a chance to get on this horse and ride it in the next few days.
Thanks for the heads up on this thing Steve!
I'll let y'all know...
January 22, 2013 at 4:23 am
Viewing 15 posts - 2,101 through 2,115 (of 3,957 total)