Forum Replies Created

Viewing 15 posts - 49,441 through 49,455 (of 59,078 total)

  • RE: Dynamic USE clause

    David Kranes (7/3/2008)


    Yes you are correct. But this works fine.

    DECLARE

    @DBName VARCHAR(100),

    @sql NVARCHAR(4000),

    SELECT @sql = N'use...

  • RE: Parse Text Variable in UDF

    Heh... It's the helmet, Barry... ya gotta remember to plug in the O2 😛 Can't do it all on just coffee, ya know? :w00t:

  • RE: Displaying the fields only once

    New Commer (7/3/2008)


    Hi There!

    i have a query like this,

    Select Distinct Table1.name, Table1.Code, Table2.Place, Table2.Marks From Table1 inner join Table2 on Table1.code = Table2.code

    which results,

    Name1/N1/Nagpur/114

    Name1/N1/Nagpur/154

    Name1/N1/Nagpur/123

    i want it to display as

    Name1/N1/Nagpur/114

    ...

  • RE: Displaying the fields only once

    Vijaya Kadiyala (7/3/2008)


    hi,

    You can't implement this logic in DB side

    I agree that formatting for display should, indeed, be done in the GUI.... BUT, gosh, you really need to be sure...

  • RE: A discrepancy in the amounts being totaled

    Heh... yeaup... we've all been there.

    My problem is that I end up double and triple checking my query, find out that it's spot on, and that someone really did screw...

  • RE: Are Stored Procedures Evil?

    Tim OPry (4/17/2008)


    I did think he made several interesting points and would be interested in what some of you think:

    My personal feeling is that Tony just doesn't like writing stored...

  • RE: Are Stored Procedures Evil?

    Peter Schofield (7/3/2008)


    Stored procedures in SQL Server are the primary way to go for data access & manipulation for performance, security, and modularity.

    That's a great thing to say... but, even...

  • RE: Parse Text Variable in UDF

    rbarryyoung (7/3/2008)


    Here is a post that has as good example of a Split function that works very well. It use varchar(MAX) but you can change them to NVarchar(MAX).

    As for...

  • RE: Non sargable mightmare

    Matt Miller (7/3/2008)


    but still - technically possible....

    Maybe THAT'S where you should use a cursor! 😀

  • RE: An MVP From Way Down South

    GilaMonster (7/3/2008)


    Phil Factor (7/3/2008)


    Gail,

    I'm so pleased you got the recognition. I'm a great fan of your forum entries. I was trying to find my favourite one of all, in which...

  • RE: Handling hirarchy in tables

    ... and we STILL need to know how often the data in the hierarchy will change... 😉

  • RE: Forum Etiquette: How to post data/code on a forum to get the best help

    Yep... that's what I use...

  • RE: Saving Query results as CSV file in SQL Server 2005

    There are several ways and some depend on the condition of the data. The way with the most performance is Bulk Insert... I recommend you take a look at...

  • RE: Deleting batches of rows with TOP

    Jeff Moden (7/3/2008)


    Ted Pin (7/3/2008)


    Oops, I meant "Would a prolific contributor like to write [a guide to writing articles] for [the SQLServerCentral.com community]?"

    Nah... I'd get it wrong... I think I...

  • RE: Deleting batches of rows with TOP

    JJ B (7/3/2008)


    Jeff: You comments about using the wait has me thinking. (Always dangerous.) I understood why one would break up a delete of a lot of...

Viewing 15 posts - 49,441 through 49,455 (of 59,078 total)