Forum Replies Created

Viewing 15 posts - 2,746 through 2,760 (of 3,232 total)

  • RE: join two tables

    I don't think that I am 100% clear on what you are after here, but here's what I have so-far.  The below table defs include the data from your post...

    John Rowan

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

  • RE: Need AWE setup advice

    Max Server Memory is an instace level setting.  You could accomplish what you want by installing a second instance of SQL Server.  Run the production database on one instance and...

    John Rowan

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

  • RE: Updating data in a table

    What Sergiy has given you will work for the same table.  Just replace the work Table in the query (for both T1 and T2) with the same table name.  This...

    John Rowan

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

  • RE: Adding Windows Group as DBO in sql server

    Although it is not explicitly stated in BOL, I don't think you can change the owner to a Windows group. 

    John Rowan

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

  • RE: Adding Windows Group as DBO in sql server

    What do you mean by 'it doesn't work'?  You say that you've tried to map the Windows group to DBO, what did you do to attempt the setup?

    John Rowan

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

  • RE: Update based on columns returned in select statement

    You don't have to account for it, the JOIN takes care of that.  Since you are joining on MF_ID = (list of ID's) the only way you would have a...

    John Rowan

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

  • RE: Update based on columns returned in select statement

    You can do this all in one stored procedure without having to do the first select.  Use a JOIN with a derived table so you don't have to do a...

    John Rowan

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

  • RE: Problem setting up a new server with isnulls and case statements with blobs

    That's great as I was stumped.  Anyway, I just wanted to point out an additional method for what you are doing.  Check out COALESCE in BOL.  It is easier to...

    John Rowan

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

  • RE: sp_password from within a stored proc

    They are not checking the success/failure of sp_password before clearing out the password_change row.  Sp_password has a number of validations that it runs before it changes the password.  I would...

    John Rowan

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

  • RE: Problem setting up a new server with isnulls and case statements with blobs

    How did you migrate the data to your new box?  It sounds to me like the nText columns for HTML and Textual in your Custom table are not truely NULL. ...

    John Rowan

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

  • RE: raise error errors

    You are using %s for your @spid1 which is an integer.  Try using @d instead.

    raiserror  

       ('The  user with login :%S , running the program : %s has been blocked...

    John Rowan

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

  • RE: SQL Memory ! What is the best setting ?

    What exactly do you mean by 'can't restart the box'?  The /3GB switch should be added into the boot.ini file, not as a SQL Server startup parameter.  Adding it in...

    John Rowan

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

  • RE: The Support Joke

    Thanks for brightening my day Andrew.  The Chronicles of George is the funniest thing I've ever read, although I wish you had warned me that I would spend soo much...

    John Rowan

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

  • RE: lock a subset of a table from update or insert

    Both Vladan and Tim have good suggeestions.  The reason I asked my first question is because I had a couple of solutions in mind.  One being the temp-table solution that...

    John Rowan

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

  • RE: Auditing

    The only real way to audit deletes would be to set up an audit table and use the DELETE trigger to populate it based off of the sysprocesses data.  You...

    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,746 through 2,760 (of 3,232 total)