Viewing 15 posts - 7,471 through 7,485 (of 59,072 total)
Thanks,got it
If you say so. 😉 Just trying to figure out what your goal is so that we can help someone new at it.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2020 at 12:32 pm
Jeff Moden wrote:Why wouldn't you just disable the login?
Might still need server-level access, for example to create logins or linked servers.
John
If that's true, I wish the OP would state the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2020 at 12:31 pm
Tip for when you 'walk the second range', take the stories.id from your first query (i.e. add it to the result), and then in the second query add a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2020 at 12:29 pm
That is extraordinary... what's more, it accomplishes work, yet I don't assume you realize how to get the toolbar like you have in the image? I might truly want...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2020 at 12:24 pm
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
Viewing 15 posts - 7,471 through 7,485 (of 59,072 total)