If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Need tips to create a database in Sybase

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-03-10, 13:04
kingmaker2008 kingmaker2008 is offline
Registered User
 
Join Date: Jun 2008
Posts: 7
Post Need tips to create a database in Sybase

Hi,

Anyone provide tips to create a database

Thanks!!!!!!!
Reply With Quote
  #2 (permalink)  
Old 02-03-10, 16:43
MCrowley MCrowley is offline
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,784
Well, most employers don't tip. They offer a flat rate.
Reply With Quote
  #3 (permalink)  
Old 02-04-10, 02:36
erovij erovij is offline
Registered User
 
Join Date: Jun 2009
Posts: 15
The general syntax for creation of a database in sybase is as follows
create database database_name
[on {default | database_device} [= size]
[, database_device [= size]]...]
[log on database_device [= size]
[, database_device [= size]]...]
[with override] - optional only when you put log and data on the same logical device(not recommended)
[for load] - optional supposed to be given only when user is ready to load the dump of userdatabase immediately after creation of the database. If the database created is new then there is no need for a forload option.

For additional information please refer system administration guide.

Last edited by erovij; 02-04-10 at 02:57.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On