Академический Документы
Профессиональный Документы
Культура Документы
Page 1 of 2
Created by PDFTiger
Unregistered Version
1. Select Tools > Object-Relational Mapping (ORM) > Database Configuration... from the main menu 2. Check Oracle and click OK button in Database Configuration dialog box
http://media.visual-paradigm.com/media/videos/dbva60/010/010-entity-relationship-diagr... 12/30/2011
Page 2 of 2
3. Right click on the diagram's background and select Utilities > Generate SQL... from the popup menu 4. Highlight the code and press Execute button in Generate SQL dialog box
Stored procedure
1. Select Stored Procedures from the diagram toolbar and click it on diagram 2. Right click on the newly created stored procedures and select New Procedure from the popup menu 3. Enter sp_GetBookWithName() in procedure 4. Right click on sp_GelBookWithName() and select Open Specification... from the pop-up menu 5. Enter statement and click OK button in Procedure Specification dialog box
Created by PDFTiger
Unregistered Version
Trigger
1. 2. 3. 4. 5. Select Triggers from the diagram toolbar and click it on diagram Right click on the newly created triggers and select New Trigger from the pop-up menu Enter product_trigger in trigger Right click on product_trigger and select Open Specification... from the pop-up menu Enter statement and click OK button in Trigger Specification dialog box
Select Tools > Options from the main menu Open Diagramming > ERD & ORM > Auto Column Type in Options dialog box Press Add button Enter description in name and varchar(210) in type and then click OK button in Add Auto Column Type dialog box Click OK button in Options dialog box Select Entity from the diagram toolbar and click it on the diagram Name the entity as Customer Right click on Customer and select New Column from the pop-up menu Enter description in the column and press Enter key Enter gender in the new column and press Enter key
Created by PDFTiger
Unregistered Version
http://media.visual-paradigm.com/media/videos/dbva60/010/010-entity-relationship-diagr... 12/30/2011