Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

delete ntext column from table

$
0
0

Hi experts,

 

I have the next table…

 

SIZE: 10GB index space. 59GB Data space... I am trying to save some space up in the server…

 

I ran this next code (that took 5 hours to run!)

 

I am pretty sure the column “description” is not used!! How can I know the space that we will save if we delete that column? (I guess I can do datalength for every row and sum?!) but again that will take hours again!!

 

Besides ‘description’ column the table has 3 other ‘ntext’ columns…

 

Before suggesting to delete the column I need to forecast how many GB we will save by deleting the column, is there a way?

 

 


Viewing all articles
Browse latest Browse all 5123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>