Progressive Audio Webinar

| 2 Comments | No TrackBacks

I’m giving a webinar on SQL Server Stored Procedures Thursday morning (March 12th) at 1 PM Eastern time. This 70-minute session discusses how to write efficient stored procedures and call them from ADO.NET.

The materials and précis can be downloaded from here… http://www.pbconferences.com/8Y/9W

No TrackBacks

TrackBack URL: http://betav.com/blogadmin/mt-tb.cgi/2362

2 Comments

Hello, I was in the demo today about optimizing stored procs and had a question about the procedure you used for an example. It appeared your proc would filter rows based one or more parms that were passed in. My questions is what was the magic in the where clause that allowed this to only filter by the parms that were populated?

The only "magic" was that I tested each Parameter passed for a NULL value after having set the default value of the Parameter in the SP definition to NULL. This way, if the application does not pass the named parameter its value is assigned to NULL.

hth

Pages

Powered by Movable Type 4.21-en

About this Entry

This page contains a single entry by William Vaughn published on March 11, 2009 8:28 PM.

Connection Reset Key—It’s gone. Did anyone hear why? was the previous entry in this blog.

Back from the Dark Side is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.