Quantcast
Channel: PeterKellner.net » SQL Server
Browsing all 19 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

LINQPad is Totally Awesome at Testing and Writing LINQ Queries

http://www.linqpad.net/ – Use with Microsoft .Net for building Query type expressions with LINQ I’m not a wizard at writing LINQ expressions so I often find myself in Google looking for something...

View Article



Image may be NSFW.
Clik here to view.

First Experience with Visual Studio 2008 Database Edition, I love it!!!

As a developer who has spent much of my life doing DBA type work, I really appreciate the simplicity and elegance of what Microsoft Visual Studio Team has put together with the Database Edition and can...

View Article

Image may be NSFW.
Clik here to view.

A Great New Book on Business Intelligence Solutions and Sql Server 2008 by...

I’m sure many of you know Lynn Langit.  Her role at Microsoft has been a Developer Evangelist of many of the business software offerings from Microsoft including Sharepoint and SqlServer and it’s many...

View Article

Load Balancing IIS Web Farm with EC2

  We’ve been looking to find the best Cloud based host to put our soon to be virally growing web site up on.  Our requirements are it must run IIS7 and use Sql Server 2008 as it’s database. We have...

View Article

Bravo for ORCSWeb! On so many fronts

Many of you know of ORCSWeb either by reputation, or by way of Scott Forsyth, one of my ASP.NET MVP brothers.  In case you don’t, they are a managed hosting solutions company specializing in Microsoft...

View Article


Writing A Transact SQL (TSQL) Procedure For SQL Server 2008 To Delete Rows...

In this post, we will show and explain a small TSQL Sql Server 2008 procedure that deletes all rows in a table that are older than some specified date.  That is, say the table has 10,000,000 rows in it...

View Article

Image may be NSFW.
Clik here to view.

SqlAzure and a Best Practices way to deal with the Required Retries on...

Introduction If you’ve started using SqlAzure for your SqlServer with your Azure application, you’ve probably discovered that you get a reasonable number of connection failures.  The advice from the...

View Article

Connecting To SqlServer From Web.Config Without a Password (Trusted Connection)

I often forget that the simplest way (IMHO) to connect to a Microsoft SqlServer 2008 database is to use the web.config connection for making a Trusted connection.  Basically, it keeps you from having...

View Article


Image may be NSFW.
Clik here to view.

My First Experience With SqlServer CE 4.0

I have heard all the hype about how great Sql Server CE 4.0 and that it is now standard with Visual Studio 2010 SP1.     I’ve got a small project (1 table) that I’d like to include in an asp.net...

View Article


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 all 19 articles
Browse latest View live


Latest Images