Forum Replies Created

Viewing 15 posts - 4,696 through 4,710 (of 5,394 total)

  • RE: Are the posted questions getting worse?

    Too much talk about steak: I had to have one for dinner!

    This was my steak last saturday. Still alive.

  • RE: Passing a null parameter

    SSSolice, your suggestion is good, it works, but I suggest that you take a look at the article I linked. You will see that "catch-all queries" or dynamic search conditions...

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (11/20/2009)


    All this talk of steak and I'm ready for a Prime Rib.

    What's a "Prime Rib", Jason?

  • RE: Are the posted questions getting worse?

    Lynn Pettis (11/20/2009)


    Hmmm, sounds like a good vet could get the cow back on its feet... 😉

    :hehe:That's the idea behind!:hehe::hehe:

  • RE: Are the posted questions getting worse?

    Thanks Gus, I would never have thought of milk! I'll try and let you know the results.

    My steak recipe is the shortest ever:

    * volcano hot grill

    * raw steak

    * max...

  • RE: Are the posted questions getting worse?

    GilaMonster (11/20/2009)


    Gianluca Sartori (11/20/2009)


    It's not pork chops, but I think it could be time for the friday recipe. 🙂

    Interested in a 3-hour pork goulash recipe? Or maybe a 6 hour...

  • RE: Are the posted questions getting worse?

    GSquared (11/20/2009)


    In exchange, I taught him a few tricks with steak that he'd never heard of. (There are reasons that I'm 30 pounds overweight, none of which have to...

  • RE: Passing a null parameter

    Alter Proc sp_Test (@a varchar(10), @b varchar(10), @c varchar(10) = NULL)

    as

    Select a, b, c

    From TestTable

    Where a=@a

    and b=@b

    and c=ISNULL(@c,c)

    This works, but it's not efficient.

    Take a look at this article:

    http://www.sommarskog.se/dyn-search-2005.html

    Regards

    Gianluca

  • RE: Are the posted questions getting worse?

    GSquared (11/20/2009)


    I don't drink coffee. If it tasted as good as it smells, I'd drink it. As it is, I can't stand the stuff. (And, yes, I've...

  • RE: Is C# Better?

    Steve Jones - Editor (11/19/2009)


    Gary Istvan Varga (11/19/2009)


    Steve, if you are reading this, how much longer until this thread gets into the Guiness Book of Records?

    It's a good debate, but...

  • RE: Is C# Better?

    Jeff Moden (11/18/2009)


    Gianluca Sartori (11/16/2009)


    rigid languages such as Java simply don't allow crap.

    BWAA-HAA!!!! Someone please tell some of the folks I used to work with that!:-P

    Oh, that's ok...

  • RE: Is C# Better?

    Gary Istvan Varga (11/18/2009)


    Charles Kincaid (11/18/2009)


    Gianluca Sartori (11/17/2009)

    The main point I wanted to raise is that developing good software requires a clever design, not clever code.

    Right again.

    I would prefer...

  • RE: Select global var from another server

    dlongnecker-802303 (11/18/2009)


    Hrm... I using this in a sproc to gather data from other servers, but it doesn't like using a variable as the server name:

    SELECT @version=version FROM OPENQUERY(@SERVER_NAME,'SELECT @@MicrosoftVersion /...

  • RE: Select global var from another server

    dlongnecker-802303 (11/18/2009)


    SELECT Top 1 @@MicrosoftVersion FROM server.master.dbo.any_table

    This select @@MicrosoftVersion from the LOCAL server, not the remote one.

  • RE: Select global var from another server

    Try with OPENQUERY:

    SELECT *

    FROM OPENQUERY(server,'SELECT @@version')

    Hope this helps

    Gianluca

Viewing 15 posts - 4,696 through 4,710 (of 5,394 total)