• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

increase the size of table

how to increase the size of a table in sql server 2000?
0
ramavenkatesa
Asked:
ramavenkatesa
  • 3
  • 3
  • 2
1 Solution
 
udaya kumar laligondlaTechnical LeadCommented:
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
 
ramavenkatesaAuthor Commented:
i want to increase the size of table in a database .
0
 
udaya kumar laligondlaTechnical LeadCommented:
do you want to increase the disc space used to store the table ? this is handled by SQL server internally.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
BrandonGalderisiCommented:
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
 
ramavenkatesaAuthor Commented:
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
 
BrandonGalderisiCommented:
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
 
ramavenkatesaAuthor Commented:
is 250MB not sufficient ? shd i increase more
0
 
BrandonGalderisiCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now