Forum Replies Created

Viewing 15 posts - 7,396 through 7,410 (of 18,926 total)

  • RE: Upper/lower case text

    GSquared (1/4/2011)


    Just put the column name in there instead of the variable.

    Like this (note that my numbers table is called tally)

    set nocount on;

    declare @Delimiters char(5);

    select @Delimiters = ' -(/&';

    select

    ...

  • RE: Upper/lower case text

    GSquared (1/4/2011)


    Here's a Title Case script I set up that avoids UDF overhead. It assumes you have a Numbers table. You can use the CTE from Jeff's script...

  • RE: DB Reverts to Single-User Mode

    kmaida (1/4/2011)


    I tried running it with the "alter database" in upper/lower, as well as all lower and still nothing.

    Try with something really silly to make sure it actually works on...

  • RE: DB Reverts to Single-User Mode

    I've never had that error. Make sure you are connected as system admin on the server.

    Also I've tried using the default trace to target single_user changes and it seems...

  • RE: DB Reverts to Single-User Mode

    do you have anything in the sql and windows logs pointing to a possible reason?

    Is your server or msdb case sensitive? Maybe you could rerun the query with a...

  • RE: DB Reverts to Single-User Mode

    It works for me and I'm on 2005 too. Make sure you are in the MSDB databse.

  • RE: TRUNCATE in TRANSACTION

    Hugo Kornelis (1/4/2011)


    I replied wrong - I saw the rollback after the truncate, assumed the question intended to test my understanding that a truncate can be rolled back, and then...

  • RE: Forcing a Parallel Plan

    Maybe we're going about this the wrong way.

    The optimizer is build by some of the smartest minds on the planet. So while it's not perfect I hardly feel better...

  • RE: Can any one advice entry level dba admin, dba job chances

    tfifield (12/22/2010)


    All of the advice so far given is excellent. I would like to expand, however, on a point made earlier.

    It is VERY shortsighted of your company to not...

  • RE: Help needed with code

    LutzM (12/22/2010)


    pwalter83,

    please stop reposting the same stuff over and over again.

    You've been asked multiple times to post some additional information and you've been pointed at a link multiple times that...

  • RE: Forcing a Parallel Plan

    Reo (12/22/2010)


    sqlchanakya (12/21/2010)


    ofcourse, if sql server thinks which ever is best, it will choose.

    I do not want to SQL Server to think. I want to force/instruct SQL Server to...

  • RE: How to protect code behind on a report

    Thanks for the link.

    But the more I think about it, it's the same as the report. Any half decent dba will be able to reverse engineer the cubes from...

  • RE: Forcing a Parallel Plan

    sqlchanakya (12/21/2010)


    ofcourse, if sql server thinks which ever is best, it will choose.

    Ya, I'm trying to force maxdop 2 on a semi-complex query and the optimizer is just not...

  • RE: How to protect code behind on a report

    Luke L (12/21/2010)


    Ninja's_RGR'us (12/21/2010)


    No, that's the solution I had to come up with.

    Make an asp .net report project, compile to dll and only deploy the dll.

    As for performance I think...

  • RE: Please help with SQL code

    Plz don't cross-post.

    Plz post answers to this thread :

    http://www.sqlservercentral.com/Forums/Topic1037636-148-1.aspx#bm1037793

Viewing 15 posts - 7,396 through 7,410 (of 18,926 total)