Results 1 to 4 of 4

Thread: Size of a row

  1. #1
    Join Date
    Jul 2004
    Posts
    1

    Unanswered: Size of a row

    How can u determine the size of a single row???

  2. #2
    Join Date
    Mar 2004
    Location
    London, UK
    Posts
    71
    i'd imagine one of the system stored procedures could handle that, db_config?

  3. #3
    Join Date
    Jan 2003
    Location
    India
    Posts
    523
    I think you are looking for DATALENGTH()

  4. #4
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    You have to estimate the total length of all fixed-length fields and variable-length fields with an average data length that is expected to be stored in them...+ (plus) 2 characters of overhead. A more accurate calculation technique is on this and subordinate pages:

    http://msdn.microsoft.com/library/de...es_02_92k3.asp
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •