Viewing 15 posts - 4,636 through 4,650 (of 59,089 total)
I Have created table along with trigger but the problem is its logging all system events. I want only the users accounts who are logging into the database (DataMap)
Step...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 11:19 pm
I would not move a comments column to its own table. That requires two tables and the comments table is going to frag like crazy just as it would if...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 8:45 pm
Here's another one, by Jack Worthen. It's a bit more to the point.
Here's a "leader" article on the subject from MS.
I'm finding all of this via Google. You...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 5:18 am
Here's a link about things that you can to do with login triggers and the like. One of the things is to audit logins.
https://www.sqlshack.com/an-overview-of-logon-triggers-in-sql-server/
Note that if you're doing this...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 5:08 am
I have this task to find all SPs, FNs, and VWs where particular string occurs in definition of the object. In 300 databases in a huge server.
How do you...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 4:56 am
Unless this is a prelude to SPAM, your post is a bit contradictory. You say you read a job description and also say that that it matches your abilities and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2021 at 12:10 am
Thanks for the feedback, Dave.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2021 at 11:54 pm
Just as an update, please see the following presentation where I destroy the myth of Random GUID Fragmentation and pretty much waste what people have been using as supposed "Best...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2021 at 2:24 am
At $7K per core for such a license and the number of cores you have, you should spend a relatively tiny bit more and get yourself up to 512GB of...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2021 at 8:26 pm
Spot on, Grant. Especially with only 12GB of RAM available.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2021 at 8:16 pm
Ah... didn't see Mike post while I was typing. I also meant to say that once you're sure the code it produces is correct, change the PRINT @sql to EXEC...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2021 at 8:10 pm
As Grant suggests, the use of Dynamic SQL would be the ticket here. Use a pattern search (LIKE) on the names of stored procedures in the sys.procedures system view to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2021 at 8:08 pm
You should write a short article on the NULL/Empty String collision problem you pointed out to me. It's a great catch.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2021 at 2:18 am
Just in case anyone is interested in this script, the latest upgrade to the software on this site broke the link in the first post and it will take you...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2021 at 10:47 pm
I have a table which is partitioned (Total 10). The table is 1.6 TB in size. Rebuild index on that is quite challenging, especially we have some resource constraints....
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2021 at 10:30 pm
Viewing 15 posts - 4,636 through 4,650 (of 59,089 total)