Re: order of columns

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 10/05/04


Date: Tue, 5 Oct 2004 19:24:50 +0200

If you are sysadmin, you will be able to set an option that will allow you to perform direct
modifications of the data in the system table. The modifications suggested will trash your data.

It's like seeing a suggestion for a Windows system where they suggest you delete half of your
registry entries, or delete half of the files in your Windows directory.

-- 
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Bonj" <Bonj@discussions.microsoft.com> wrote in message 
news:4C9898CE-46D8-4A09-804E-DB7DDA5CEC04@microsoft.com...
> OK, so it's an absolute load of b*&&@%£s that it works at all then, even with
> sysadmin?
>
>
> "Tibor Karaszi" wrote:
>
>> > DON'T USE THIS!!!!!!
>>
>> I absolutely agree. I sometimes use this technique when I *on purpose* want to corrupt/trash a
>> database!
>>
>> Bonj, If you understand how SQL Server physically represent the data at the row-level, you will
>> understand why this will corrupt the data.
>>
>> The article should be removed from that web-site.
>>
>> -- 
>> Tibor Karaszi, SQL Server MVP
>> http://www.karaszi.com/sqlserver/default.asp
>> http://www.solidqualitylearning.com/
>>
>>
>> "Hugo Kornelis" <hugo@pe_NO_rFact.in_SPAM_fo> wrote in message
>> news:9pv4m01fmeafeabl45i67sr5a0doe1jmdt@4ax.com...
>> > On Tue, 5 Oct 2004 10:20:01 +0200, Patrick Akerblom wrote:
>> >
>> >>Found this (use with care - updating system tables) at SQLServerCentral.com:
>> >
>> > DON'T USE THIS!!!!!!
>> >
>> > Sorry for yelling, but I felt an urgent warning was called for.
>> >
>> > Try changing the beginnen of the script to this:
>> >
>> > -- Create a table
>> > CREATE TABLE tblRichTest1(
>> > Column1 VARCHAR(100),
>> > Column2 VARCHAR(100)
>> > )
>> > GO
>> > -- Enter some data
>> > INSERT tblRichTest1 VALUES ('Column1 row 1', 'Column2 row 1')
>> > GO
>> >
>> > -- Add a column
>> > ALTER TABLE tblRichTest1
>> > ADD RichTestID INT
>> > GO
>> >
>> >
>> > Afte running the script, a SELECT * FROM tblRichTest1 yields (on my
>> > system, character fields trimmed for posting):
>> >
>> > RichTestID  Column1        Column2
>> > ----------- -------------  -------------
>> > 33554434    Column1 row 1  NULL
>> >
>> >
>> > Best, Hugo
>> > -- 
>> >
>> > (Remove _NO_ and _SPAM_ to get my e-mail address)
>>
>>
>> 


Relevant Pages

  • Re: sa password
    ... Login as someone else who is sysadmin and use sp_password to se the password for your sa to ... Tibor Karaszi, SQL Server MVP ...
    (microsoft.public.sqlserver.programming)
  • Re: I have now probably done a very silly thing
    ... I already knew what I was searching for which is 99% of the problem. ... the document that you passed in the mail and now I have granted the the relevant user back to the sysadmin server role. ... The 'best practice' is that SQL Server runs under domain account and not as Local Admin, but I am seeing lot of business that do the oppoiste:-) ...
    (microsoft.public.sqlserver.programming)
  • Re: What should be my reply?
    ... Tibor Karaszi, SQL Server MVP ... "Chip" wrote in message ... >>find the recommendations to delete the tlog file. ... >>Tibor Karaszi, SQL Server MVP ...
    (microsoft.public.sqlserver.server)
  • Re: When an update occurs, what happens to the indexes
    ... Microsoft SQL Server Storage Engine ... UPDATE which in SET changes 5 ... place in the index tree. ... >> Tibor Karaszi, SQL Server MVP ...
    (microsoft.public.sqlserver.server)
  • Re: Indexes
    ... because we have a clustered index but I was expecting ... Only one row fit per page, so SQL Server ... You have 100000 rows in the table and 1000 rows fit per index page. ... >> Tibor Karaszi, SQL Server MVP ...
    (microsoft.public.sqlserver.server)