CREATE DATABASE with data file and log file in query pane

Hi everyone, 
After I ran the below code I got the following error message. Can someone help me fix this?
Thanks
CREATE DATABASE project
ON
(Name= 'project_dat',
FILENAME ='C:\project.mdf',
SIZE = 10,
MAXSIZE = 100,
FILEGROWTH = 5)
LOG ON
(NAME = project_log,
FILENAME = 'C:\project.ldf',
SIZE =40,
MAXSIZE = 100,
FILEGROWTH = 10);
Msg 5123, Level 16, State 1, Line 1
CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'C:\project.mdf'.
Msg 1802, Level 16, State 4, Line 1
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
skilo

Hello ,
Please go through by support site :
Use SQL Server Enterprise Manager
Note The instance of SQL Server Enterprise Manager that is included with SQL Server 7.0 does not support setting the default data directory and the default log directory. However, you can register your instance of SQL Server 7.0 in the instance
of SQL Server Enterprise Manager that is included with SQL Server 2000, and you can then follow these steps to set the default data directory and the default log directory for your instance of SQL Server 7.0.
Click Start, point to   Programs, point to
Microsoft SQL Server, and then click Enterprise Manager.
In SQL Server Enterprise Manager, right-click your instance of SQL Server, and then click  
Properties.
In the SQL Server Properties (Configure) - <Instance Name> dialog box, click the
Database Settings tab.
In the New database default location section, type a valid folder path in the
Default data directory box and in the Default log directory box.
Click OK.
Stop your instance of SQL Server, and then restart your instance of SQL Server.
Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

