Forum Replies Created

Viewing 15 posts - 48,601 through 48,615 (of 49,552 total)

  • RE: SQL 2005 to SQL 2000

    Wouldn't need any scripting.

    Set up snapshot replication from the 2005 machine to a 2000 machine. Snapshot copies the entire database across, structure and data. Then back that 2000 database...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL 2005 to SQL 2000

    Here's a way out idea.

    How about replication to a 2000 server that you control? Then you can take a backup of that and send it off. Even if you just...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL 2005 to SQL 2000

    The underlying structure of the code to create the databases is basically the same.

    The code may be basically the same, but the structure of the database, specifically around the system tables...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL 2005 Sort Order Problem

    What's the server's collation and what's the database's collation?

    You can get these errors wen those two are different and a temp table is used, or a query uses a worktable...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Opening a symmetric key in a stored procedure

    What's the error you get?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Most bizzare issue of all times (Serious Performance Issue)

    What are the specs of the prod and dev servers? how much memory is allocated to SQL on each of them? Is there anything else running on those servers?

    I'd run...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Setting up an endpoint for TSQL

    What are you trying to create an endpoint for?

    According to Books Online, the syntax for a TSQL endpoint is

    CREATE ENDPOINT endPointName [ AUTHORIZATION login ]

    [ STATE = { STARTED | STOPPED...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: trying to update an xml value!!

    I'll dig into schemas, if I get a chance. See if I can figure anything out. XML is not something I've worked much with though.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Deadlock - Killing the correct process ID

    I would advise against automating a kill script. I've been in that situation. Best thing is to resolve the cause of the problem, not to have an automated process to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: how to improve performance of the query with unions

    2) Use of both distinct and union - each require tempdb and sorting --> inefficient.

    the optimiser is smart enough not to do both. In cases I've seen like this there's...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Deadlock - Killing the correct process ID

    If you have a deadlock, SQL's own internal deadlock detector will detect the deadlock, pick a victim and kill that connection. You don't have to do anything.

    Or are you talking...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: trying to update an xml value!!

    When I tried it, with the schema I got no rows, without it your query returned one row.

    Is the xml column bound to a schema?

    -- Test code

    CREATE

    ...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: how to improve performance of the query with unions

    Best this is to run the query in management studio withn the execution plan enabled and look at where the high costs are. That should give you some indication where...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: help needed to optimize query

    Please don't cross-post

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=65&messageid=371682

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: how to improve performance of the query with unions

    You have both union and distinct. With union, distinct is redundent, since union removes duplicates anyway.

    Do the views retrun duplicate data? If not, you can remove the distincts

    Is there any chance of...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 48,601 through 48,615 (of 49,552 total)