Quantcast
Channel: PeterKellner.net » SQL Server
Browsing latest articles
Browse All 19 View Live

Image may be NSFW.
Clik here to view.

Tip for Using SQLServer To Count By Alpha Names in a list

  So, this is not a big tip, but worth at least 10 minutes to figure it out on your own.  Here is to saving you 10 minutes:   SELECT LEFT (userlastname, 1) as alpha, count(id)FROM attendeesWHERE id IN...

View Article


Image may be NSFW.
Clik here to view.

When Using EF CodeFirst With Visual Studio, How to Live With Cannot drop...

Problem So, if you have been doing development with Visual Studio 2010, Entity Framework CodeFirst, SqlServer or SqlServerCE for any amount of time, you’ll quickly run into the problem that the...

View Article


Entity Framework CodeFirst Important Tip For SQL Execution Efficiency

  Introduction   I’ve now been using Microsoft’s Entity Framework CodeFirst for a month or two and am very impressed with how easily it is to access data in a type safe way.  I also have noticed that I...

View Article

Gaining Some Control Back From Microsoft’s Entity Framework Code First, Name...

Being a relative newbie to Microsoft’s Entity Framework Code First, there are things that I don’t like, things that I don’t understand, and well, just things that really bug me.  The problem is I often...

View Article

Image may be NSFW.
Clik here to view.

Entity Framework Code First From Microsoft, Best and Worst Practices

  Introduction I’ve been building a fairly sophisticated product that will need to sustain a high transaction rate using the shipping version of Microsoft’s Entity Framework CodeFirst (4.1) which is...

View Article


Image may be NSFW.
Clik here to view.

Using Redgates Sql Compare for Complex Migrations with EF’s CodeFirst

Introduction As many of you know, I’ve been quite the fan of Entity Framework CodeFirst for quite some time.  It does a great job of reducing the number of places I have to change thngs each time I...

View Article

Why I Can Never Leave ORCSWeb as My Web Hosting Company

Some Background and Getting Started Last weekend, a relatively new customer of mine moved their production hosting from a private dedicated server running ASP.NET to ORCSWeb cloud hosting.  They were...

View Article

Image may be NSFW.
Clik here to view.

Using IntelliTrace With Entity Framework In Visual Studio 2012

This is not a big deal, but I have recently bumped into several people that did not know about it so I thought I’d do a blog post just to show what it is and how is just trivial to use for useful...

View Article


Image may be NSFW.
Clik here to view.

Using Redgate’s ANT .net Profile, Nails Memory Problem in 5 Minutes!

I recently added a cool new feature to our Silicon Valley Code Camp web site that lets attendees authenticate their accounts with the meetup OAuth api and then we track the meetups that add us (SVCC)...

View Article


Creating a Compound NULLIF in AVG Function With SqlServer

My use case is I’ve got a session survey column on the Silicon Valley Code Camp session evaluation page.  The results of a question like “How is this course overall” can be 0,1,2,3,4,5 where 0 means...

View Article
Browsing latest articles
Browse All 19 View Live