hii...
i have an mysql database. In that db, one table saves records of many members. Now,in asp.net... if insert any member id, I want to know to count total size used by that user. Is it possible???How???
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amitesh VermaPosted Jul 29, 2015, 2:11 AM
unused VARCHAR(18))
EXEC sp_MSForEachTable 'INSERT INTO #RowCountsAndSizes EXEC sp_spaceused ''?'' '
SELECT TableName,CONVERT(bigint,rows) AS NumberOfRows,
CONVERT(bigint,left(reserved,len(reserved)-3)) AS SizeinKB
FROM #RowCountsAndSizes
ORDER BY NumberOfRows DESC,SizeinKB DESC,TableName
DROP TABLE #RowCountsAndSizes
Radiant SoftwarePosted Jul 27, 2015, 7:38 AM
Roshan PatilPosted Jul 25, 2015, 11:26 AM