Viewing 15 posts - 2,131 through 2,145 (of 22,214 total)
Another option might be extended events - you could set up a trace to populate a table.
HTH
100% agreement on Extended Events, but don't try to write directly to a...
January 17, 2020 at 2:45 pm
Why not use Extended Events to capture logins? You see logins start and finish. You can see them fail. All through extended events. This will be faster than a trigger...
January 17, 2020 at 2:36 pm
NOLOCK everywhere <sigh>
This stuff is going to prevent good index & statistics use:
AND c.PatientID = ISNULL(@PatientID,...
January 17, 2020 at 2:34 pm
Not that shocking. To use an IDENTITY column, you need to write data somewhere, whereas the ROW_NUMBER() is just a calculation.
January 17, 2020 at 2:22 pm
Without the complete data set, I'm guessing a little, but try something like this:
SELECT i.item_code,
i.cost_standard,
...
January 17, 2020 at 2:21 pm
"Negativity, tearing down, just generally poor behavior doesn't do anyone any good. Best to always be, as much as possible, uplifting. It does get hard sometimes though, just saying."
I...
January 17, 2020 at 1:54 pm
Yep. You'll have to do that. Or, you could use Extended Events. The connection_accept event has the IP address. Also, the existing_connection event captures all the available information for the...
January 17, 2020 at 1:26 pm
Thanks for the feedback guys.
Jeff, you'd never hire me. And yes, I love that video. Thanks for burning 7 minutes of my morning forcing me to re-watch it. HA!
David, yeah,...
January 17, 2020 at 12:49 pm
It's not a problem in any way. Just trying to be helpful. You'll get a better, more consistent response this way.
January 16, 2020 at 2:57 pm
Memory use within Azure is pretty much the same as within SQL Server. Over time, it's going to go to near 100% allocation, always. It includes the cache, so your...
January 16, 2020 at 2:28 pm
Ah, the joys of old knowledge repeated forever, despite things changing.
Read the docs. System functions can start with @@ and they used to be called global variables. They're not...
January 16, 2020 at 2:24 pm
Would you believe... both.
If you look at an execution plan that is in row mode, not batch mode, it's actually doing all the commands it does, one row at a...
January 16, 2020 at 2:09 pm
Try it with quotes around the table name.
January 16, 2020 at 2:07 pm
January 16, 2020 at 2:05 pm
The host name is dependent on the connection string. If people leave this off, it's why you can't audit for it. You can use HOST_NAME to get this information...
January 16, 2020 at 1:45 pm
Viewing 15 posts - 2,131 through 2,145 (of 22,214 total)