Forum Replies Created

Viewing 15 posts - 39,976 through 39,990 (of 49,552 total)

  • RE: just

    Not using T-SQL. To do that you'd need to use xp_cmdshell and issue OS commands

    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: dbcc checkcatalog

    Most likely someone's been directly updating the system tables after configuring the server to allow updates to them. This is the usual kind of mess that results from someone doing...

    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: dbcc checkcatalog

    Please post SQL 2000-related questions in the SQL 2000 forums in the future. If you post in the 2005 forums, you're very likely to get 2005-specific solutions.

    What's the results from...

    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: .mdf and .ldf gets deleted

    randhirdadwal (4/3/2009)


    .mdf and .ldf gets deleted. Services were stopped and .mdf and .ldf gets deleted.

    Any idea who did that? There should be entries in the application event log and they...

    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: Can we have a primary key on one column and clustered index on other column of the same table?

    You can also create the primary key as a nonclustered index and then create the cluster elsewhere.

    ALTER TABLE .. ADD CONSTRAINT ... PRIMARY KEY NONCLUSTERED

    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: dbcc checkcatalog

    Is this still a SQL 2000 server or has it been upgraded to a SQL 2005 server?

    It's an important question that needs an answer. The methods of fixing are very...

    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: Can we take a transaction log backup in simple recovery model?

    randhirdadwal (4/3/2009)


    I have tried doing that and I was able to take a transactional log backup only using the option with with truncate only.

    Backup log with truncate only means truncate...

    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: Timed Triggers.. Possible ???

    Interview question?

    Triggers fire when a change happens to a table. That's it. If you want scheduling, try SQL Agent.

    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: Performance of user defined functions

    Torres (4/3/2009)


    I assumed this was a common option with most udfs. Or not?

    Well, there's two different types of table valued udf, and they follow completely different rules.

    The inline table valued...

    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: need help with consistent database corruption

    Paul Randal (4/3/2009)


    Gail (and others) - once a database is upgraded and checksums are enabled, torn-page protection is still in place until a page is subsequently changed

    I'm just surprised that...

    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: Next Step after 70-431

    You're looking for the MCITP certifications. There are two, one for dev, one for admin

    http://www.microsoft.com/learning/mcp/certifications.mspx

    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: need help with consistent database corruption

    rubes (4/3/2009)


    Thanks for the input Gail. Checksums are enabled and have been for quite a while.

    Odd, because there's references to torn pages. It means that not all 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: Performance of user defined functions

    Torres (4/3/2009)


    The udf is a Table-valued Function, returning a dataset.

    Multistatement or inline?

    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: Performance of user defined functions

    Torres (4/3/2009)


    Hello.

    When joining a table with a udf, does the Server process the udf query independently, or does it consider the joins and any where conditions?

    Depends. If it's a multi-statement...

    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, my database is corrupt. Now what?

    Paul TriVegg (4/3/2009)


    Wow, this is an exceptional article. Well-thought out, well-researched. It is definitely the most useful article I've read this year, and possibly will be the best...

    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 - 39,976 through 39,990 (of 49,552 total)