Viewing 15 posts - 7,501 through 7,515 (of 59,098 total)
The correct answer (according to me :D) isn't available in the list of answers. The correct answer would be to do it in T-SQL. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2020 at 12:19 pm
I got this to work, however if the month is 1-9 it sets the date to '01/01/1900' because of the month not having 2 digits.
CASE WHEN ISDATE(left([Due Date],2) +'/'+...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2020 at 7:37 pm
Using an idea similar to Phil's good code, if the date and time notation and the extension will always be the same, you could do this just for a little...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2020 at 7:07 pm
Why wouldn't you just disable the login?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2020 at 6:39 pm
I know. I'm not saying it makes the question or answer incorrect.
I was just providing a possible reason for the explanation's being inaccurate in the way JeremyE pointed out.
That...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2020 at 5:13 pm
I'm not sure why such an omission matters. The title of the question specifically cited "Partitioning Limits in SQL Server 2019" and the link is to the official documentaion.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2020 at 5:07 pm
an interesting point... using that feature to mask missing identity rows for audit … is that not unethical? just asking for opinions
Identity cache doesn't work that way. Identity cache...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2020 at 5:01 pm
Afaik and imo there are no pros only cons. There is no such thing as a "gap" in a primary key because 'unit consistency' is not a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2020 at 4:53 pm
Understood but, unless specifically stated (and I found this out the hard way a long time ago), the QOTD questions are based on the current version of SQL and do...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2020 at 4:42 pm
Doesn't this work only provided that the delimiter is a period?
Yes.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2020 at 4:09 pm
Just to be sure, I appreciate anyone willing to step up and write articles to share their knowledge with other people especially when they come up with such a different...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2020 at 11:05 pm
Grant - just reading your wordpress blog - it strikes me that I'm missing some skills in monitoring SSRS and SSIS using XE... might be a nice...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2020 at 10:37 pm
The President just reported success with the malaria drugs and sited a specific episode where a guy was dying from Covid-19 and had been both written off and had said...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2020 at 10:33 pm
Mmmmm... maybe. I've frequently seen where striped backups and restores actually take longer, just like parallelism can sometimes have adverse effects.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2020 at 4:58 pm
If you're going to make dynamic SQL for the WHERE clause, there's a right way to do it and using EXEC() is NOT the right way. Please see the following...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2020 at 3:53 pm
Viewing 15 posts - 7,501 through 7,515 (of 59,098 total)