Viewing 15 posts - 3,721 through 3,735 (of 59,087 total)
I like that chart Jeff, I might add it to my favourite argument I trot out every time I am faced with a short password requirement that forces numbers,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2022 at 4:10 pm
Grant is spot on but I'll add an "old dude's" take on it...
Which ever turns out to be the best "architecture" for your data, none of it will matter for...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2022 at 4:01 pm
It's amazing to me how much incorrect information there is posted in posts containing a list of interview questions.
My recommendation to people using such lists is to only look at...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2022 at 3:51 pm
Hi All,
(see attached waits) I have a very slow sql server, it seemed to happen over night and queries are still slow. index rebuild/reorg and statistics have been updated....
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2022 at 3:34 pm
It's looking great right now, sample attached with redactions.
I kept cteCalendar as you designed it, and changed ctePreCrossTab to use my attendance table.
It correctly merges the data correctly, one...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2022 at 3:11 pm
As to putting FKs on an audit table... don't EVER do that. There's not reason to because the rows have already survived the INSERTs and UPDATEs for FKs and...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2022 at 9:06 pm
3) I created a quick table in SSRS and sure enough, it does depict a calendar style matrix with the month dates and the value in ##Attendance (screen snip...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2022 at 5:25 pm
A default value doesn't do an update once the entry is populated by a default and it needs to change with every action.
The trigger "prevents" (assuming...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2022 at 4:52 pm
Most people won't even try it because it uses xp_CmdShell but if you use it to call SQLCmd to do the same thing and capture the output of the xp_CmdShell,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2022 at 5:48 am
As a bit of a sidebar, the "poor man's" method of auditing that includes a variable width NVARCHAR or VARCHAR column to store the name of the person or thing...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2022 at 2:24 am
I correct the code in the INSERTED section of the trigger. Changed to...
, TrnxUserId = i.CrtBy
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2022 at 2:11 am
Hi Jeff Moden,
Your Trigger looks working (Insert & Update). But Delete, I need TrnxUserId same like CrtBy and UpdBy. Not User in SQL Server
To do that, you'd first have...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2022 at 1:55 am
p.s. That looks like a shedload of code. It actually isn't. The forum software nearly double-spaces code. 🙁 🙁 🙁
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2022 at 1:24 am
Ok... I don't even know how to spell SSRS. The following creates a test table for others to play with and I use it to create an output that SSRS...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2022 at 1:12 am
I found the following chart a few days ago. It's based on "unlimited" attempts instead of a "3 strikes and you're out" methodology.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 27, 2022 at 6:52 pm
Viewing 15 posts - 3,721 through 3,735 (of 59,087 total)