Similar Messages

  • DB identifier mismatch with data volujme and log volume

    Hi,
             I would like to perform backup and restore test on linux (maxdb database )  ECC 6.0 system.
    I have taken the backup of (i.e  data , incremental and log backups ) on one system.
    Then created a new system with same host name, SID and instance number.
    Then i Performed to restore the database on the new system in the ADMIN mode.
    First i done the data then incremental backup. These are successful on the new system.
    But when i performed the log backup  it gives the following error as :
    Db identifier mismatches with data volume and log volume.
    Database then goes to offline state.
    How to perform the successful log backup ?
    Thanks
    Srikanth

    Hi,
    As you are performing restore on the new machine  you have to restore with recovery with initialization option.
    for this you have to first  create template on the new machine using DBMGUI or DBMCLI for  complete_bkp/incremental_bkp and log_bkp's.
    It will first restore complete backup after that incremental backup and after that all the available log backups will be applied.After that you will be able to make in online mode.
    You can perform this either using dbmgui or dbmcli.
    http://help.sap.com/saphelp_nw04/helpdata/en/d1/b386654dc211d4aa1100a0c9430730/frameset.htm
    Regards,
    Sahil

  • Create prompt with date-filter and initialize it with current date

    Oracle BI 11 g
    Hi!
    I need to create dashboard prompt with date-filter and initialize it with current date. How can I do that?
    I tried to create repository initialization block and add variable. But I don't know what should I write to DataSource? I tried to use functions Now(), Current_Date, sysdate (for example, SELECT Now() FROM tbl_Calendar) but without results - when I pressed "Test..." button I got errors - something like "Now() is unknown function" or "Incorrect syntax near key word Current_Date".
    After that I tied to use Presentation Variable in Prompt, but also without success ((
    Please, help me.

    I've created Repository Variable "CurrentDate", using SQL-query like this "select convert(varchar(10), getdate(), 104)" and now this variable is being initialized by value "07.04.2011". But I don't understand how to use this varible in DashboardPrompt! What item in list "Default selection" I should choose - "Variable Expression", "Server Variable" or something else? When I chose "Variable Expression" and write "CurrentDate" I got just string "CurrentDate" when preview Prompt. @{CurrentDate} gave me the same result.

  • Script to Create databases with params to support dir location for data or log files

    Script to Create databases with params to support dir location for data or log files

    DECLARE @Query VARCHAR(MAX)=''
    DECLARE @DbName VARCHAR(400) = '<DBNAME>'
    DECLARE @DbFilePath VARCHAR(400) = '<Valid DataFilePath>'
    DECLARE @DBLogFilePath VARCHAR(400)='<Valid LogFile Path>'
    SET @Query = @Query + 'CREATE DATABASE '+@DbName +' ON PRIMARY '
    SET @Query = @Query + '( NAME = '''+@DbName +''', FILENAME = '''+@DbFilePath+@DbName +'.mdf'' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) '
    SET @Query = @Query + ' LOG ON '
    SET @Query = @Query + '( NAME = '''+@DbName +'_log'', FILENAME = '''+@DblogFilePath+@DbName +'_log.ldf'' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)'
    print @query
    exec(@query)
    --Prashanth

  • Problem when creating Database with Database, OS and hardware Configuraiton

    Problem when creating Database:
    There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
    Problem # 1:
    When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
    I searched following oracle help for this problem.
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
    Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Problem # 2:
    When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
    I searched following oracle help for this problem.
    ORA-12571: TNS:packet writer failure
    Cause: An error occurred during a data send.
    Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Software & Hardware Configuration are as follow:
    Software:
    Database
    Oracle 8.1.7.0.0 (Oracle8i)
    Operating System
    Microsoft Windows 2000
    5.00.2195
    Service Pack 2
    Hardware:
    x86 Family 6 Model 8 stepping
    10
    AT/AT COMPITABLE
    260,400 KB RAM

    user563502 wrote:
    I am working on Solaris 8. What is Alert_SID.log? where can I find it?
    ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
    to be honest with you, this is not your work.

  • Failed to provision site PWA with error: Microsoft.Office.Project.Server.Administration.ProvisionException: To create databases we need dbcreator and securityadmin server roles on servers.

    I'm getting the following errors while trying to provision a PS 2010 PWA on our SharePoint 2010 farm. Our PS instance has been working for a while now, and houses two other PWAs. But today,
    when trying to create this one, I get "Failed - see the Application event Log" and the following in the Event Viewer:
    Log Name: Application
    Source: Microsoft-SharePoint Products-Project Server
    Date: 4/2/2014 2:09:08 PM
    Event ID: 6980
    Task Category: Provisioning
    Level: Error
    Keywords:
    User: DOMAIN\DB_Access
    Computer: server
    Description:
    Provisioning 'PWA/SDN': To create databases we need dbcreator and securityadmin server roles on servers 'DB1' and 'DB1'.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
    <EventID>6980</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>20</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-02T19:09:08.225Z" />
    <EventRecordID>1676727</EventRecordID>
    <Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
    <Execution ProcessID="11040" ThreadID="12384" />
    <Channel>Application</Channel>
    <Computer>sharepoint</Computer>
    <Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
    </System>
    <EventData>
    <Data Name="string0">PWA/SDN</Data>
    <Data Name="string1">DB1</Data>
    <Data Name="string2">DB1</Data>
    </EventData>
    </Event>
    Log Name: Application
    Source: Microsoft-SharePoint Products-Project Server
    Date: 4/2/2014 2:09:08 PM
    Event ID: 6993
    Task Category: Provisioning
    Level: Error
    Keywords:
    User: DOMAIN\DB_Access
    Computer: sharepoint
    Description:
    Provisioning 'PWA/SDN': Failed to provision databases. An exception occurred: To create databases we need dbcreator and securityadmin server roles on servers..
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
    <EventID>6993</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>20</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-02T19:09:08.225Z" />
    <EventRecordID>1676728</EventRecordID>
    <Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
    <Execution ProcessID="11040" ThreadID="12384" />
    <Channel>Application</Channel>
    <Computer>sharepoint</Computer>
    <Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
    </System>
    <EventData>
    <Data Name="string0">PWA/SDN</Data>
    <Data Name="string1">To create databases we need dbcreator and securityadmin server roles on servers.</Data>
    </EventData>
    </Event>
    Log Name: Application
    Source: Microsoft-SharePoint Products-Project Server
    Date: 4/2/2014 2:09:08 PM
    Event ID: 6958
    Task Category: Provisioning
    Level: Error
    Keywords:
    User: DOMAIN\DB_Access
    Computer: sharepoint
    Description:
    Provisioning 'PWA/SDN': Database provisioning failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
    <EventID>6958</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>20</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-02T19:09:08.225Z" />
    <EventRecordID>1676729</EventRecordID>
    <Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
    <Execution ProcessID="11040" ThreadID="12384" />
    <Channel>Application</Channel>
    <Computer>sharepoint</Computer>
    <Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
    </System>
    <EventData>
    <Data Name="string0">PWA/SDN</Data>
    </EventData>
    </Event>
    Log Name: Application
    Source: Microsoft-SharePoint Products-Project Server
    Date: 4/2/2014 2:09:08 PM
    Event ID: 6971
    Task Category: Provisioning
    Level: Error
    Keywords:
    User: DOMAIN\DB_Access
    Computer: sharepoint
    Description:
    Failed to provision site PWA/SDN with error: Microsoft.Office.Project.Server.Administration.ProvisionException: Failed to provision databases. ---> Microsoft.Office.Project.Server.Administration.ProvisionException: To create databases we need dbcreator and
    securityadmin server roles on servers.
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType& originalDatabaseState, Guid& adminGuid)
    --- End of inner exception stack trace ---
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType& originalDatabaseState, Guid& adminGuid)
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
    <EventID>6971</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>20</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-02T19:09:08.226Z" />
    <EventRecordID>1676730</EventRecordID>
    <Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
    <Execution ProcessID="11040" ThreadID="12384" />
    <Channel>Application</Channel>
    <Computer>sharepoint</Computer>
    <Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
    </System>
    <EventData>
    <Data Name="string0">PWA/SDN</Data>
    <Data Name="string1">Microsoft.Office.Project.Server.Administration.ProvisionException: Failed to provision databases. ---&gt; Microsoft.Office.Project.Server.Administration.ProvisionException: To create databases we need dbcreator and securityadmin
    server roles on servers.
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType&amp; originalDatabaseState, Guid&amp; adminGuid)
    --- End of inner exception stack trace ---
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType&amp; originalDatabaseState, Guid&amp; adminGuid)
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset)</Data>
    </EventData>
    </Event>
    Anybody ever get any events like this before? I'm not finding much or nothing on Google or on other forums, so I thought I would run it past and see if anyone has experienced anything of a similar
    nature. And yes, the farm account obviously has creator/secadmin permissions, at this point of our deployment....
    I look forward to any and all feedback. Thanks and good afternoon!

    I figured out the answer to this myself. For those few who might run into something akin to my error...
    During the off-hours of where I work, I re-applied the farm account credentials to all dB server VM SQL services that had the account for a log-on (i.e., MSSQLSERVER, SQLSERVERAGENT, etc.) as well as all SharePoint services on our WFE/App Server VM (a two
    server farm is what we host), in that order. Then I rebooted the dB server first, followed by the SharePoint server. Upon coming back, everything was working fine again. I was able to provision a site, no probelm, and it seemed to even be a little snappier
    when doing so.
    One note: doing this procedure gave me a "One or more services have started or stopped unexpectedly" error in the Health Analyzer, for the SPTimerV4 service. When you get this, simply enter into the item and click on "Reanalyze Now;" this will quickly clear
    the error out of the Analyzer, and all should be right with the world! :)

  • ERROR: validate with data file failed

    Hi,
    We are using SAP BPC 7.5 NW SP08(Admin & client). We are trying to load transaction data from BW actual cube to BPC application for which we have written the following transformation file.
    *MAPPING
    CATEGORY=*NEWCOL(ACTUAL)
    P_ACCT2=MVAL(0RECTOTSTCK|NEWCOL(PRODQU))
    P_DATASRC=*NEWCOL(INPUT)
    MATERIALBW=0MATERIAL
    RPTCURRENCY=0LOC_CURRY
    TIME=0CALMONTH
    SIGNEDDATA=0RECTOTSTCK
    *CONVERSION
    TIME=Conversion for IM Actuals.XLS!CONVERSION
    We want to map BW keyfigure 0RECTOTSTK (production quantity) to PRODQU - a member of the dimension P_ACCT2. And also we want to load the data from that key figure into our SIGNEDDATA field in BPC.
    We have validated and processed the conversion file without error, but getting the following error while validating definition of the transformation file:
    "ERROR: validate with data file failed"
    Can you please help on this.
    Thanks in advance.
    Appu

    Issue was resolved.We were trying to load data from the cube 0IC_C03.However, that cube had some non-cumulative key figures. BPC 7.5 SP08 does not allow data to be loaded from BW cubes having non-cumulative key-figures to BPC Cubes.This is a bug which will be rectified in SP11 according to SAP.
    Since we needed only 0RECTOTSTCK which is a cumulative key figure we created a separate BW cube and loaded it from 0IC_C03 using only the necessary cumulative key figures and other dimensions.We then used the new cube to load data into BPC cube and it worked.

  • Choose File Form Data Create Spreasheet From Data Files

    I am following the tutorial for LC 8 and when I get to the topic titled "Collecting the data in a spreadsheet" it says to "Choose File > Form Data > Create Spreadsheet From Data Files".
    However, when I try to follow that path I do not see a "Form Data > Create Spreadsheet From Data Files" menu option.
    What am I not doing properly? How do I accomplish this task?
    Thanks!

    Thank you so much Paul. I have been trying all day to locate the method by which I could create a spreadsheet using the pdf submit route. I suppose the tutorial in CS4 should have been changed to reflect the changed explanations, but I guess that would be difficult to do. Anyway it worked and I can now do the analysis I need from my customers (lots of pupils!).
    Best wishes,
    Kevin Palmer

  • How to create database from .sql file

    how to create database from .sql file..?? i put the sintax query in a sql file.. and i want to call it in java code..
    ho to do it..??

    why do you want to do this from java?
    i just don't see the point.
    find your dba and have him/her run it for you

  • Validation with data file failed

    Hello All
    I have loaded the Currency Exchange Rates from BW cube into Rate Model in BPC upto March 2014 and then our BW cube get updated the Exchange Rates for April 2014.
    Now I am trying to load the Exchange Rates for April 2014 only into Rate model and for that I am validating the Transformation File but it was failed. It shows 'VALIDATION WITH DATA FILE FAILED'.
    Rejected list option showing blank screen.
    With the same Transformation file I have loaded the data upto March 2014 successfully.
    I have compressed the source cube, reactivate the source cube after all am unable to validate the Transformation file. Below is my transformation file screen shot.
    Please let me know if you need any more details from my side.
    Thanku you all in advance.
    Please help
    Regards
    Srikant

    Hi Shaik
    Thanks for your reply.
    I have validate the Transformaiton file by given vlaue in MAXREJECTCOUNT= 10000 but there is no chage same error is coming. 'Validation with data file failed' without any errors.
    Thanks
    Srikant

  • Creating spreadsheet from data files

    Why do I get the numbers in square brackets e.g. f[0].p1[0].Name[0], when I collate data using the 'Create spreadsheet from data files' command. I only want to export object names as column titles in Excel. This driving me mad!

    I got the same problem as Zali.I really need some one help regarding regarding this topic.

  • Procedure for creating transparent table, data element and domain

    Hi,
    Can anybody let me know the procedure for creating transparent table, data element and domain.
    Thanks,
    Mahathi

    Hi
    Database table and its components
    A database table is the central data structure of the ABAP/4 data dictionary.
    The structure of the objects of application development are mapped in tables on the underlying relational database.
    The attributes of these objects correspond to fields of the table.
    A table consists of columns (fields) and rows (entries). It has a name and different attributes, such as delivery class and maintenance authorization.
    A field has a unique name and attributes; for example it can be a key field.
    A table has one or more key fields, called the primary key.
    The values of these key fields uniquely identify a table entry.
    You must specify a reference table for fields containing a currency (data type CURR) or quantity (data type QUAN). It must contain a field (reference field) with the format for currency keys (data type CUKY) or the format for units (data type UNIT). The field is only assigned to the reference field at program runtime.
    The basic objects for defining data in the ABAP Dictionary are tables, data elements and domains. The domain is used for the technical definition of a table field (for example field type and length) and the data element is used for the semantic definition (for example short description).
    A domain describes the value range of a field. It is defined by its data type and length. The value range can be limited by specifying fixed values.
    A data element describes the meaning of a domain in a certain business context. It contains primarily the field help (F1 documentation) and the field labels in the screen.
    A field is not an independent object. It is table-dependent and can only be maintained within a table.
    You can enter the data type and number of places directly for a field. No data element is required in this case. Instead the data type and number of places is defined by specifying a direct type.
    The data type attributes of a data element can also be defined by specifying a built-in type, where the data type and number of places is entered directly.
    <b>Two Level Domain Example</b>
    A domain defines a field technically and therefore it may
    be used at different business levels.
    A data element describes the meaning of a domain in a certain business context.
    A domain, however, is used for the technical definition of a table field (for example field type and length).
    Therefore, although a take-off airport (data element S_FROMAIRP) would have a different business meaning from an airport where a plane lands (data element S_TOAIRP), they could still have the same domain(here S_AIRPID) because technically we could assign the same number of characters whether the airport is a take-off or a landing airport.
    <b>Definitions of Table in Database</b>
    In SAP R/3 tables are defined as
    A) Transparent tables: All of the fields of a dictionary table correspond to a field in the real database table.
    B) Pooled tables: Different tables which are not linked to each other with a common key are combined into a TABLE POOL. Several logical tables thus exist as a single real database table.
    C) Cluster tables: Several tables linked by a common key may sometimes be combined by the data dictionary and made to exist on the database schema as a single table.
    SAP is evolving R/3 tables in transparent tables.
    <b>Elaboration on each of the definitions</b>
    A transparent table is automatically created on the database when it is activated in the ABAP Dictionary. At this time the database-independent description of the table in the ABAP Dictionary is translated into the language of the database system used.
    The database table has the same name as the table in the ABAP Dictionary. The fields also have the same name in both the database and the ABAP Dictionary. The data types in the ABAP Dictionary are converted to the corresponding data types of the database system.
    The order of the fields in the ABAP Dictionary can differ from the order of the fields on the database. This permits you to insert new fields without having to convert the table. When a new field is added, the adjustment is made by changing the database catalog (ALTER TABLE). The new field is added to the database table, whatever the position of the new field in the ABAP Dictionary.
    Tables can also reside on the database as Pooled tables or cluster tables
    Pooled Tables: Different tables which are not linked to each other with a common key can be combined into a Table Pool. The tables contained within this pool are called Pooled Tables. A table pool is stored in the database a simple table. The table's data sets contain, in separate fields, the actual key for the data set to be stored, the name of the pooled table and the contents of the data set to be stored.
    Using this schema, several logical tables are combined into a single real database table. Although the data structure of each set is lost during the write to the table pool, it is restored during the read by the ABAP/4 Data Dictionary. The ABAP/4 Data Dictionary utilizes its meta-data to accomplish this.
    Since information must be prepared (defined) within the ABAP/4 Data Dictionary when it is read or written to (or accessed), this process itself defines these as not transparent tables
    Cluster Tables: Occasionally, several tables may be linked by a common key. The ABAP/4 Data Dictionary can also combine these tables into a single table. Each data set of the real table within the database contains a key and in a single data field, several data sets of the subsequent table for this key.
    As mentioned above, these table types require special data handling, therefore they are not transparent tables.
    <b>Technical Settings in Dictionary</b>
    The data class logically defines the physical area of the database (for ORACLE the table space) in which your table should be created. If you choose the data class correctly, the table will automatically be created in the appropriate area on the database when it is activated in the ABAP Dictionary.
    The most important data classes are master data, transaction data, organizational data and system data.
    Master data is data that is rarely modified. An example of master data is the data of an address file, for example the name, address and telephone number.
    Transaction data is data that is frequently modified. An example is the material stock of a warehouse, which can change after each purchase order.
    Organizational data is data that is defined during customizing when the system is installed and that is rarely modified thereafter. The country keys are an example.
    System data is data that the R/3 System itself needs. The program sources are an example.
    Further data classes, called customer data classes (USER, USER1), are provided for customers. These should be used for customer developments. Special storage areas must be allocated in the database.
    The size category describes the expected storage requirements for the table on the database.
    An initial extent is reserved when a table is created on the database. The size of the initial extent is identical for all size categories. If the table needs more space for data at a later time, extents are added. These additional extents have a fixed size that is determined by the size category specified in the ABAP Dictionary.
    You can choose a size category from 0 to 4. A fixed extent size, which depends on the database system used, is assigned to each category.
    Correctly assigning a size category therefore ensures that you do not create a large number of small extents. It also prevents storage space from being wasted when creating extents that are too large.
    Modifications to the entries of a table can be recorded and stored using logging.
    To activate logging, the corresponding field must be selected in the technical settings. Logging, however, only will take place if the R/3 System was started with a profile containing parameter 'rec/client'. Only selecting the flag in the ABAP Dictionary is not sufficient to trigger logging.
    Parameter 'rec/client' can have the following settings:
    rec/client = ALL All clients should be logged.
    rec/client = 000[...] Only the specified clients should be logged.
    rec/client = OFF Logging is not enabled on this system.
    The data modifications are logged independently of the update. The logs can be displayed with the Transaction Table History (SCU3).
    Logging creates a 'bottleneck' in the system:
    Additional write access for each modification to tables being logged.
    This can result in lock situations although the users are accessing different application tables!
    <b>Create transparent table</b>
    Go to transaction SE11. Enter name of table you want to create (beginning with Y or Z) and click on create pushbutton
    Enter the delivery class and the table maintenance criteria
    The delivery class controls the transport of table data when installing or upgrading, in a client copy and when transporting between customer systems .
    The display/maintenance indicator specifies whether it is possible to display/maintain a table/view using the maintenance tools Data Browser (transaction SE16) and table view maintenance (transactions SM30 and SM31).
    Enter the name of the table field and the data element. The
    System automatically populates the technical details for
    existing data elements.
    So far as possible it is advisable to use existing data elements which befit the business requirements.
    However, we may create data elements if need be. The same is shown in the next slide.
    To create a data element simply double click on it.
    Alternately create a data element by simply choosing the
    data type radio button on SE11 initial screen.
    <b>Create data element</b>
    The system prompts you to create a new data element.
    Choose the Yes pushbutton.
    Under the data type tab enter the domain name which
    determines the technical characteristics of the field.
    Further characteristics tab: Allows you to specify a search help assigned to the data element.
    It also allows you to specify a parameter id which helps you populate a field from SAP memory.
    Field label: Can be assigned as prefixed text to a screen field referring to the ABAP Dictionary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    <b>Create domain</b>
    If the domain does not exist in the data dictionary the
    system prompts you to create one.
    Give the technical characteristics under the definition
    tab. Value range allows you value restriction at domain
    level.
    Value range tab:
    As explained in the section Consistency through input checks one can restrict the possible values for a field at domain level itself by either entering fixed values or by specifying a value table under the tab Value range.
    <b>Currency/Quantity fields in a table</b>
    A currency or a quantity field must be assigned a reference field from a reference table containing applicable qty unit or currency unit.
    Field of the reference table, containing the applicable quantity unit or currency
    A field containing currency amounts (data type CURR) must be assigned a reference field including the currency key (data type CUKY).
    A field containing quantity specifications (data type QUAN) must be assigned a reference field including the associated quantity unit (data type UNIT).
    <b>Create transparent table continue</b>
    Maintain the technical settings of the table by clicking on the tab

  • How to create database with ASM

    HI
    How to create database with ASM?
    I install vmware workstation on window XP .On virtual machine install Linux 5 enterprise (Oracle) install.
    I install oracle DB software only. Also make 3 disk for ASM .
    1 -- When I want to install oracle DB with ASM . In this process candidate disks not show . Why?
    How I can see disks ..
    so I simple install oracle DB software only.
    2 -- Now I want to create database with ASM by DBCA .
    What process I will follow ?
    Please guide me
    Thanks

    Hi
    Steps to create database with ASM.
    1.Install oracle binary with active CRS(For single node installation CRS is activated when you run root.sh) .
    2.Create disk without file ssytem.
    3.Assign disk to raw .
    4.Change owner and permission to raw devices.
    5.Configure ASM manually or USing DBCA.
    Manually ASM Configuration.
    a.Create initialization parameter file and password file.
    b.Mandatory parameter is "instance_type=asm" as per your need configure rest of parameter like db_cache_size,large_pool_size,processes,remote_login_passwordfile,shared_pool_size etc..
    c.To discover disk configure "asm_diskstring=/dev/raw/raw*"
    Using DBCA to configure ASM.
    1.In storage type section choose ASM.It will ask for password of sysdba in 10g.
    2.ASM configuration window will open -> here it create disk group -> it shows all available ASM candidate disk automatical -> choose normal redundancy,external redundancy or high redundancy.
    ASM disk also can be conbfigured with ASMLIB .
    If ASM disk is configured you can start asm instance in nomount state and query to v$asm_disk to see all candidate disk.V$asm_disk only shows disk which is configured in asm_diskstrings.
    Hope this will help U,
    Tinku

  • Problem to create database with RAC 10g with Oracle Standard Edition

    I install CRS (Cluster Ready Services), and then install Oracle 10g database. Also, I install patches 10.1.0.4. When I create database with ASM storage give me a error to create files database.
    Any idea?
    Thanks
    Edu Alcañiz

    You were right.
    http://download-uk.oracle.com/docs/html/B14203_05/intro.htm#sthref44
    under the section
    "1.3 Configuration Tasks for Oracle Clusterware and Oracle Real Application Clusters"
    "... If you use RAC on Oracle Database 10g Standard Edition, then you must use ASM."
    Thanks, problem solved.
    - Vegard

  • Creating Database with Script

    Can any body guide me how to create DB with scripts, Here is the scripts
    ls -ltrtotal 6952
    -rw-r----- 1 oracle oinstall 7061504 Dec 4 11:17 tempControl.ctl
    -rw-r----- 1 oracle oinstall 2057 Dec 4 11:17 rmanRestoreDatafiles.sql
    -rwxr-xr-x 1 oracle oinstall 948 Dec 4 11:17 PSC01P1.sql
    -rwxr-xr-x 1 oracle oinstall 645 Dec 4 11:17 PSC01P1.sh
    -rw-r----- 1 oracle oinstall 682 Dec 4 11:17 postScripts.sql
    -rw-r----- 1 oracle oinstall 2634 Dec 4 11:17 initPSC01PTemp.ora
    -rw-r----- 1 oracle oinstall 2719 Dec 4 11:17 initPSC01PTempOMF.ora
    -rw-r----- 1 oracle oinstall 2621 Dec 4 11:17 init.ora
    -rw-r----- 1 oracle oinstall 185 Dec 4 11:17 CreateClustDBViews.sql
    -rw-r----- 1 oracle oinstall 915 Dec 4 11:17 CloneRmanRestore.sql
    -rw-r----- 1 oracle oinstall 1756 Dec 4 11:17 cloneDBCreation.sql
    -rw-r----- 1 oracle oinstall 954 Dec 4 11:18 postDBCreation.sql

    None of any script will help u. Followings are the steps to create manually database
    Assume you have selected f drive for the same -
    1. Choose drive with sufficient disk space
    2. create folder (folder_name)
    3. create bdump,cdump,oradata,pfile folder in (folder_name) folder
    4. open notepad and create pfile as named "init_sidname.ora" with required parameters (check parameters in sample pfile or ask to resend
    5. go to os prompt
    6. type commands
    oradim -new -sid init_sidname.ora -startmode m -pfile (path of init_sidname.ora file with filename)
    orapwd file=f:\oracle\ora92\database\pwd_nameoffile.ora password=sysdba entries=3
    create a sql script to create database with extention .sql
    set oracle_sid=sid_name
    sqlplus /nologsql>connect sys as sysdba
    password : sysdba
    sql> create spfile from pfile=(path of pfile)
    (it will create spfile in database folder of ora92 folder)
    sql> startup nomount
    sql> execute catalog.sql and catproc.sql scripts
    your database will be create and can be checked with select commands like
    select * from dba_datafiles;
    Rajesh thakur

Maybe you are looking for