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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Roshan PatilRank #9,295 · 208 reputationPosted Jul 25, 2015, 7:26 AM EDT
Radiant Software68 reputationPosted Jul 27, 2015, 3:38 AM EDT
Amitesh VermaRank #2,535 · 552 reputationPosted Jul 28, 2015, 10:11 PM EDT
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