Viewing 15 posts - 4,801 through 4,815 (of 7,636 total)
What I laid out for you is how to do it.
If the optional parameters handling is a problem, just implement your case function as a two-parameter version that has null-handling...
November 24, 2008 at 8:15 am
Please show us the code from your program, that generates this error.
(Note that this is a programming forum.)
November 24, 2008 at 7:57 am
Jonathan Kehayias (11/22/2008)
After your session, I opted to just stay for whatever followed rather than make the walk back across the convention center.
That was Adam Machanic's session. ...
November 23, 2008 at 9:06 pm
Well you could write something like this, or its equivalent in CLR:
Create function dbo.fnMAX(
@p1 SQL_Variant
, @p2 SQL_Variant = NULL
, @p3 SQL_Variant = NULL
) Returns SQL_Variant
AS
Begin
Declare @val SQL_Variant
Set...
November 23, 2008 at 7:37 pm
Robert klimes (11/20/2008)
November 22, 2008 at 1:54 pm
Matt Miller (11/22/2008)
November 22, 2008 at 1:15 pm
Jonathan Kehayias (11/21/2008)
November 22, 2008 at 7:46 am
Well, I am leaving for PASS '08 right now, and I know that Gail is already there, so I'd recommend reposting this as a new thread, and hope that Jeff...
November 18, 2008 at 9:25 am
Well, let's see:
venkat.saginath (11/17/2008)
If the user complaint you that application is running very slow. As a DBA where do you start your work ???
Usually on my cell phone as I...
November 17, 2008 at 9:40 pm
We would need to know the relationships between these items in order to answer that.
November 17, 2008 at 4:49 pm
What changes did you end up making?
November 17, 2008 at 4:47 pm
Not sure what "can this be used in SQL 2005?" means.
If you are saying that you have a COM component and you want to call it from SQL 2005, then...
November 17, 2008 at 7:24 am
Bob Hovious (11/16/2008)
You shouldn't need "Use Database", if you are building qualified table name strings to include the DB name.
Actually, quite a few (maybe even most) DDL commands and...
November 16, 2008 at 11:46 am
J (11/14/2008)
Is this too weak to even consider ?
It's worse than weak, it makes your app non-functional. You do realize that under this scheme, your users would not be...
November 15, 2008 at 10:27 pm
Marios Philippopoulos (11/13/2008)
November 13, 2008 at 11:44 am
Viewing 15 posts - 4,801 through 4,815 (of 7,636 total)