Viewing 15 posts - 1 through 15 (of 197 total)
Is the following correct? I think you want a property value other than "IsPrimaryKey" based on the description and the output (in the article).
Alternatively, you can use the system views...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
September 1, 2020 at 3:56 pm
And fairly straightforward to accomplish. All I was after is that it is a common failing that usually manifests itself at the worst possible time. I was also reminded of...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
July 24, 2020 at 2:53 pm
What I haven't seen in this conversation is any control for uniqueness. Certainly one can argue that a monotonically increasing record (not row) counter is unique. It does, however, allow...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
July 24, 2020 at 1:23 pm
And now I do...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
May 7, 2020 at 2:57 pm
I don't see an error message in the text, just whitespace.
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
May 7, 2020 at 2:55 pm
Based on your conclusions about unit testing I'll ask if you've worked with tSQLt as a formal test framework? Without getting into the details of your UDF or stored procedure...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
November 1, 2019 at 11:15 am
Granted, restoring a backup to a live database after a deploy with issues is risky at best and virtually impossible in most cases. Typically we just move forward...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
October 30, 2019 at 3:18 pm
Same here. Our developers have a template script to use as a starting point so some of the details are provided for them. We also have a scratch database on...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
October 30, 2019 at 2:21 pm
The ability for developers to delete data simply is a feature is mismanaged security. It has nothing to do with Dev-Ops.
To @jeff Moden's point, there are absolutely times where live...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
October 30, 2019 at 11:56 am
I guess I've yet to encounter a tuning problem that required NOLOCK to handle.
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
October 28, 2019 at 6:20 pm
Agreed. That is also why having some demonstration of the potential consequences is so valuable. For some applications it is less risky.
The biggest problem is having it peppered throughout a...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
October 28, 2019 at 4:08 pm
I've worked with SQL Server since v4.2.1. I have never put any code containing NOLOCK in production. At my present employer we actively remove WITH (NOLOCK) from code as it...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
October 28, 2019 at 3:49 pm
I am always surprised that the default isolation level for SSIS package objects is Serializable. Granted, it could be useful or even necessary in some cases. Isolation Level settings other...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
October 28, 2019 at 11:45 am
Whether you intended to or not you again illustrated the fallacy in "...and the execution plan showed all index seeks and no scans...". Seek good/scan bad is not a valid...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
October 10, 2019 at 12:37 pm
Thanks for the straight-forward example, Steve. Things like this show that tSQLt testing isn't difficult and helps you avoid deploying bugs in the first place.
We adopted tSQLt for database unit...
------------
Buy the ticket, take the ride. -- Hunter S. Thompson
September 24, 2019 at 12:02 pm
Viewing 15 posts - 1 through 15 (of 197 total)