Forum Replies Created

Viewing 15 posts - 48,916 through 48,930 (of 49,552 total)

  • RE: SQL 2005 (x64) linking to SQL 2000 (x86) problem

    Odd. I've got a very similar setup (Itanium 2005 connecting to x86 SQL 200) with no problems.

    Are you a premier customer with MS? If so, it might be worth contacting...

    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 (x64) linking to SQL 2000 (x86) problem

    ODBC? Since you say the DSN worked. Not ideal, I know, but as a work around....

    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 (x64) linking to SQL 2000 (x86) problem

    Try using the SQL OLE DB driver, instead of the SQL Native Access Client driver. I don't know how well the native client works to SQL 2000.

    Nice to see another...

    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 Dump Exception

    If all else fails, contact Microsoft PSS. They'll be able to read the stack dume and (hopefully) find the cause and a solution.

    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: Sysprocesses

    In 2005 it's better to use the dm views sys.dm_exec_sessions and sys.dm_exec_requests than sysprocesses. They're a lot better documented for starts

    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: Error handling deadlock issue

    Thanks for the suggestion, yes, whenever I checked the queryplan from the QA, the remote query always showed 100% cost.

    That's normal. Remote queries are intensive. what I meant by bad...

    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: Error handling deadlock issue

    Possibly multiple calls to the remote data source, depending on the evecution plan.

    No cardinality estimates available for the query optimiser, hence a large possibility of a bad plan.

    There are probably...

    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 alter Multiple columns in a table

    Only way to do that is to create a new table, copy the data over, drop the old table, rename the new. Then make sure that you replace the constraints...

    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: Non-logged transactions in database-mirroring.

    As Robert said, truncate is logged. It's known as a minimally logged transaction (or at least that's the term I've heard). If it wasn't logged then you wouldn't be able...

    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: Convert my syntax - Oracle SQL to MS SQL Server

    That works, the problem with it is that it prevents any index usage, if you have an index on f1 or f2.

    Reason been it's seen as a function on a...

    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: Non-logged transactions in database-mirroring.

    What specifically are you thinking of when you say 'non-logged transactions'?

    As far as I know, in full recovery mode, all transactions are logged, and datbase mirroring only works in full...

    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: Convert my syntax - Oracle SQL to MS SQL Server

    No bulk update, and I would hazard a guess that it's not the logging that's slowing your proc down.

    Is there any chance of getting someone to add an index? on...

    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: Convert my syntax - Oracle SQL to MS SQL Server

    Absolutely, yes. Cursors are massively inefficient.

    Again this is untested, but I think it should do the same as the cursor. I'd be very interested in how long it runs.

    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: Convert my syntax - Oracle SQL to MS SQL Server

    No merge statement. You'll have to write seperate update and insert statements. Something like this

    Update table2 set f1 = table1.f2*0.1

    FROM table1 where table2.f1=table1.f1 and table1.f1=20

    INSERT Into table2 (f1, f2)

    SELECT f1,...

    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: case with join

    Could you maybe post thr structure of you tables, some sample data and an indication of what you're trying to achieve?

    As Sergiy said, conditional joins is not somethign that should...

    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,916 through 48,930 (of 49,552 total)