Viewing 15 posts - 1,816 through 1,830 (of 7,616 total)
I was coding a solution for this on the other Sql Srv forum where you posted -- and then deleted -- this q.
Here is my answer: the ISNULL(...) stuff is...
March 5, 2021 at 7:24 pm
I think you need to add the file "key" -- to identity the unique file being loaded -- to the data file to distinguish between rows. That doesn't violate data...
March 5, 2021 at 3:34 pm
Yes, this is the exact usage case for a FULL OUTER JOIN:
SELECT
COALESCE(t1.PhoneNbr, t2.PhoneNbr) AS PhoneNbr,
COALESCE(t1.Interval, t2.Interval) AS Interval,
...
March 5, 2021 at 3:12 pm
Yes, the DIFF will. You can do a DIFF any number of days after a FULL and it should work fine. If a lot has changed in the db, the...
March 4, 2021 at 6:46 pm
Agreed overall. I will say, I wouldn't object to providing the user with a view ("table" perhaps to them) that had 600 columns, if that is what they needed. But...
March 4, 2021 at 5:29 pm
If you're directly designing "tables", you don't have a good design process and you are not doing proper normalization. That's because normalization is a logical process, not a physical one.
What...
March 4, 2021 at 4:40 pm
To save space, ENCRYPT the body (and other very long columns). This process is rather slow, but it typically does save a lot of space.
And, using triggers, you...
March 4, 2021 at 4:05 pm
What a mess!
(1) as above
(2) yes; you might consider breaking those links until after you're cleaned this up. Then again, that has its own issues as well. What a mess!
And...
March 4, 2021 at 3:08 pm
To save space, COMPRESS the body (and other very long columns). This process is rather slow, but it typically does save a lot of space.
And, using triggers, you can make...
March 4, 2021 at 2:55 pm
It's more likely a bug in the app. When it gets the result set from the temp table, what does the app do with it?
March 3, 2021 at 7:39 pm
Is it possible to exit the proc without falling thru to the DROP TABLE? What about the start of the proc? If the temp table already exists,...
March 3, 2021 at 5:10 pm
Is it possible to exit the proc without falling thru to the DROP TABLE? What about the start of the proc? If the temp table already exists, does...
March 3, 2021 at 5:08 pm
I can't see how presence of existing TEMP table would cause a problem as
CREATE TABLE #ReportResults (dateStamp dateTime NOT NULL, dataInterval int)
would then fail.
longshot : But ... maybe it...
March 3, 2021 at 4:04 pm
If .Net developers can't figure out how to use a CASE statement, then train them better or get developers who can.
I don't think I'd blame this on...
March 3, 2021 at 3:57 pm
So why did you just re-ask the exact same q?? Via q "Appttime add with duration how to get endtime please".
March 3, 2021 at 3:52 pm
Viewing 15 posts - 1,816 through 1,830 (of 7,616 total)