Forum Replies Created

Viewing 15 posts - 48,586 through 48,600 (of 49,552 total)

  • RE: Creating cursor with embedded where clause

    Sure. Please post the entire piece of code, especially what's inside the cursor loop and I'll give it a shot.

    Without knowing what you're doing with the cursor, it's near impossible...

    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: Creating cursor with embedded where clause

    What are you trying to do with the cursor? Post the entire code if possible, there's probably a better way.

    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: DBA Responsibilities.

    I used to code review everything, but I don't have time any longer. The load's spread among a small group who do know well-performing code. However stuff slips through.

    On the...

    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: DBA Responsibilities.

    I've found that our DBA's don't (have to) do much in the area of performance tuning code, only do cursory reviews of code, don't do much when it comes 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: What server am I on?

    SELECT

    @@Servername

    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: Prepping for the 70-443 exam

    Agreed

    I found the short scenarios worse than the long ones. The time available for each scenario is proportional to the number of questions. In the ones with more questions I...

    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: Outer join problem...

    OK, let's give this a try...

    SELECT

    dbo.USERS_LOGIN.UL_CONTACT_SURNAME + ', ' +...

    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: Outer join problem...

    It's possible, but a little tricky. which of the rows that have the full name of Jim smith would you want returned?

    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: Linked server connection error

    We're not using NTLM anywhere.

    The Kerberos patch is my prime suspect too, but why would a kerberos patch cause SQL Native Access Client to no longer be able to retrieve...

    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: Linked server connection error

    Update

    Rolling back the security patches fixed the problem.

    Now, out of four security patches, for  the telephone service, remote desktop, plug and play and kerberos, which could have caused this...

    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 ME!

    Could you post the C# code where you call the proc?

    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 merge 2 resultset?

    PinAnt

    Could you post the structure and data your two original tables and what you want as a result.

    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 in inserting Value

    I assume the FileID is the identity column. Try this for the insert statement.

    insert wms_TrnRecoveryDetails ([User_ID],[FileName], FileModifiedDate,  Filesize, system, Bookid, stageid, Divisionid, wmsid, Activityid, jobcode)

    values (@User_ID, @Filename, @FileModifiedon, @Filesize, @System,...

    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: Run-time error ''''-2147467259(80004005)'''' :SQL Server does not exist or access denied

    Check the server name and check the login name being used.

    That message usually means that the server name specified is not a running sql server or that the login...

    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: Scheduling a DTS package

    Possibly due to security. When you run the package manually, it runs under your credentials. When its scheduled it runs under the service account of SQL Agent.

    It could be connections...

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