Solved

increase the size of table

Posted on 2009-03-30
9
213 Views
Last Modified: 2012-05-06
how to increase the size of a table in sql server 2000?
0
Comment
Question by:ramavenkatesa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
9 Comments
 
LVL 12

Expert Comment

by:udaya kumar laligondla
ID: 24020805
if you are talking about changeing the column sizes then you can use Alter Table. smaples at http://www.devguru.com/technologies/t-sql/7120.asp
0
 

Author Comment

by:ramavenkatesa
ID: 24020830
i want to increase the size of table in a database .
0
 
LVL 12

Expert Comment

by:udaya kumar laligondla
ID: 24020870
do you want to increase the disc space used to store the table ? this is handled by SQL server internally.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 24020873
The size of the table is the size of the data in the table.  As you add more data, it will expand up to the amount of available free space in your database.  If you are out of free space, then you have to expand the size of your database.
0
 

Author Comment

by:ramavenkatesa
ID: 24020940
a temp table is in a database-- and it is increasing as users are accessing the database. even though we are truncationing daily at 6AM in one DTS job, on some days we are forced to truncate manually.(when users retreive large data)

the free space in the database is 250MB. size of db is 4GB

what might be the option?

(the temp table is in users database not in model db)
0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 24021264
a true temp table (created with #) is stored in tempdb, not the user database.

If it's an temporary table in your database, used as some sort of cache table, then you will need to expand the database if you are running out of space.
0
 

Author Comment

by:ramavenkatesa
ID: 24021312
is 250MB not sufficient ? shd i increase more
0
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 500 total points
ID: 24021357
I can't say what is sufficient because I don't know what is being written to that table.  But as for the general "health" of the database, you have less than 10% free space.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how the fundamental information of how to create a table.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question