Forum Replies Created

Viewing 15 posts - 26,656 through 26,670 (of 49,552 total)

  • RE: Restore Database in a Network Drive

    Data files need to be on a local drive, not a network drive. The network file protocol does not support the IO requirements that SQL has. In addition, network glitches...

    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 Ignore the records based on their addition

    shishir999_ril (4/18/2011)


    Thanks Dave, I tried but didnot work. Even I tried using Row_Number clause but no luck.

    What did you try?

    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 statement in sqlserver 2005

    The Case looks ok, but NVL is not a SQL function. What does it do?

    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: Which index run first Clustered index or Non_Clustered index

    armurugesh (4/17/2011)


    A table having clustered index (but the column not defined a primary key) and some other columns has non clustered index. The question is

    the sql server executes...

    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: trunc function in sql server

    Is this for display purposes?

    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 message 'Could not find stored procedure 'dbo.IndexOptimize'

    That's what an index rebuild/defrag does.

    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 message 'Could not find stored procedure 'dbo.IndexOptimize'

    Well then, first you need to create the stored procedures listed in that maintenance article.

    Honestly though, defragmenting may not help that much. Depends what's wrong. 90% of cases 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: Data Backup issue

    Whoever 'he' is, he's right. That command is completely invalid syntax.

    As I said, read up on tail-log backups in SQL books online. There's an entire entry on how and when...

    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: Data Backup issue

    If you are in full recovery model and have log backups then, depending on the type of crash, you may be able to take a tail-log backup and recover 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: Error message 'Could not find stored procedure 'dbo.IndexOptimize'

    That's not a standard procedure, not something that is automatically part of a database (and I assume you mean the proc doesn't exist rather than dbo not existing).

    Ok, let'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: Table level backup

    I'd prefer a good backup strategy of the entire database, rather than exports of a single table.

    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 message 'Could not find stored procedure 'dbo.IndexOptimize'

    Parsing doesn't check that the object is there. It just checks that the SQL syntax is fine.

    EXEC dbo.ProcThatDoesNotExist

    Parse that and you get "Command(s) completed successfully."

    So short answer, the procedure does...

    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: Table level backup

    You could call that table-level backup, but it's really just making a copy of the table within the same database. SQL doesn't have the ability to backup tables (using 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: SQL Server 2005 SP3

    Please note: 3 year old thread.

    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: Apostrophe in Stored Proc

    How are you calling this from VB?

    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 - 26,656 through 26,670 (of 49,552 total)