Forum Replies Created

Viewing 15 posts - 226 through 240 (of 7,164 total)

  • RE: Maximum Identity Value Reached

    Jeff Moden (2/14/2016)


    Orlando Colamatteo (2/14/2016)


    That could also work but will require more downtime. You are somewhat fortunate in this case that the PK is nonclustered.

    Perhaps not so fortunate. If...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Like / Contains

    Check out this article to see if an index on Name may help you get acceptable performance out of LIKE '%phrase%'

    http://www.sqlservercentral.com/articles/SQL+LIKE+SEARCH/108015/%5B/url%5D

    Short summary:

    1. Add an index to your Name column.

    CREATE INDEX...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Maximum Identity Value Reached

    Thanks for posting back. If you think of it would love to hear how things turned out down the line.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: purging old data and outer joins

    Sergiy (2/14/2016)


    Orlando Colamatteo (2/14/2016)


    Sergiy (2/14/2016)


    In this case the best solution would be simply to stop the job.

    What an Agile thing to propose.

    I don't think so.

    "Agile thing" is to quickly bake...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: purging old data and outer joins

    Sergiy (2/14/2016)


    In this case the best solution would be simply to stop the job.

    What an Agile thing to propose.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: purging old data and outer joins

    Jeff Moden (2/14/2016)


    If you absolutely insist on deleting the rows, then learn to use EXCEPT between the Address table and the other tables (starting with the largest of the other...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How to execute SSIS from DMZ?

    When trying to execute the package remotely

    Can you clarify your setup please? Where is the Agent job running and how are you trying to invoke the Package on this remote...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How to run SSIS in DMZ?

    moved here: http://www.sqlservercentral.com/Forums/FindPost1761223.aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Maximum Identity Value Reached

    one final note about FKs, you will need to alter those child-columns as well. i.e. you cannot have a column refer to a parent unless they match data types.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Maximum Identity Value Reached

    by the way, how long did it take you to exhaust the max value if INT? just wondering what the horizon is for exhausting the negative ID values, i.e. is...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Maximum Identity Value Reached

    That could also work but will require more downtime. You are somewhat fortunate in this case that the PK is nonclustered.

    Some other notes, check for and drop any foreign...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: purging old data and outer joins

    Indianrock (2/14/2016)


    Well I certainly hope sql server central.com doesn't lose any of this as it will take a while to go through. 🙂 We do have extensive index...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: purging old data and outer joins

    Here is another query form I worked up that should allow you to better guide the QO into filtering data in table-specific-order rather than giving it a flat WHERE-clause and...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: purging old data and outer joins

    Great analysis Hugo. I am learning by watching your thought process on this one. Thanks.

    Hugo Kornelis (2/14/2016)


    Here are my thougts, based on the query, the execution plan you posted, and...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Restoring a backup file on a remote server

    himanshu.sinha (2/13/2016)


    Thanks for the reply .

    Well since the backup size is 200GB , I am not very comfortable using the UNC path but i will give it a...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 226 through 240 (of 7,164 total)