Forum Replies Created

Viewing 15 posts - 3,466 through 3,480 (of 14,953 total)

  • RE: dbcc freeproccache for only 1 stored procedure

    Or execute it with the recompile option.

    exec dbo.MyProc @MyParam=MyValue WITH RECOMPILE;

    Will that do what you need?

  • RE: Difference in ISDATE function's behaviour

    sqlnaive (8/30/2011)


    Both you guys said same thing. My question is the result varying in sql 2005 and 2008.

    select isdate('01/01/2011') or isdate('01-01-2011')

    -- giving 1 in sql server 2008

    select isdate('01/01/2011') or isdate('01-01-2011')

    --...

  • RE: CONCATENATE not working

    The plus symbol works.

    LEFT(LTRIM(MID(prefix,7,4) + phone),20)

    I also noticed you have "TRIM" as a function in there. No such function in current T-SQL. Try "LTRIM" and/or "RTRIM" instead.

  • RE: An Investment in Knowledge

    Does it all boil down to instant vs long-term gratification? Are money and knowledge/skill the same thing?

    Yes to both.

  • RE: CONCATENATE not working

    "Concatenate" is a Denali feature as far as I know. Doesn't exist yet in SQL 2008.

  • RE: Are the posted questions getting worse?

    GilaMonster (8/30/2011)


    GSquared (8/30/2011)


    Actually, in the US, the government does own and run the two biggest companies in that particular arena (Fannie Mae and Freddie Mack).

    Yes, I know. And they buy...

  • RE: Are the posted questions getting worse?

    GilaMonster (8/30/2011)


    Jeff Moden (8/29/2011)


    GilaMonster (8/29/2011)


    Jeff Moden (8/29/2011)


    GilaMonster (8/29/2011)


    mtillman-921105 (8/29/2011)


    But communism is not seriously considered a real option anymore.

    Come down and tell some people in government here that. It would...

  • RE: Difference in ISDATE function's behaviour

    Have you changed the default language of the server instance?

    I checked, and both of the date formats you listed return 1 when I try them in SQL 2008 R2, using...

  • RE: Are the posted questions getting worse?

    mtillman-921105 (8/29/2011)


    GSquared (8/29/2011)


    GilaMonster (8/29/2011)


    WayneS (8/29/2011)


    Just read this: http://ittybiz.com/death-threats-online/. Appalling.

    Unbelievable. What is it, that they feel threatened by someone else's success?

    I read a book about that once, by some guy named...

  • RE: Need help with Cursor!!!

    There are some questions here that need to be answered before much can be done with this.

    First, what is the "Importance" column in TableA? Can you have repeating values...

  • RE: Are the posted questions getting worse?

    GilaMonster (8/29/2011)


    WayneS (8/29/2011)


    Just read this: http://ittybiz.com/death-threats-online/. Appalling.

    Unbelievable. What is it, that they feel threatened by someone else's success?

    I read a book about that once, by some guy named "Marx". ...

  • RE: Are the posted questions getting worse?

    Tom.Thomson (8/29/2011)


    WayneS (8/29/2011)


    Just read this: http://ittybiz.com/death-threats-online/. Appalling.

    Awful.

    Is there nothing that can stop it?

    Maybe whover hosts the evil blog has terms of business that exclude this sort of thing (very...

  • RE: Help on XML read and insert

    Try this:

    DECLARE @x XML

    SET @x =

    '<i18n>

    <language id="en_US" version="1.0" context="US English definitions">

    <entity id="MyCases" type="end_user" context="My cases" translationRequired="true">My cases</entity>

    <entity id="Registration" type="admin_only" translationRequired="false">Registration</entity>

    </language>

    </i18n>';

    --Checking if the specific node row exists in...

  • RE: How do you format your SQL queries, just curious --

    I tend to use brackets where needed. I use table aliases and column aliases where they are needed or where they help to read the query, like if I...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (8/26/2011)


    Need the advice of the Thread.

    Putting together an article on the most common backup errors (apart from not having one) and how to avoid them. I have four...

Viewing 15 posts - 3,466 through 3,480 (of 14,953 total)