Forum Replies Created

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

  • RE: Delete without locking?

    All DELETES require locks, but keep in mind that deleting a large group of rows does not always mean that your whole table will be locked.  SQL Server will determine...

  • 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. ...

  • 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

     

  • 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...

  • RE: Subquery question

    It would help if you could post your table DDL.

  • 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...

  • RE: Changing Licensing Mode

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

  • 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...

  • 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...

  • 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...

  • 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...

  • 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...

  • 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.

  • 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...

  • RE: self-join question

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

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