Viewing 15 posts - 1 through 15 (of 196 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...
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...
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...
July 24, 2020 at 1:23 pm
I don't see an error message in the text, just whitespace.
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...
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...
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...
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...
October 30, 2019 at 11:56 am
I guess I've yet to encounter a tuning problem that required NOLOCK to handle.
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...
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...
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...
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...
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...
September 24, 2019 at 12:02 pm
Viewing 15 posts - 1 through 15 (of 196 total)