Viewing 15 posts - 1,336 through 1,350 (of 2,458 total)
The posted answers should improve for awhile. A few days ago this happened:
My brand new baby girl! My first baby. I took a month off of work and the...
June 29, 2015 at 12:28 pm
sequelgarrett (6/29/2015)
Why is the CASE statement necessary?
I have to go through my notes, I can't remember at the moment and I don't have access to a PC. It had something...
June 29, 2015 at 9:41 am
Great article Chad! I learned something new today.
June 22, 2015 at 10:58 am
Answer removed, bad advice.
I think I got to the bottom of this... Give me a few minutes...
Ok I'm back. Again, DDL would really be helpful. Note the link in...
June 19, 2015 at 4:58 pm
lmarkum (6/19/2015)
DECLARE @SendId INT
SET @SendId = 1
UPDATEEmailTrackingSummary
SETEmailName = tets.EmailName,
SentDate = tets.SentDate,
SendDate = tets.SendDate,
NumberSent = tets.NumberSent,
NumberDelivered = tets.NumberDelivered,
Duplicates = tets.Duplicates,
UniqueClicks = tets.UniqueClicks,
UniqueOpens =...
June 19, 2015 at 4:02 pm
ChrisM@Work (6/18/2015)
June 18, 2015 at 11:19 am
I'm on my phone now, otherwise I'd provide an example....
You could take the last backup and restore it somewhere else (a non-production machine preferably). Then you could create a...
June 18, 2015 at 8:03 am
Another way...
DECLARE @IDList VARCHAR(MAX);
WITH yourtable AS
(
SELECT memberID FROM (VALUES ('001'),('002'),('003')) t(memberID)
)
SELECT @IDList = STUFF ((SELECT ','+memberID FROM yourtable FOR XML PATH('')),1,1,'');
PRINT @IDList;
GO
June 17, 2015 at 8:49 pm
Andrew P (6/17/2015)
June 17, 2015 at 4:20 pm
I agree with Alvin - don't use ambiguous column names like ID and Date. Instead go with Contact_ID and something like Create_Date. Economic Class can be it's own table with...
June 17, 2015 at 4:14 pm
For even better performance I strongly suggest that you consider turning it into an Inline Table Valued Function and use SCHEMABINDING.
There are many issues with scalar udfs including the...
June 17, 2015 at 1:17 pm
Robin35 (6/17/2015)
yeah refreshing the view will solve the issue but when i query the view after adding a column to table, i get the following result.
c1c2total
533RobinNULL
655SteveNULL
Column Total...
June 17, 2015 at 12:55 pm
Great Post Andy.
I have been everything from a DBA at a bank and in the Healthcare industry where there are the tightest controls imaginable and I have worked in...
June 17, 2015 at 12:26 pm
This is a classic "it's not a bug, it's a feature" things...
This is one of those funky MS SQL Server View behaviors. Because the view is not Schema Bound...
June 17, 2015 at 11:39 am
Viewing 15 posts - 1,336 through 1,350 (of 2,458 total)