SQL: Sometimes you just have to check the param list

| 0 Comments | 0 TrackBacks

I don't know how many times I've run into errors caused by the fact that I wasn't paying attention to dependencies between SP's that call other SP's.

Got this one because I added a parameter and forgot to check for dependencies. The resulting shift of parameters (calling SPs would be one param short so it's like they were shifted up/left by one) caused this error because the parameter that was next was an XML param:

Operand type clash: int is incompatible with xml

Never know what you're gonna get. :)

No TrackBacks

TrackBack URL: http://www.kennakai.com/blog/mt-tb.cgi/38

Leave a comment

Recent Entries

SQL Management Studio Stored Procedure Template
Here's one that always took me some time to figure out (until I broke down and just ran a search…
Welcome!
Seeing as I was going to be writing up a bunch of tidbits on Web dev (gotta put all this…
Download Image in C#
Another useful snippet:http://www.kennakai.com/kentropolis/prog-downloadimage.html…