Home Forums SQL Server 2005 T-SQL (SS2K5) Is it safe to use "update syscolumns set colstat" RE: Is it safe to use "update syscolumns set colstat"

  • Aspet Golestanian Namagerdi (12/29/2008)


    Is it safe to work with system tables and fallowing TSQL:

    If your goal is to corrupt your database and cause downtime and loss of data, sure.

    It is never safe to fiddle with the system tables, on any version. If you're not really careful and know exactly what you;re doing, you can cause major problems, and that's in SQL 2000.

    In 2005 the system tables are hidden and aren't even readable. syscolumns is a view, and is only there for backward compatibility with SQL 2000. The actual table is syscolpars.

    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