Viewing 15 posts - 211 through 225 (of 26,487 total)
Is this coming to you in a file?
February 27, 2020 at 5:36 pm
Probably, but even with EOMONTH available I still find myself calculating it since I have been doing that way for so long. You just have to look at my inactive...
February 27, 2020 at 5:28 pm
There is an EOMONTH function to get you the end of the month.
Yes, we do have the EOMONTH function, but it is good to know how to calculate the...
February 27, 2020 at 4:08 pm
I have to admit that I foolishly used the MSDB method (i'm no ssis expert, but i'm the best we have at our company) and hit a...
February 26, 2020 at 3:59 pm
I have to admit that I foolishly used the MSDB method (i'm no ssis expert, but i'm the best we have at our company) and hit a wall of...
February 26, 2020 at 3:44 pm
A guess, you changed the database collation but that would not affect the collation of the character columns created under the old collation. I would start looking there.
February 25, 2020 at 5:49 pm
run a quick dbcc opentran against that database - then figure out what that spid is doing
it might not be as bad as john says. it could be a...
February 21, 2020 at 5:06 pm
I will answer Frederico and Lynn. First, I've checked that output is the same, at least in my test database (not the one that I've uploaded, which has only...
February 19, 2020 at 6:07 pm
Which comes back to your sample database. I haven't had a chance to download it yet, but from the discussion I am wondering if the results from your original code...
February 19, 2020 at 3:32 pm
Hi,
I noticed the author used an ID column of IDENTITY as the PK in every table. This appears to be a best practice based on what i've read...
February 18, 2020 at 10:01 pm
Here is the thing, I would not separate out the ZIP CODE (postal code) or the City from the address. Many businesses make use of third parties to validate customer...
February 18, 2020 at 9:52 pm
Nice article!
My only quibble is your last example, adding a zip code table. The problem is that zip code and city do not have a 1:1 correspondence. It is...
February 18, 2020 at 8:57 pm
Not sure why you are focusing on logical reads. You do realize that those are reads from memory, and depending on how much data you are accessing, that number could...
February 18, 2020 at 7:11 pm
I was trying to keep people from posting on the other threads as well, which is why two of them referenced back to the thread I actually replied on.
February 17, 2020 at 10:21 pm
SELECT ABC, COUNT(ABC) FROM dbo.YourTableNameHere GROUP BY ABC;
February 17, 2020 at 9:05 pm
Viewing 15 posts - 211 through 225 (of 26,487 total)