April 14, 2011 at 9:02 am
Hi
I am having a table "Mesages" in a database.One of its column name is "mesagesize" which indicates the size of the message.it is showing 56789.How can i determine whether it is in MB or Kb.The data type used is int.
April 14, 2011 at 9:04 am
April 14, 2011 at 9:13 am
the application is outlook..how can i check that
April 14, 2011 at 10:49 am
April 15, 2011 at 12:22 am
If that are MB, than message size would be 56 GB, which is very unlikely.
So, the size is either KB or bytes.
You can find a message in your outlook and see it's size in outlook,
then find the same message in this table and compare the numbers.
You will probably find that size is in bytes.
If you have message text stored in the that table, "select datalength(messagetext) from messages" would also help - it gives bytes.
Regards,
Vedran
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply