Handling database connections more easily
Introduction Please remember to vote on this article. In this article, I am going to bring together several pieces of code to help handle database connections transparently. I will be …
Introduction Please remember to vote on this article. In this article, I am going to bring together several pieces of code to help handle database connections transparently. I will be …
Introduction I have looked around a lot and decided that the majority of “standards” for databases don’t make sense, so I thought I would document mine. Background Looking around at …
This would work too 🙂 As an explanation, I use datediff to get the number of days, divide that by the correct number of days in a year (keeping track …
One thing that annoys me is huge companies that ignore time issues. Several of my clients have had huge networks across multiple timezones, and they wondered why logging times in …
Introduction In my article on loading any object from any database, I made a rather large list of shortcomings of that code. In this article, I am going to fix …
Introduction It seems like everyone is now writing Object Relational Mappers, some good, some not so good. Opinions aside, (N)Hibernate is probably the most famous; however, sometimes it’s more than …
Introduction I am tired of seeing people writing their own data access layers and wrappers to enable “simplified” code. The thing is, they rarely actually simplify code. Instead, I see …
Download object and data creation script for example database – 1.9 KB Introduction Microsoft SQL Server provides a really nice feature called indexed views. From a database designer’s point of …
Download source and project demo – 20.7 KB Introduction It’s unbelievable to me that I am still running into websites that store passwords themselves, and you see rules like “password …
Introduction The .NET data providers offer a lot of information about the database, so I want to show some neat tricks and share a little code. Background I see a …