Mladen Prajdić Blog

Blog about stuff and things and stuff. Mostly about SQL server and .Net

Entity-Attribute-Value (EAV) model with SQL Server 2005 xml datatype

I've seen this technique a few months ago on a local MS event called NT Conference presented by Slovenian MVP Dejan Sarka. However i haven't seen him blog about it yet (a shame) so after seeing this post by co blogger David Moloney here on SQLTeam blogs in this post about EAV i decided to give this little thing a go by myself. Read more →

SQL Refactor beta is out

I usually don't do these kind of posts but for this i'll make an exception :) This is such an awsome tool for me for one reason only: SQL Formatting Read more →

.Net Application Architecture

I've come accross this these articles which i think are a must read before starting to design any kind of a serious application Designing and building a robust data access layer Managing SQL exceptions in . Read more →

Aptana - The Web IDE

I came across this "little" tool today via Mike Gunderloy's The Daily Grind. Tried it out. LOVE IT. My JavaScript development from now one is only in Aptana IDE. And the coolest first observation you see is an IE and/or Firefox icon near the Javascript function you want to use that tells you if it's compatible with the browser and DOM 1 and/or DOM 2. Read more →

Export Query results to Excel with Column names in T-SQL

In this thread it's shown how to export query results to excel File using OpenRowset. The problem with this is that you have to create an excel file with columns. For me that is simply unacceptable because i had to export any query result to excel and having to make an excel file for each query is simply ridicolous. Read more →

Copy Source As Html (CSAH)

I've come across Tod Hiliton's blog via Jason Haley's Interesting finds and there i found this great little add-in for VS2005. The add-in was created by J.T.Leigh, i've installed it and I must say it works beutifully. Read more →

SqlBlog.com

I came accross this site and i must admit i've become an instant fan :)) It's Roller has the most amazing collection of sql blogs i've found so far. It's created by Peter DeBetta and Adam Machanic as far as i can tell. Read more →

Sorter class v2 - A generic comparer/sorter class

In my previous post i showed how a generic comparer class in .net C# 2.0 can be made with the use of reflection. In my constant search to optimize code and make it better i've stumbled upon this article that explaines how IL code generation can be use in this situation. Read more →