Forum Replies Created

Viewing 15 posts - 2,356 through 2,370 (of 3,232 total)

  • RE: Raise error

    "if table A has null value raise error 'please enter your ID'"

    Wouldn't this be the same as your post from here:

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=354363

    except that you would want to stop the UPSERT...

    John Rowan

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

  • RE: xp_logininfo Return Value

    Wow, sorry about the multi-post.  My PC blinked on me and it posted multiple times as I was still typing. 

    Anyhow, if my above suggestion does not help, please post...

    John Rowan

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

  • RE: xp_logininfo Return Value

    Well, what are you expecting to get back?  For starters, it appears that you have a typo in your @write tally in the line: Select write =@write + 1.  Shouldn't...

    John Rowan

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

  • RE: xp_logininfo Return Value

    Well, what are you expecting to get back?  For starters, it appears that you have a typo in your @write tally in the line: Select write =@write + 1.  Shouldn't...

    John Rowan

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

  • RE: xp_logininfo Return Value

    Well, what are you expecting to get back?  For starters, it appears that you have a typo in your @write tally in the line: Select write =@write + 1.  Shouldn't...

    John Rowan

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

  • RE: xp_logininfo Return Value

    Well, what are you expecting to get back?  For starters, it appears that you have a typo in your @write tally in the line: Select write =@write + 1.  Shouldn't...

    John Rowan

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

  • RE: licensing and sql capacity

    There are a few differenct licensing models to choose from depending on your needs.  SQL Server 2005 licensing info can be found here: http://www.microsoft.com/sql/howtobuy/default.mspx

    As far as your expected growth,...

    John Rowan

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

  • RE: need help in my query

    Your query (as posted) cannot possibly return the error in your post.  This is a very straight forward error and there must be a sub-query...

    John Rowan

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

  • RE: String or binary data would be truncated.

    Make sure your columns in dbo.Database_Logins are big enough to hold the result set from sp_DatabaseLogins.

    John Rowan

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

  • RE: Which process and memory

    SQL Server is designed to grab as much memory as it can and not release it.  If you want to limit how much memory SQL Server can use, set you...

    John Rowan

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

  • RE: UNION query truncates data??

    UNION removes duplicate rows.  Use UNION ALL if you want the duplicates to remain.

    John Rowan

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

  • RE: SQL2000 Fast Query Slow Insert

    'Unless the drive array was being hammered from another server [File or Exchange]; I never checked that.'

    Is this on a SAN?  If so, you want to make sure that your...

    John Rowan

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

  • RE: SQL2000 Fast Query Slow Insert

    Are all inserts slow?  What about updates?  Is your t-log the only thing using the mapped array?  Is it on a SAN?

    John Rowan

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

  • RE: Tricky Join Question

    Are you using SQL Server 2005?  Your post is in the SQL Server 7,2000 T-SQL section....

    Here's the cost w/o the CTE:

    SELECT Cost

    FROM #CostHist ch

        INNER JOIN (

                    SELECT s.SaleID, s.Item,...

    John Rowan

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

  • RE: Wrong index chosen when variable in WHERE clause

    Can you post the full table DDL including the indexes and the execution plans for both queries?

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