Forum Replies Created

Viewing 15 posts - 4,801 through 4,815 (of 7,636 total)

  • RE: Can a CLR Function be made similar to Coalesce?

    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...

  • RE: login problem

    Please show us the code from your program, that generates this error.

    (Note that this is a programming forum.)

  • RE: Jonathan Kehayias: SQL Hero!

    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. ...

  • RE: Can a CLR Function be made similar to Coalesce?

    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...

  • RE: user,role, and login namespaces

    Robert klimes (11/20/2008)


    I am trying to script out users,roles, and logins calling SMO from t-sql. I have the sql down but I am having trouble finding the correct smo namespaces...

  • RE: Jonathan Kehayias: SQL Hero!

    Matt Miller (11/22/2008)


    Since we're into contratulating everyone - Barry, I GOT to say - love the new Avi pic! It reminds me of a skit by Eddie Izzard, called...

  • RE: Jonathan Kehayias: SQL Hero!

    Jonathan Kehayias (11/21/2008)


    GilaMonster pointed this post out to me at the end of a session we were sitting it at PASS. Now she is teaching her session called "The...

  • RE: New Disk = Better Performance ?

    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...

  • RE: Any one can send me answers for these

    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...

  • RE: Proper table design

    We would need to know the relationships between these items in order to answer that.

  • RE: New Disk = Better Performance ?

    What changes did you end up making?

  • RE: can i use com with CLRin sql server

    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...

  • RE: I can't execute "use @database" in cursor

    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...

  • RE: SQL Injection Prevention

    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...

  • RE: Does my SQLCLR code contain a memory leak?

    Marios Philippopoulos (11/13/2008)


    I recently created 3 UDFs that handle regular-expression operations in our SQL environment, and just yesterday found out that after a while the system runs out of memory...

Viewing 15 posts - 4,801 through 4,815 (of 7,636 total)