Forum Replies Created

Viewing 15 posts - 40,006 through 40,020 (of 49,552 total)

  • RE: Shrink Database in Sql Server 2005

    bladerunner148 (4/2/2009)


    Hi SSCChampion,

    No one here by that name

    AutoGrowth : By 1MB, unrestricted growth

    That's a stupid autogrow setting for a 4 GB file. Try 100MB. A lot more reasonable

    Could not allocate...

    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: Shrink Database in Sql Server 2005

    bladerunner148 (4/2/2009)


    The reason i have to create 10 indexes is all these fields are used in a web application. The user selects the fields and gets a count of records...

    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 stop automatic date entering in row

    josephptran2002 (4/2/2009)


    How can I locate the default of specific column in the table?

    In the table designer click on the column. At the bottom of the screen is a list 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
  • RE: Are the posted questions getting worse?

    Perhaps Latin would work better here. Or maybe Gaelic. I'm even contemplating trying Adronato.

    http://www.sqlservercentral.com/Forums/Topic688319-146-1.aspx

    Any suggestions on making 'last entries from previous error log' clearer?

    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 gets Restarted when i run the DBCC Check table command

    ebenraja (4/2/2009)


    Then the server got restarted when i ran the check table command for a table and the error log again is as follows

    Again that is the startup messages....

    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 add multiple columns from different tables into one column of new table

    josephptran2002(4/2/2009)


    would you please tell me how to create a table with the sample data in table?

    He already has.

    Florian Reischl (4/2/2009)


    Better way for this:

    CREATE TABLE #BO

    (

    BODDS VARCHAR(10),

    ...

    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: my database now says "in recovery"

    It's because the shutdown was unexpected and sudden. SQL didn't have time (or warning) to cleanly shut the databases down (rollback uncommitted transactions, write dirty pages to disk) before terminating,...

    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 stop automatic date entering in row

    josephptran2002 (4/2/2009)


    How can I stop the date that have been entering automatically in row?

    Remove the default that's on the column.

    In management studio, design the table (object explorer, right click 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: Shrink Database in Sql Server 2005

    Why do you want to shrink? Databases tend to grow as more data gets put in them. It's in their nature.

    Shrinking causes massive fragmentation and will just result in 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: my database now says "in recovery"

    Wait.

    Unless there's a bigger problem, SQL's busy recovering your database. If you check the log you should see entries like this.

    Recovery of database MyDB is 42% complete (phase 2...

    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: Restore Multiple pages

    RESTORE DATABASE database PAGE='1:189, 1:190, 1:191'

    FROM DISK='path'

    GO

    The maximum number of pages that may be restored in a single restore statement is 1000. See the page in Books Online titled "Performing...

    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: update field with with more then 1 result from another query

    kevinwinters (4/2/2009)


    Foreign ground with me - would I actualy start a query with ";with"?

    Yup, you would. It's the syntax for a common table expression (CTE), essentially a temporary view. 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: Are the posted questions getting worse?

    David Burrows (4/2/2009)


    I posted a brief answer on the second just for the hell of it :w00t:

    I await a good flaming now :Whistling:

    Likewise.

    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: Multi Column Sort

    jsanborn (4/1/2009)


    I'm not making judgements or trying to insult anyone's intelligence, but the sample I posted should be self explanatory. It's the people who can look at the example and...

    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: Restore multiple Differential backups

    Anukul (4/2/2009)


    Can you in anyway help me in writing the Sync program or that complex SSIS package?

    I've just finished doing one for a client. It took me an entire week...

    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 - 40,006 through 40,020 (of 49,552 total)