Hi, We have a requirement to find the amount of data that participated in a transaction in a Dot Net based application with SQL Server 2005 in Backened. Please suggest me how to achieve this.
Use DATALENGTH function to get length of column of any data type for example: use adventureWorks select DATALENGTH (DepartmentID )+ DATALENGTH( GroupName) + DATALENGTH( Name )+ DATALENGTH(ModifiedDate) from HumanResources.Department where DepartmentID =1 result is: 80 byte(the lengt of row)
Interesting requirement. Can you describe a little bit more what exactly makes up a transation for you?
Hi, Actually we are having a product development in a .Net Application and SQL server 2005. For measuring performance one of our requirement is to measure the amount of data that is getting loaded on screens of the application during any transaction or activity. Please help me on this.
Welcome to the forums. Can you simply run the PROFILER to see what query is running at this time and take the data by referring to the data types that are used at this time, by simply calculating the record size