Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Size in KB

    I have two NTEXT fields that hold HTML data -- is there a way I could
    display the size of the values in the fields in KB?
    Dave Karmens Guest

  2. Similar Questions and Discussions

    1. display size on-screen differs from actual size.
      With Illustrator 10 installed on Windows XP Pro with a Viewsonic 21" monitor at 16000 X 1200, the problem I am having is: The image I see on-screen,...
    2. How do I resize a document from Poster Size to Letter Size??
      I designed a poster using ID CS (3.01) on a Windows XP platform. It is a single page document measuring 22" X 30", and I now need to print the same...
    3. media size versus crop size
      We accept PDF files for the production of high resolution films from our imagesetter. We normally just drag the files to the appropriate folder on...
    4. CAN I CHANGE SIZE (PIXELS) OF A PROJECTOR TO REDUCE THE FILE SIZE?
      as far as I know you would have to transform bitmap scale all bitmap members to the new size, then readjust their positions to score, and adjust...
    5. Cast Members Size Vs. Total Movie Size
      What ultimately worked for me was to choose "Link to External File" in the media drop-down box within the importing dialog box when importing files....
  3. #2

    Default Re: Size in KB

    Why are they NTEXT? Are you requiring support for foreign alphabets?

    Anyway you might have to divide this by 2 depending on whether you are
    interested in eventual byte count or storage byte count.

    SELECT DATALENGTH(column)/1024.00 FROM tablename

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]




    "Dave Karmens" <spam_just1coder@yahoo.ca> wrote in message
    news:eT6blsx9DHA.3436@tk2msftngp13.phx.gbl...
    > I have two NTEXT fields that hold HTML data -- is there a way I could
    > display the size of the values in the fields in KB?

    Aaron Bertrand - MVP Guest

  4. #3

    Default Re: Size in KB

    Aaron Bertrand - MVP wrote:
    > Why are they NTEXT? Are you requiring support for foreign alphabets?
    Yes.
    > Anyway you might have to divide this by 2 depending on whether you are
    > interested in eventual byte count or storage byte count.
    >
    > SELECT DATALENGTH(column)/1024.00 FROM tablename
    Ah. Thanks. That will work nicely.
    Dave Karmens Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139