Forum Replies Created

Viewing 15 posts - 2,851 through 2,865 (of 3,232 total)

  • RE: Virtual Server

    Pros:  Your server guys will not need to dedicate you a stand alone server.

    Cons: Keep in mind that your Virtual Server will be sharing physical resources with other Virtual Servers. ...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Insert String into another string

    DECLARE @Insert int,

        @EndString int

    SELECT @Insert = CHARINDEX('e',Anystring) FROM Test

    SELECT @EndString = (LEN(Anystring) - @Insert) FROM Test

    UPDATE Test

    SET Anystring = SUBSTRING(Anystring,1,@Insert) + '1234' + SUBSTRING(Anystring,(@Insert + 1),@EndString)

    FROM Test

    SELECT Anystring

    FROM Test

     

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: seperating the ''''group by'''' output.

    Your answer lies in the phrase 'result sets'.  A result set is the dataset returned as the result of a DML statement.  To get multiple result sets, you must run...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Subquery question

    It would help if you could post your table DDL.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Query performance

    As far as performance goes, its hard to say what kind of gain, if any, you will get with this query without knowing more about your database/environment.  But here is...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Changing Licensing Mode

    I could be mistaken, but I think you need to reinstall SQL Server to change license modes. 

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Looping Through Records

    Yes, that is what I am asking.  So, if I'm hearing you correctly, you run this query go SELECT your data into variables and then you call the INSERT stored...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: SQL 2000 Chewing Memory

    Odds are, it is not due to the memory consumption.  Most of that memory, as R2ro said, will be used for buffer cache.  This is where your recent data pages will...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Looping Through Records

    As things stand, your stored procedure is already setup to accept in all of the column values that you need for your INSERT statement.  You've got 2 choices here:

    1.  Whereever...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Looping Through Records

    "I'm not at all familiar with coding looping structures within SQL Server 2000."

    Consider yourself lucky!!  Most people are TOO familiar with looping structures.  Anyway, you say that you need to...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Need to find the number of rows in every table in a DB

    Run this through QA, output to File.  Open the file in QA and run.  Or, output to text and cut/paste into new QA window and run.

    set nocount on

    SELECT 'CREATE TABLE...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: self-join question

    I think I fell asleep at the wheel on this one.  The solution in my previous post has flaws.  Back to the drawing board.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: self-join question

    This appears to be more than just your normal self-join.  In fact, I can not find a way to do this one without use of a temp table.  Maybe some...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: self-join question

    It looks like you have 3 sessions with that specific creative ID.  Am I mistaken?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Update the result of an inner join query

    This syntax should work.  I could not test it as you did not include your table DDL and sample data.  It may need tweaked slightly, but the idea is sound.

    UPDATE...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 2,851 through 2,865 (of 3,232 total)