Forum Replies Created

Viewing 15 posts - 616 through 630 (of 771 total)

  • RE: Is there a Bug with the Replace() Function in SQL Server 2005

    Jeffrey Williams (12/17/2008)


    I understand where you are seeing this as a problem. What I was trying to show you is that this is not a problem, but instead your...

    Kindest Regards,

    Just say No to Facebook!
  • RE: Is there a Bug with the Replace() Function in SQL Server 2005

    ALZDBA (12/16/2008)


    it is not a bug,

    it is a limit one must know about.

    If you need more than 8000 bytes, you need an implicit convert to varchar(max).

    ,replace(cast('abcdefghicde' as varchar(max)) ,'cde' ,'xxx')...

    Kindest Regards,

    Just say No to Facebook!
  • RE: Is there a Bug with the Replace() Function in SQL Server 2005

    Jeffrey Williams (12/16/2008)


    I guess I am still not clear on what your issue is. If I use the following:

    Use tempdb;

    If object_id('tempdb..#TestReplace') Is Not Null

    Begin;

    ...

    Kindest Regards,

    Just say No to Facebook!
  • RE: Is there a Bug with the Replace() Function in SQL Server 2005

    BTW I managed a work-a-round which is to use the Left() function to return the X most characters I need. While this works for my scenario it will not...

    Kindest Regards,

    Just say No to Facebook!
  • RE: Is there a Bug with the Replace() Function in SQL Server 2005

    Jeffrey Williams (12/16/2008)


    Jerry - I would convert the column in the query itself. Using the temp table was just a way of showing what database was being defined from...

    Kindest Regards,

    Just say No to Facebook!
  • RE: Looking for Best Method for getting Job Info

    Thanks Jeff, that's what I needed.

    Kindest Regards,

    Just say No to Facebook!
  • RE: How To Avoid Msg 106

    henrik staun poulsen (12/9/2008)


    Hi,

    Yes, that is also a solution, as pointed out on Erlands homepage (see above).

    But to my management that was a more scary solution, so it was postponed....

    Kindest Regards,

    Just say No to Facebook!
  • RE: Any Potential Issues or Problems with Change in Logical File Name

    Thanks to all for replying!

    Kindest Regards,

    Just say No to Facebook!
  • RE: Any Potential Issues or Problems with Change in Logical File Name

    Perry,

    OK then this may sound like a dumb question but after copying the DB (creating a duplicate) when you change the Logcal File Name would you use a different Logical...

    Kindest Regards,

    Just say No to Facebook!
  • RE: Budgeting

    blandry (11/25/2008)


    In my relatively short life, we have ....

    And yet as we blame the CEOs of the three big American car makers for flying to Washington in corporate jets to...

    Kindest Regards,

    Just say No to Facebook!
  • RE: Budgeting

    I know some will disagree, especially those use to budgeting a specific way but it's kind of pointless to justify a specific model for budgeting simply because no one model...

    Kindest Regards,

    Just say No to Facebook!
  • RE: Knowledge sharing

    Steve

    I don't know if this is an option/possible for this website but I did see something on a other site recently that provides the awarding of points when a...

    Kindest Regards,

    Just say No to Facebook!
  • RE: How to Execute T-SQL Upon Server Shutdown

    Lynn Pettis (11/25/2008)


    You haven't answered the other question yet, is it possible to capture the data in these tables when SQL Server restarts?

    Lynn - I was in the process of...

    Kindest Regards,

    Just say No to Facebook!
  • RE: How to Execute T-SQL Upon Server Shutdown

    Lynn Pettis (11/25/2008)


    Didn't say there was a way to capture that info on shut down, it was an analogy to what you are trying to accomplish. Also, I just...

    Kindest Regards,

    Just say No to Facebook!
  • RE: How to Execute T-SQL Upon Server Shutdown

    Lynn Pettis (11/25/2008)


    Based on your earlier posts, I also assume that the records are fairly narrow, would you say under 128 bytes each?

    Definately. This table is as you say...

    Kindest Regards,

    Just say No to Facebook!

Viewing 15 posts - 616 through 630 (of 771 total)