Viewing 15 posts - 5,806 through 5,820 (of 15,381 total)
I just hit reply to post almost the exact same code. 😉
If you want to read about how this works or explore a dynamic version of a similar thing you...
January 31, 2014 at 8:58 am
msmvijayakumar (1/31/2014)
Hi for my requirement i have to capture the Changed column Name and the Old Value alone. so to completed my task i used Cusor, Dynamic Quey...
January 31, 2014 at 8:50 am
Alan.B (1/30/2014)
KtmGuy (1/29/2014)
Try executing this query ;UPDATE a
SET
a.Status = CASE WHEN b.action IN(1,3,4,5,6) THEN 'Y' ELSE 'N' END
FROM
TableA a
JOIN
TableB b
ON
a.SID = b.SID
Well done! Just a...
January 31, 2014 at 7:57 am
Ryan George (1/31/2014)
Lempster (1/31/2014)
GilaMonster (1/31/2014)
Ryan George (1/31/2014)
Be a Professional, Man..!!
Good idea. Maybe take your own advice? Would you tell someone that you've never met and that you asked for free...
January 31, 2014 at 7:28 am
damcguire (1/31/2014)
among other things, this is the SQL I most recently tried
Delete from rcd_def_dtl
where rcd_prop_desc like '%''%'
errors returned
Msg 102, Level 15, State...
January 31, 2014 at 7:14 am
Revenant (1/30/2014)
Sean Lange (1/30/2014)
January 30, 2014 at 3:52 pm
Excellent job posting ddl and sample data. I have tried to read the explanation of what you are trying to do and it is just making my head spin. Can...
January 30, 2014 at 3:35 pm
This discussion has moved to a new thread...http://www.sqlservercentral.com/Forums/Topic1536570-391-1.aspx
January 30, 2014 at 3:33 pm
Can somebody help me out? We have a third part vendor helping us code some piece of one of our applications. Not my choice, I would much prefer to keep...
January 30, 2014 at 3:24 pm
Not sure we need to go so far as full table definitions and sample data. I suspect this is far simpler. OP, please post the update/delete statement and we can...
January 30, 2014 at 3:19 pm
damcguire (1/30/2014)
I am still getting the errors... something I'm doing wrong?
Can you post the code you are trying to run?
January 30, 2014 at 3:04 pm
KtmGuy (1/30/2014)
What is LEAD(Date1) ??? 'LEAD' is not a recognized built-in function name.
That is one of the analytical functions introduced in 2012. Since you posted in a 2012 forum it...
January 30, 2014 at 12:15 pm
mbrady5 (1/30/2014)
I am working on a project where I need to retrieve the contents of an MS Access table using SSIS that is on a remote server.
Info.
To access the Access...
January 30, 2014 at 10:40 am
saurav.rukd (1/30/2014)
I want to sell my software. So i have...
January 30, 2014 at 8:02 am
vitex2003 (1/30/2014)
FROM dbo.TestTable
WHERE convert(char(10),EndDate,102) >= cast('01 Oct 2013' as datetime)
AND convert(char(10),StartDate,102) <= cast('01 Nov 2013' as...
January 30, 2014 at 7:59 am
Viewing 15 posts - 5,806 through 5,820 (of 15,381 total)