954,219 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

estimate size?

Hey guys!

I am new to SQL Server and as I am still a student I have never created a database completely from scratch before.

I believe that at the very start of development I have to create the database with the following code:-

CREATE DATABASE
[ON [PRIMARY]
([NAME = <’logical file name’>,]
FILENAME = <’file name’>
[, SIZE = ]
[, MAXSIZE = size in kilobytes, megabytes, gigabytes, or terabytes>]
[, FILEGROWTH = ])]
[LOG ON
([NAME = <’logical file name’>,]
[, SIZE = ]
[, MAXSIZE = size in kilobytes, megabytes, gigabytes, or terabytes>]
[, FILEGROWTH = ])]
GO

but, how would I go about estimating how big the database is going to be when I have no idea? Is there a default value or anything that I can enter that will allow me to just create the database without the possibility of running out of space? I am getting a bit anxious as I cannot begin to develop until I get over this problem.

Any ideas would be greatly appreciated.
Thanks!

GLT

GLT
Junior Poster in Training
98 posts since Aug 2007
Reputation Points: 18
Solved Threads: 0
 

really you just need to type CREATE DATABASE (name) - the rest is optional, it will use appropriate values for you if you do not sspecify any.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You