How to set "Make this group privileged" property for group?
There is a group property which is
shown as a checkbox in OID Console and
described as "Make this group privileged. Enabling this option will allow you to perform the assignment of privileges to this group. Non privileged group cannot be associated with any privilege.".
How to set this property programmatically using Portal PL/SQL API ?
Thanks
nina91x,
It sounds like you have two elements for each crane and forklift service, namely, a labor component that perhaps prepares, delivers, services, etc. each piece of machinery and a material element which is the machine itself. You could create labor and materials
resources to correspond to each of those elements, but Project doesn't allow you to set a max on a material resource, so creating a material resource for the cranes and forklifts probably isn't going to work.
What you really need, at least as I interpret it, is a combination schedule (to track your labor) and a spreadsheet (to track your machines). I suggest you only list the labor elements as performance tasks in your schedule. For example, under the Support
summary line, you might have separate tasks for, Service cranes, Prepare cranes for delivery, Deliver cranes, Retrieve cranes, and likewise for the forklifts. Then, instead of creating or assigning the machines as a resource, customize a couple of extra fields
(e.g. Text1 and Text2) to track the number of machines that are used and available. For example, if the Text1 field is renamed "Cranes/Forklifts Used", you could enter into that field the number the customer currently has at his jobsite. I would
enter that value in the Text1 field for the Deliver cranes task. The labor for that task is the truck drivers time to make deleveries and it would be tracked as any normal labor task. Rename the Text2 field as "Cranes/Forklifts Available" and customize
that field with the formula: IIF([Text1]>"0","250"-[Text1],""). As data is entered into the Text1 field, the Text2 field will automatically calculate the remaining inventory. See the screenshot below.
Using the above structure you will be tracking both labor and machines and the machine usage will have no impact on progress.
Hope this helps.
John
Similar Messages
-
I got a new computer. How do I make this the primary pc for all of my apple devices?
I purchased a new pc. How do I make this the primary pc for iTunes and all of my apple devices? I need to know how to take all Itunes files off old pc and put on new pc. Also, disable old pc.
Backup your library using this User Tip.
The same tool can be used to backup other important user data.
Deauthorise the old computer
Restore the library into the music folder of your new profile. (Use the same tool as for the backup)
Install iTunes and sign in to your account.
tt2 -
How do I make this custom Style property work correctly?
I'm trying to create a CSS style property that expects an
mx:Effect object to be used in a custom AS class. I want to detect
changes being made to the style property and assign the specified
effect to an effect trigger belonging to a child of my custom
component.
Unfortunately, the specified mx:Effect object seems to be
interpreted as a string instead of an mx:Effect object. Can anyone
tell me what I need to correct for this to work as expected?
You can see the compiled example
here
and review the source code below. It fails due to a
"TypeError: Error #1034: Type Coercion failed: cannot convert
"myTestEffect" to mx.effects.Effect.Style" in the custom
components styleChanged function at the bottom of this post.
EffectTest.mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:myComps="myComponents.*"
layout="absolute"
viewSourceURL="srcview/index.html"
>
<mx:Fade id="myTestEffect" alphaFrom="0.0" alphaTo="1.0"
duration="1000"/>
<mx:Style>
MyCustomPanel {
testEffect: myTestEffect;
</mx:Style>
<myComps:MyCustomPanel/>
</mx:Application>
myComponents/MyCustomPanel.as:
package myComponents
import mx.containers.Panel;
import mx.effects.Effect;
import mx.controls.Alert;
[Style(name="testEffect", type="mx.effects.Effect",
inherit="no")]
public class MyCustomPanel extends Panel
public function MyCustomPanel()
super();
override public function styleChanged(styleProp:String):void
var allStyles:Boolean = !styleProp || styleProp ==
"styleName";
super.styleChanged(styleProp);
if (allStyles || styleProp == "testEffect")
var theTestEffect:Effect = getStyle("testEffect");
if (theTestEffect)
Alert.show("Effect assignment successful");Thanks for the quick response! I will definitely take your
advice to work around the problem but your answer leads to more
questions.
I can specify effects via an instance when assigning them to
effect triggers and it works without a problem, as seen below. How
does it handle this at compile time?
<mx:Fade id="rollOverFadeUp" alphaFrom="0.35"
alphaTo="1.0" duration="250"/>
<mx:Fade id="rollOutFadeDown" alphaFrom="1.0"
alphaTo="0.35" duration="250"/>
<mx:Style> // this is an external .css file in my app
TextInput {
rollOverEffect: rollOverFadeUp;
rollOutEffect: rollOutFadeDown;
</mx:Style> -
I need to get my iPod to no longer be associated with the original i store account. My husband set it up through his account but now I have my own account. I don't want to go through his every time I want to make a change. how do I make this change?
I am trying to stop using my I-pod under my husband's I-Tune account. It was set up under his account and the only way I can use it under my account is to erase all of the songs my husband loaded on for me. I had heard there is a duration that I-Pods are locked into to one account only, and I am trying to discover how I can use my account without having to erase everything on the I-Pod. I know it sounds confusing but that's the way I-tunes have set it up. thanks for asking.
-
Travel internationally and use my ipohne with wifi, how do I make sure to avoid charges for roaming but still use my internet and messaging on wifi? I have viber app and would like to message also without additional charges. Is there a setting I need to hit to ensure this?
Settings>General>Network>Roaming>Data Roaming>Off. If you really want to be absolutely certain, Settings>General>Network>Cellular Data>Off.
-
I set it up over the wifi becuase i felt like it. I put a cd i had onto itunes and i cant put it on the cloud so i connected my ipod to the computer using the cord. when i plug it in it says i need to set it up. how do i make this go away
Syncing using the manual method
Managing content manually on iPhone, iPad, and iPod
However, you can only sync music and videos .
If you want to sync all media:
Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities -
How do I make this code generate a new pro when the "NEXT" button is pushed
How do I make this code generate a new set of problem when the "NEXT" Button is pushed
* To change this template, choose Tools | Templates
* and open the template in the editor.
/* Figure out how to create a new set of problms
* Type a list of specifications, include a list of test cases
* DONE :]
package javaapplication1;
import java.awt.GridLayout;
import java.awt.Window;
import javax.swing.*;
import java.awt.event.*;
* @author Baba Akinlolu -
class Grid extends JFrame{
int done = 0;
final int score = 0;
final int total = 0;
//Create Panels
JPanel p2 = new JPanel();
JPanel p3 = new JPanel();
final JPanel p1 = new JPanel();
//Create Radio buttons & group them
ButtonGroup group = new ButtonGroup();
final JRadioButton ADD = new JRadioButton("Addition");
final JRadioButton SUB = new JRadioButton("Subtraction");
final JRadioButton MUL = new JRadioButton("Multiplication");
final JRadioButton DIV = new JRadioButton("Division");
//Create buttons
JButton NEXT = new JButton("NEXT");
JButton END = new JButton("End");
//Create Labels
JLabel l1 = new JLabel("First num");
JLabel l2 = new JLabel("Second num");
JLabel l3 = new JLabel("Answer:");
JLabel l4 = new JLabel("Score:");
final JLabel l5 = new JLabel("");
JLabel l6 = new JLabel("/");
final JLabel l7 = new JLabel("");
//Create Textfields
final JTextField number = new JTextField(Generator1());
final JTextField number2 = new JTextField(Generator1());
final JTextField answer = new JTextField(5);
Grid(){
setLayout(new GridLayout(4, 4, 2 , 2));
p2.add(ADD);
p2.add(SUB);
group.add(ADD);
group.add(SUB);
group.add(MUL);
group.add(DIV);
p2.add(ADD);
p2.add(SUB);
p2.add(DIV);
p2.add(MUL);
//Add to panels
p1.add(l1);
p1.add(number);
p1.add(l2);
p1.add(number2);
p1.add(l3);
p1.add(answer);
p1.add(l4);
p1.add(l5);
p1.add(l6);
p1.add(l7);
p3.add(NEXT);
p3.add(END);
//Add panels
add(p2);
add(p1);
add(p3);
//Create Listners
Listeners();
void Listeners(){
NEXT.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int answer1 = 0;
//Grab the numbers entered
int numm1 = Integer.parseInt(number.getText());
int numm2 = Integer.parseInt(number2.getText());
int nummsanswer = Integer.parseInt(answer.getText());
//Set the score and total into new variabls
int nummscore = score;
int nummtotal = total;
//Check if the add radio button is selected if so add
if (ADD.isSelected() == true){
answer1 = numm1 + numm2;
//otherwise check if the subtract button is selected if so subtract
else if (SUB.isSelected() == true){
answer1 = numm1 - numm2;
//check if the multiplication button is selected if so multiply
else if (MUL.isSelected() == true){
answer1 = numm1 * numm2;
//check if the division button is selected if so divide
else if (DIV.isSelected() == true){
answer1 = numm1 / numm2;
//If the answer user entered is the same with th true answer
if (nummsanswer == answer1){
//add to the total and score
nummtotal += 1;
nummscore += 1;
//Convert the input back to String
String newscore = String.valueOf(nummscore);
String newtotal = String.valueOf(nummtotal);
//Set the text
l5.setText(newscore);
l7.setText(newtotal);
//Otherwise just increase the total counter
else {
nummtotal += 1;
String newtotal = String.valueOf(nummtotal);
l7.setText(newtotal);
//Create End listener
END.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
// get the root window and call dispose on it
Window win = SwingUtilities.getWindowAncestor(p1);
win.dispose();
//new Grid();
String Generator1(){
int randomnum;
randomnum = (1 + (int)(Math.random() * 100));
String randomnumm = String.valueOf(randomnum);
return randomnumm;
public class Main {
* @param args the command line arguments
public static void main(String[] args) {
// TODO code application logic here
JFrame frame = new Grid();
frame.setTitle("Flashcard Testing");
frame.setSize(500, 200);
frame.setLocationRelativeTo(null);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}Edited by: SirSaula on Dec 7, 2009 10:17 AMNot only are you continuing to post in the wrong forum but now you are multiposting: [http://forums.sun.com/thread.jspa?threadID=5418935]
If people haven't answered you other posting its probably because we don't understand the question. Quit cluttering the forum by asking the same question over and over and then next time you have a new question post it in the proper forum. Your first posting was moved becuase you didn't post it properly. -
How do I make this program generate a new problem once the button is hit
Here is the code... appreciate any help given
How do I make this program generate a new set of problem when the "NEXT" button is clicked and continue until the END button is hit
package javaapplication3;
import java.awt.GridLayout;
import java.awt.Window;
import javax.swing.*;
import java.awt.event.*;
* @author Sylvester Saulabiu
class Grid extends JFrame{
final int score = 0;
final int total = 0;
Grid(){
//Set Layout of Flashcard
setLayout(new GridLayout(4, 4, 2 , 2));
//Create Panels
JPanel p2 = new JPanel();
JPanel p3 = new JPanel();
final JPanel p1 = new JPanel();
//Create Radio buttons & group them
ButtonGroup group = new ButtonGroup();
final JRadioButton ADD = new JRadioButton("Addition");
final JRadioButton SUB = new JRadioButton("Subtraction");
final JRadioButton MUL = new JRadioButton("Multiplication");
final JRadioButton DIV = new JRadioButton("Division");
p2.add(ADD);
p2.add(SUB);
group.add(ADD);
group.add(SUB);
group.add(MUL);
group.add(DIV);
p2.add(ADD);
p2.add(SUB);
p2.add(DIV);
p2.add(MUL);
//Create buttons
JButton NEXT = new JButton("NEXT");
JButton END = new JButton("End");
//Create Labels
JLabel l1 = new JLabel("First num");
JLabel l2 = new JLabel("Second num");
JLabel l3 = new JLabel("Answer:");
JLabel l4 = new JLabel("Score:");
final JLabel l5 = new JLabel("");
JLabel l6 = new JLabel("/");
final JLabel l7 = new JLabel("");
//Create Textfields
final JTextField number = new JTextField(Generator1());
final JTextField number2 = new JTextField(Generator1());
final JTextField answer = new JTextField(5);
//Add to panels
p1.add(l1);
p1.add(number);
p1.add(l2);
p1.add(number2);
p1.add(l3);
p1.add(answer);
p1.add(l4);
p1.add(l5);
p1.add(l6);
p1.add(l7);
p3.add(NEXT);
p3.add(END);
//Add panels
add(p2);
add(p1);
add(p3);
//Create Listners
NEXT.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int answer1 = 0;
//Grab the numbers entered
int numm1 = Integer.parseInt(number.getText());
int numm2 = Integer.parseInt(number2.getText());
int nummsanswer = Integer.parseInt(answer.getText());
//Set the score and total into new variabls
int nummscore = score;
int nummtotal = total;
//Check if the add radio button is selected if so add
if (ADD.isSelected() == true){
answer1 = numm1 + numm2;
//otherwise check if the subtract button is selected if so subtract
else if (SUB.isSelected() == true){
answer1 = numm1 - numm2;
//check if the multiplication button is selected if so multiply
else if (MUL.isSelected() == true){
answer1 = numm1 * numm2;
//check if the division button is selected if so divide
else if (DIV.isSelected() == true){
answer1 = numm1 / numm2;
//If the answer user entered is the same with th true answer
if (nummsanswer == answer1){
//add to the total and score
nummtotal += 1;
nummscore += 1;
//Convert the input back to String
String newscore = String.valueOf(nummscore);
String newtotal = String.valueOf(nummtotal);
//Set the text
l5.setText(newscore);
l7.setText(newtotal);
//Otherwise just increase the total counter
else {
nummtotal += 1;
String newtotal = String.valueOf(nummtotal);
l7.setText(newtotal);
//Create End listener
END.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
// get the root window and call dispose on it
Window win = SwingUtilities.getWindowAncestor(p1);
win.dispose();
String Generator1(){
int randomnum;
randomnum = (1 + (int)(Math.random() * 20));
String randomnumm = String.valueOf(randomnum);
return randomnumm;
public class Main {
* @param args the command line arguments
public static void main(String[] args) {
// TODO code application logic here
JFrame frame = new Grid();
frame.setTitle("Flashcard Testing");
frame.setSize(500, 200);
frame.setLocationRelativeTo(null);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}Edited by: SirSaula on Dec 5, 2009 4:39 PMExtract code into methods, so that when an action is performed a method is called. That way you can reuse the method for purposes such as resetting textfields to their default values, scores to default values, etc.
You can go one step further and seperate the GUI layer from the processing layer, by deriving classes that for example maintain and calculate a score.
Mel -
I have a spare Apple display screen and would like to make this a second scren for my iMac,
would like to have some ideas on how to do this
laro.tFirst format the drive to OS X Extended (journaled) with ownership set to be ignored:
Next drag your iPhoto library from your Pictures folder to the EHD. When the copying is complete launch iPhoto with the Option key held down and in the window that comes up select the library on the EHD:
Check the file path under the window to make sure the correct library has been selected.
Once you've confirmed that the EHD library is working properly and has all of your photos you can delete the library in your Pictures folder.
OT -
Just restored my iPhone 5 from iCloud. My wife and I have always shared one iCloud ID. But since my restore, when a call comes in, it rings on both my phone and hers. How can I make this stop? We had it all set up fine before the restore, and there was a trick to it in the settings. I've noticed that since my restore, her phone has picked up what looks like the symbol of a phone in the upper right corner of the display, right next to the Bluetooth symbol.
Hi Big Slick,
Welcome to the Apple Support Community!
It sounds like your iPhones may be using a new feature in iOS 8 called Continuity. The following article and information explains how to set up this feature for phone calls. You can review the information on the setup to reverse this effect. My suggestion would be to turn off FaceTime on one of the devices.
Connect your iPhone, iPad, iPod touch, and Mac using Continuity
Phone calls
With Continuity, you can make and receive cellular phone calls from your iPad, iPod touch, or Mac when your iPhone is on the same Wi-Fi network.
To make and receive phone calls, here's what you need:
Sign in to the same iCloud account on all your devices, including your Mac.
Your iPhone and your iPad or iPod touch need to use iOS 8 or later. Your Mac needs to use OS X Yosemite.
All devices must be on the same Wi-Fi network.
All devices must be signed in to FaceTime using the same iCloud account. This means any device that shares your Apple ID will get your phone calls. Look below for instructions on how to turn off iPhone cellular calls.
Wi-Fi Calling needs to be off. Go to Settings > Phone. If you see Wi-Fi Calling, turn it off.
Cheers,
Joe -
Since I have downloaded the iOS7 software my photos no ,longer automatically sync and upload to my lap top. How can I make this happen again?
Hi missvashenca,
Thanks for using Apple Support Communities. If your photos are not appearing on your computer from your iOS device anymore through Photo Stream, I'd first verify that the Photo Stream service is still enabled on your iOS device:
iCloud: Set up Photo Stream
http://support.apple.com/kb/PH2605
If it is, you may also want to try switching it off and back on again.
Likewise, I would also try this with your computer's Photo Stream settings.
As always, I recommend backing up your photos before performing troubleshooting:
iOS: How to back up and restore your content
http://support.apple.com/kb/ht1766
Cheers,
- Ari -
How can I make this effect to introduce somebody in my video?
Hi,
I like to know how I can make this effect to introduce somebody: www.hofleverancier.be
You can see the effect on the 7nd second.
Can anybody help me out?
Thanks!
Glenn.There are many ways.
One of them would be:
export the specific point were it starts to Quicktime Conversion > Still Image >OPPTIONS: Photoshop.
Open this still in Photoshop. Cutout the man by using the magic lasso tool.
So then 2 layers. Background and Foregrond (The man).
Import this 2 layered PSD in FCP. Cut it right after the point you exported. On V1 the Background, On V2 the Man. Bring the background to Black and white. Set Keyframes for the SCALE on V2, in order to 'zoom in' on the person a little bit.
And ad a title effect.
Well, this is the short version. Try to play with it yourself. You can also do all the compositing in Motion, or After Effects.
Rienk -
How can I make this scene in After Effects?
The Hobbit The Desolation of Smaug. Gandalf vs The Necromancer (Sauron) - YouTube
I am making this scene in stop motion lego. How can I make this scene, the shield vs smoke and the flaming figure, including the shots that zoom into Sauron's mouth. How do I do these shots? I am new to after effects. I have done basic smoke before, but nothing like this. I've done snow and green screen and fire, but I'd just like some help. Thank you I have CS6There is no plug-in or button, only careful planning based on knowledge of the process of combining layers of images into a final image. Every element in a composite is a separate layer. If you are new you need to do some basic research. There are lots of books out there that will show you the theory. Start on AMAZON or your public library. http://www.amazon.com/Effects-Visual-Compositing-Studio-Techniques/dp/0321934695/ref=sr_1_ 2?ie=UTF8&qid=1421914012&sr=8-… may be a good place to start. Once you get some knowledge you can start breaking down a shot like this:
Layers that I see in this shot in order.
Vignette to darken the corners of the shot
Foreground smoke
Lighting effects on smoke
Foreground branches
Middle ground actor as a track matte or mask source for
Middle ground smoke
Middle ground lighting effects in the smoke
Actor on rock
Rock to act as a mask for background lighting effects and smoke
Rock
Background smoke and lighting effects
Background
If your original footage contained the background, the rock, the actor, and the branches then your first task would be to separate each of those to a separate layer. Then you would create or shoot the smoke and lighting effects and start building the layers. You then would modify the masks and effects on each layer to create the light wrap and look of the atmosphere using blend modes. Then you would add color grading effects or overlays to simulate the lighting in the shot. If you were really doing a shot like this you would probably add some lighting cues on the set to help sell the idea that a bunch of energy was lighting up the actors face. Like Mulenium said, there may have easily been fifty folks working on this shot for several days. It's completely unreasonable to expect that you can just add a plug-in and adjust some sliders to create the effect. Every composite requires you to separate elements into layers and then sandwich the elements you need to create and sell the effect you want to sell. -
How can I make this join in ADF and make CRUD operation in this
How to make this relation in ADF
I have table employees and this is my master table
Table Name: Employees
Columns:
Employee_id(PK)
Employee_name
Employee_Salary
I have a child table that is called related employee that contains employees related to this employee
Table_name: Related_Employee
Columns:
Related_Employee_Table_Id(PK)
Employee_id(FK)
Related_Employee_Id
When I open employee id = 100 for example and add related employee id = 10
this is added with no problem but the requirement is that when I open employee 10 I find employee id 100 as related employee
How can I make this scenario.The best way to understand this is to look at an example. If you are using an oracle database such as XE for you have a schema called hr. This shema has a number of tables two of which are departments and employees. a department has multiple employees correct. So in your example a employee may be related to x # of other employees perhaps. A very similar scenario as that in the hr Schema. If you don't have an Oracle XE database, download one from here -> http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
Create Business Components off of the Departments and Employees schema and you'll see that due to the db design, you get what you're talking about for free (i.e. the join). Thus, you have the master-detail relationship you're looking for. For a quick tip, here is the relationship between departments and employees in the hr schema via a create script that you can exam with data inserts included:
SET SQLBLANKLINES ON
CREATE TABLE DEPARTMENTS
DEPARTMENT_ID NUMBER(4, 0) NOT NULL
, DEPARTMENT_NAME VARCHAR2(30 BYTE) NOT NULL
, MANAGER_ID NUMBER(6, 0)
, LOCATION_ID NUMBER(4, 0)
, CONSTRAINT DEPT_ID_PK PRIMARY KEY
DEPARTMENT_ID
USING INDEX
CREATE UNIQUE INDEX DEPT_ID_PK ON DEPARTMENTS (DEPARTMENT_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ENABLE
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 1
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE TABLE EMPLOYEES
EMPLOYEE_ID NUMBER(6, 0) NOT NULL
, FIRST_NAME VARCHAR2(20 BYTE)
, LAST_NAME VARCHAR2(25 BYTE) NOT NULL
, EMAIL VARCHAR2(25 BYTE) NOT NULL
, PHONE_NUMBER VARCHAR2(20 BYTE)
, HIRE_DATE DATE NOT NULL
, JOB_ID VARCHAR2(10 BYTE) NOT NULL
, SALARY NUMBER(8, 2)
, COMMISSION_PCT NUMBER(2, 2)
, MANAGER_ID NUMBER(6, 0)
, DEPARTMENT_ID NUMBER(4, 0)
, CONSTRAINT EMP_EMP_ID_PK PRIMARY KEY
EMPLOYEE_ID
USING INDEX
CREATE UNIQUE INDEX EMP_EMP_ID_PK ON EMPLOYEES (EMPLOYEE_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ENABLE
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 1
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX DEPT_LOCATION_IX ON DEPARTMENTS (LOCATION_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_DEPARTMENT_IX ON EMPLOYEES (DEPARTMENT_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_JOB_IX ON EMPLOYEES (JOB_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_MANAGER_IX ON EMPLOYEES (MANAGER_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_NAME_IX ON EMPLOYEES (LAST_NAME ASC, FIRST_NAME ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_EMAIL_UK UNIQUE
EMAIL
USING INDEX
CREATE UNIQUE INDEX EMP_EMAIL_UK ON EMPLOYEES (EMAIL ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ENABLE;
ALTER TABLE DEPARTMENTS
ADD CONSTRAINT DEPT_LOC_FK FOREIGN KEY
LOCATION_ID
REFERENCES LOCATIONS
LOCATION_ID
ENABLE;
ALTER TABLE DEPARTMENTS
ADD CONSTRAINT DEPT_MGR_FK FOREIGN KEY
MANAGER_ID
REFERENCES EMPLOYEES
EMPLOYEE_ID
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_DEPT_FK FOREIGN KEY
DEPARTMENT_ID
REFERENCES DEPARTMENTS
DEPARTMENT_ID
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_JOB_FK FOREIGN KEY
JOB_ID
REFERENCES JOBS
JOB_ID
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_MANAGER_FK FOREIGN KEY
MANAGER_ID
REFERENCES EMPLOYEES
EMPLOYEE_ID
ENABLE;
ALTER TABLE DEPARTMENTS
ADD CONSTRAINT DEPT_NAME_NN CHECK
(DEPARTMENT_NAME IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_EMAIL_NN CHECK
(EMAIL IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_HIRE_DATE_NN CHECK
(HIRE_DATE IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_JOB_NN CHECK
(JOB_ID IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_LAST_NAME_NN CHECK
(LAST_NAME IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_SALARY_MIN CHECK
(SALARY > 0)
ENABLE;
COMMENT ON TABLE DEPARTMENTS IS 'Departments table that shows details of departments where employees
work. Contains 27 rows; references with locations, employees, and job_history tables.';
COMMENT ON TABLE EMPLOYEES IS 'employees table. Contains 107 rows. References with departments,
jobs, job_history tables. Contains a self reference.';
COMMENT ON COLUMN DEPARTMENTS.DEPARTMENT_ID IS 'Primary key column of departments table.';
COMMENT ON COLUMN DEPARTMENTS.DEPARTMENT_NAME IS 'A not null column that shows name of a department. Administration,
Marketing, Purchasing, Human Resources, Shipping, IT, Executive, Public
Relations, Sales, Finance, and Accounting. ';
COMMENT ON COLUMN DEPARTMENTS.MANAGER_ID IS 'Manager_id of a department. Foreign key to employee_id column of employees table. The manager_id column of the employee table references this column.';
COMMENT ON COLUMN DEPARTMENTS.LOCATION_ID IS 'Location id where a department is located. Foreign key to location_id column of locations table.';
COMMENT ON COLUMN EMPLOYEES.EMPLOYEE_ID IS 'Primary key of employees table.';
COMMENT ON COLUMN EMPLOYEES.FIRST_NAME IS 'First name of the employee. A not null column.';
COMMENT ON COLUMN EMPLOYEES.LAST_NAME IS 'Last name of the employee. A not null column.';
COMMENT ON COLUMN EMPLOYEES.EMAIL IS 'Email id of the employee';
COMMENT ON COLUMN EMPLOYEES.PHONE_NUMBER IS 'Phone number of the employee; includes country code and area code';
COMMENT ON COLUMN EMPLOYEES.HIRE_DATE IS 'Date when the employee started on this job. A not null column.';
COMMENT ON COLUMN EMPLOYEES.JOB_ID IS 'Current job of the employee; foreign key to job_id column of the
jobs table. A not null column.';
COMMENT ON COLUMN EMPLOYEES.SALARY IS 'Monthly salary of the employee. Must be greater
than zero (enforced by constraint emp_salary_min)';
COMMENT ON COLUMN EMPLOYEES.COMMISSION_PCT IS 'Commission percentage of the employee; Only employees in sales
department elgible for commission percentage';
COMMENT ON COLUMN EMPLOYEES.MANAGER_ID IS 'Manager id of the employee; has same domain as manager_id in
departments table. Foreign key to employee_id column of employees table.
(useful for reflexive joins and CONNECT BY query)';
COMMENT ON COLUMN EMPLOYEES.DEPARTMENT_ID IS 'Department id where employee works; foreign key to department_id
column of the departments table'; -
I have a circle with a square in the middle next to songs in a play list and I am unable to play them? WHy and how do I make this go away!
Hi k_smith1298,
Thanks for visiting Apple Support Communities.
First, be sure you've restarted and reset your iPhone:
iOS: Turning off and on (restarting) and resetting
http://support.apple.com/kb/ht1430
If you are syncing music with an iTunes library, you may want to try setting up syncing in iTunes again by following the steps in the appropriate article below. If you're syncing music, try un-checking and then re-checking the "Sync music" checkbox in iTunes.
iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
http://support.apple.com/kb/PH12113
iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
http://support.apple.com/kb/PH12313
If the issue isn't resolved after this, you may want to back up and restore your iPhone:
iTunes: Restoring iOS software
http://support.apple.com/kb/HT1414
Regards,
Jeremy
Maybe you are looking for
-
Need help connecting to my digital receiver
I bought an airport express to play itunes from my computer to my stereo. I have a digital receiver that's fairly old but still digital with optical inputs. I don't want to just connect RCA cables from airport express to receiver-i want to take advan
-
How do i get a manufacter unlock for my iphone 4?
How can i get my iphone unloked from the manufacter?
-
Hello All, I'm trying to use Lumira to explore data in BW infocube. To do this, I've created a relational connection and built and universe. When I select a very few characterists (key and/or text) and ratio, it's work. But as the number of objects (
-
Ledger Balance As Per the Profit Center Wise
hi experts, is there any standard SAP function Module which retries the Balance of G\L Account as per the profit Center ? Thanks & Regards srinivas
-
Bank Book or Bank Statement Report
I am looking for bank statement standard SAP report or bank - book report. Is there any standard report in Sap for the same