Forum Replies Created

Viewing 15 posts - 37,981 through 37,995 (of 49,552 total)

  • RE: Recovery Models: Going from Simple to Full Recovery

    Please read through this - Managing Transaction Logs[/url]

    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 Consistency Error

    ps (7/1/2009)


    Do you suggest we run dbcc checkdb every week so that such issues are recorded in the error log?

    Yes, absolutely, and someone needs to review the results...

    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: sp_MSForeachdb to exclude master DB. doesnt seem to work

    EXEC master..sp_MSForeachdb '

    USE [?]

    IF DB_ID() > 4

    BEGIN

    SELECT ''?''

    ALTER DATABASE ? COLLATE XXXX

    END'

    Be careful if there's replication, as that will still affect the distribution...

    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 Consistency Error

    ps (7/1/2009)


    I also told them to notify such issues to the database team (for servers hosting databases) asap so that we can restore the db from a clean backup(if need...

    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: Store an exec(@query) in variable

    Untested, but should do as you want.

    CREATE PROCEDURE [dbo].[GetOverallStatus] @statusid int, @Rows int OUTPUT

    AS

    DECLARE

    @tablename varchar(200),

    @query nvarchar(1000)

    BEGIN

    SET NOCOUNT ON;

    SELECT @tablename = Tablename FROM dbo.Status...

    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: Intellisense for sql 2005 is needed

    WayneS (7/1/2009)


    Which brings up some questions:

    1. What difference does it make what version a server is on for Intellisense to work?

    Valid T-SQL constructs. Should intellisense show that DATE is 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: SQL Server Next ?

    Steve Jones - Editor (7/1/2009)


    I think we'll be more database centric, and less instance centric in terms of how we deploy and manage the th databases. Beyond that, I'm not...

    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 Consistency Error

    The damage was in the cluster. It could be that you got lucky and it was an empty page that hadn't yet been dropped from the index.

    p.s. you need 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: Full recovery model

    Edit: redundant

    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: Full recovery model

    That's an awfully small autogrow amount for a 4GB data file

    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: Store an exec(@query) in variable

    agh100 (7/1/2009)


    But I am sure you know what it is I want.. Is this somehow possible?

    I don't quite know what you want. Could you explain more.

    Do you want single values...

    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: Any vacancy for SQL Server DBA/Developer ?.

    San (7/1/2009)


    And of course there is section "SQL Jobs" in this site. Hope you have noted it

    And a 'resumes and job hunters' forum that this should have been posted in....

    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: Intellisense for sql 2005 is needed

    The only way I know is buying something like SQLPrompt (Redgate). There's no built-in intellisense in SQL 2005 and the intellisense built into SQL 2008 only works when connected 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: SQL Server Next ?

    Right where it is now.

    Not everyone's going to rush to cloud computing and not all databases are even suitable for putting in the cloud.

    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 Consistency Error

    ps (7/1/2009)


    Am still wondering why we didnt lost any data from one of the damaged pages that belonged to the other table.

    Without seeing the output of checkDB for that 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

Viewing 15 posts - 37,981 through 37,995 (of 49,552 total)