Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3598488
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:14:54+00:00 2026-05-18T20:14:54+00:00

i did a test about DBCC IND and DBCC page . Engine: SQL Server

  • 0

i did a test about DBCC IND and DBCC page .
Engine: SQL Server 2008

Script:

CREATE TABLE dbo.t2
(
ID int,
Col1 varchar(10),
Col2 varchar(20)
);


INSERT INTO dbo.t2 SELECT 1,REPLICATE('a',10),REPLICATE('b',10)


DECLARE @DBID int,@TableID int;
SELECT @DBID=DB_ID(),@TableID=OBJECT_ID('dbo.t2');
DBCC IND(@DBID,@TableID,-1)

–this shows :
1 274 1 278 1307151702 0 1 72057594039107584 In-row data 1

DBCC TRACEON (3604)
--DBCC PAGE (@DBID, 1,22,3)
--then dump the page info
DBCC PAGE(@DBID, 1,274,1)

shows:

DATA:

Slot 0, Offset 0x60, Length 51, DumpStyle BYTE

Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS VERSIONING_INFO
Record Size = 51
Memory Dump @0x000000000F7EA060

0000000000000000: 70000800 01000000 03000002 001b0025 †p…………..%
0000000000000010: 00616161 61616161 61616162 62626262 †.aaaaaaaaaabbbbb
0000000000000020: 62626262 62000000 00000000 00310000 †bbbbb……..1..
0000000000000030: 00000†††††††††††††††††††††††††††††††…

OFFSET TABLE:

Row – Offset
0 (0x0) – 96 (0x60)
i try to explain:

byte one
0x70 01110000

BIT 0: SQL SERVER 2005/2008

BIT 1-3 :PRIMARY DATA

BIT 4 : HAS NULL

BIT 5:HAS VAR

BIT 6:NOT USED

BIT 7: NOT GHOST

Second Byte

0x00 : NOT USED

Thrid Byte

0x0008 :offset 8

the fix length int ,i got value 1

then next byte

0300 : 3 columns

00 : not null

0002 :2 columns

var column endoffset 0x001B (i got value aaa….)

var column end offset 0x0025 (i got value bbbb…)

but ,i don’s know the meaning about last bytes….

please help me ,thks a lot

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T20:14:54+00:00Added an answer on May 18, 2026 at 8:14 pm

    It’s the 14-byte versioning tag [timestamep, pointer into tempdb].

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There was an interesting question in a practice test that I did not understand
How can I test my site in AOL without installing AOL? I did that
I did a simple test to understand how transactions work in .net Sample code
I'm curious about how people test their apps In general. I recently uploaded an
I did some script in python that connects to GMAIL and print a email
So i did read a lot about Azure yesterday as i'm considering my plans
Did you ever have to choose between WISA or LAMP at the beginning of
Did you ever had a bug in your code, you could not resolve? I
Did anyone of you ever find a way of getting the Microsoft Report Viewer
Did you ever use Oracle auditing features on a production db? How did that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.