Viewing 15 posts - 9,466 through 9,480 (of 59,099 total)
This guy has asked a half dozen interview questions. I'm not helping him to get a job he's not qualified to do.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 1:47 pm
Are these all interview/homework questions? ethical question, replication, Adjusting T-sql to prevent injection, accidenly dropping production, failover, idol steps to take. Why don't...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 1:44 pm
Another option it to dynamically create the resulting table. Starting from a table with all the items and an empty price column, and loop through all the price lists....
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 1:32 pm
Lordy... all these interview questions you're asking. And the word should be "ideal" and not "idol". 😉
The bottom line should be that NO ONE gets any privs to prod without...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 1:23 pm
Again, this sounds like another interview question. Again, I'll only provide hints because if you're applying for a DBA job, it's YOU that has to learn and simple memorization isn't...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 1:20 pm
This sounds like an interview question... especially since you've asked so many similar questions.
I'll give you some hints, though...
BEGIN TRANSACTION
ABSOLUTE HONESTY
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 1:16 pm
@s-2.bellini
Yes, I appreciate that a lot of people abuse TempDB and thanks for the feedback there. For these type of articles, though, I can't presume that it's safe to sometimes...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 1:13 pm
If you did a shrink-file, you inverted some index and that's the worst form of fragmentation there is. You MUST do index maintenance to any fragmented index immediately after a...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 5:07 am
First of all, you don't want it to be a VARCHAR(MAX). You can't index LOBs.
Second of all, there aren't many SSNs and it wouldn't take much more than a day...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 4:53 am
Hi Grant, Do I really need to have any kind of certificate to apply for an entry level job? And also I graduated high school and have some college...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 4:44 am
Rest in peace, indeed, dear ol' friend. You were definitely one of the good guys and you are sorely missed.

--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 12:56 am
Well, crud... I resurrected an old "Passport" disk and found my old animated "Death Star" explosion of rebar but the new forum apparently doesn't support animated GIFs. Had to "settle"...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 12:42 am
This will do it for you. Details are in the comments.
-- DROP TABLE #MyTable
--===== Put the test data into a table.
-- this...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2019 at 12:02 am
and sorry regarding
What format do you want the sum to be displayed as?
, I was able to figure out how to format the way I...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 17, 2019 at 6:03 pm
I'm working with a database where a column that includes duration in terms of minutes is stored as datetime. The data looks like this. Note the '1899-12-30' info can...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 17, 2019 at 5:09 pm
Viewing 15 posts - 9,466 through 9,480 (of 59,099 total)