Need syntax help
Can you see what I'm doing wrong? I'm trying to follow a tutorial, but is unable to clear the checkpoint. Any help would be greatly appreciated. 1 CREATE TABLE department (
2 dept_id NUMBER(2),
3 name VARCHAR2(15),
4 budget NUMBER(11,2),
5* projects ProjectList)
SQL> /
Table created.
1 BEGIN
2 INSERT INTO department
3 VALUES(30, 'Accounting', 1205700,
4 ProjectList(Projects(1, 'Design New Expense Report', 3250),
5 Projects(2, 'Outsource Payroll', 12350),
6 Projects(3, 'Evaluate Merger Proposal', 2750),
7 Projects(4, 'Audit Accounts Payable', 1425)));
8 INSERT INTO department
9 VALUES(50, 'Maintenance', 925300,
10 ProjectList(Projects(1, 'Repair Leak in Roof', 2850),
11 Projects(2, 'Install New Door Locks', 1700),
12 Projects(3, 'Wash Front Windows', 975),
13 Projects(4, 'Repair Faulty Wiring', 1350),
14 Projects(5, 'Winterize Cooling System', 1125)));
15 INSERT INTO department
16 VALUES(60, 'Security', 750400,
17 ProjectList(Projects(1, 'Issue New Employee Badges', 13500),
18 Projects(2, 'Find Missing IC Chips', 2750),
19 Projects(3, 'Upgrade Alarm System', 3350),
20 Projects(4, 'Inspect Emergency Exits', 1900)));
21 END;
22*
SQL> /
Projects(4, 'Audit Accounts Payable', 1425)));
*
ERROR at line 7:
ORA-06550: line 7, column 22:
PL/SQL: ORA-00904: "PROJECTS": invalid identifier
ORA-06550: line 2, column 4:
PL/SQL: SQL Statement ignored
ORA-06550: line 14, column 22:
PL/SQL: ORA-00904: "PROJECTS": invalid identifier
ORA-06550: line 8, column 4:
PL/SQL: SQL Statement ignored
ORA-06550: line 20, column 22:
PL/SQL: ORA-00904: "PROJECTS": invalid identifier
ORA-06550: line 15, column 4:
PL/SQL: SQL Statement ignored
You should:
-Define your type of 'projects' (structure) for example:
CREATE OR REPLACE TYPE projects AS OBJECT(
project_id NUMBER,
project_name VARCHAR2(180),
project_cost NUMBER
);
/
-Set the type as a collection of projects projectlist rather a collection of varchar2...
CREATE OR REPLACE TYPE projectlist AS TABLE OF projects;
/
Published by: user11268895 on July 12, 2010 16:04
Tags: Database
Similar Questions
-
Need urgent help! (combine invites and formula)
Hello
I use Oracle Business Intelligence 10.1.3.3.2 and create reports of responses. I desperately need to combine
Invites and formula on a column.
I need to use guest in my formula on a column.
Need urgent help!You can use the presentation variables to pass the value of the command prompt in the report or any formula in the column.
In the dash prompt, you see an option called 'Set the Variable' where, and you must give a name to the variable. (Say Var_value)
Now, the value of the variable can be referenced simply by using the syntax @{name} {10}. Here '10' being the default is optional you can simply reference using the @{Name} and you value invited past.
Hope this works
Thank you
Prash -
Unable to open gmail and other google account services. Need urgent help. Firefox version is 29.0.1. Deleted all cache and history + wiped without addons. Urgent help please. Same problem in other browsers ie opera/IE. Other Internet sites without problem.
Personally, I've never had problems with ABP, but questions about ABP would be better answered in the AdBlock Plus forum where there are people more suited to respond as we only deal with technical support from Mozilla (e.. g the Fx of Firefox, Thunderbird, for Android)
-
Yahoo mail is normally empty. One can type mail in the blank part of . In my case the Compose page has rail logo. because I can't type my mail. Even if there is no problem in gmail-INBO isn't the case with Gmail site "A Google approach to email" or make up may site.
For this reason, it is difficult to compose mail on yahoo mail. I need your help to clear advertising logo so that I can compose mail on a white page, cordially. eldiablo kumarYou can also try to install Adblock Plus with Easylist subscription and check
-
Yester night I tried to improve my S5 iphone for a new virsion so at the end he asked me my icloud and the password I remember my password but not my icloud so I need your help please.
Seems that Apple has temporary problems with their activation servers. Many users report similar problem on older devices.
Latest news: If you can not activate your iPhone, iPad, or iPod touch after installing iOS 9.3 - Apple Support
Hoppefully Apple will highlight the top soon.
-
buy an iphone 5s by amazon and I came with iCloud blocked an account... I called the seller and does not that I do that I'm from Venezuela please need your help
No one here can help you. The device is locked activation. Since you have made the purchase by Amazon, you can check with them to see if they will stand behind it. No one on the forum, or Apple can help you remove the lock. Only the previous owner can do this. I suggest that you demand a refund, so let's start a claim with Amazon about this dealer.
-
Please I need your help in the next issue.
Please I need your help in the next issue.
I'm trying to change a driver of function generator to perform the following operations:
starting with the initial value (for example 1 MHz) for some time (for example 10 sec.) and turn off the output for another time (e.g. 20 seconds) and then start again but this time with the frequency increment value (for example 1 MHz + 0.1 x n MHz = 1.1 MHz for n = 1, 2, 3,... n).
The function generator model is ag33xxxGPIB and the link of the driver is http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9066659CE034080020E748...
There is no modifications are required for the driver, although there might be an example that you can edit. You use the function of the frequency set in a loop with a shift register. Initialize the registry to offset with the frequency of your departure and each iteration of the loop, add the value of the step. Exit the loop when the stop frequency is reached. Try to write something and after back if you have any problems. Fix what you wrote.
It's pretty basic LabVIEW code. Did you do the online tutorials?
-
Compaq NX 5000 reinstalled W XP Home Edition, need driver help
Yes, there is areal old computer, but still works. I just reinstalled XP W on it, and now I need a help for all the drivers installed, etc. Has already done this, but I could use a friend to help out me. An irritating thing is that I tried to install the audio drivers the other night. I didn't know that one to use, so I installed 2 different ones. The sound now works, but when I start the computer, I get a window every time who said, 'the drivers have been installed. Looks like she'd go away now, like it would be. Any advice?
Hello:
I start over and before installing the drivers, do the mobile XP SP3.
If your original disc SP1a or SP2, you can get the standalone update XP SP3 on the link below.
Download it from another PC and burn it to a disc or a copy of a USB key.
http://www.Microsoft.com/en-US/Download/details.aspx?ID=24
So, since you have multiple audio problem (and for any driver, so that you have several chioces), find the ID of the hardware first and post it.
To find a hardware ID, click each device with a small yellow? Select this option.
Then click on the Details tab.
You will see the hardware ID. (You need to XP SP2 or SP3 in order to see the hardware ID)
Then I'll post the exact links by the drivers you need and there will be no guesswork involved.
Also drivers must be installed in a particular order:
1 chip set. Install and reboot.
2. video: Installation and reboot
We need the ID of the material as it has two video drivers to choose
3. audio: Installation and reboot.
We need the ID of the material as it has two audio drivers to the choice
Wired network.
Wireless:
We need the hardware ID as there are several choice.
No reason we cannot get this laptop to work perfectly.
Paul
-
Pavilion 15-n200nx: I need your help
Hello group HP I need your help on activatin windows I update my laptop for windows pro 8.1 build 9600
but is not yet activate every time I open my computer laptop theres always notification that I need to activate my windows
notification require a product key... I have need of your immediately
Thank you.
Hello
The key is in the BIOS of your machine, please use the following tool to get:http://www.Belarc.com/free_download.html
When running this tool, it produced a report, scroll to the section of software management. Product key Windows 8 or 8.1 is there.
You can also use the following tool to discover:
https://www.magicaljellybean.com/KeyFinder/
Kind regards
-
I have always used the windows logo + L key to lock my computer, I remove things from my hard drive and now it locks not for me... need your help :)
Hi ddbowers01,
The other shortcut keys work?
Try pressing CTRL + ALT + DELETE and then try to lock the computer and check.
Check the setting below:
a. in the Control Panel, click user accounts.
b. click on change the way users log on or off the power.
c. Click to uncheck use the screen of welcome for a quick and easy connection.
d. click OK.
With regard to:
Samhrutha G S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
I need your help. I forgot my administrator password.
I can connect to my laptop using the standard user account. My problem is I can not change the security settings, tune up and download any program, because somehow the administrators password has been changed and forgotten and I have not a flashdrive password key. Please I need your help. I'm not knowledgeable enough to solve computer problems. Is it possible to recover or reset a new administrator password?
Hello
Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. For more information about this policy, please see the sticky below:
Thank you
Keith
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think -
I need to help, freeing up space on the hard drive
All my hard drive is full vista isx only using about 4gigs or so how can I free up a lot of room? b how can I know which files and programs I didn't need
Hello
Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup
You may want to transfer some data, images or documents on removable media
as the key USB, USB external drives (my choice) or even CD/DVD (to several
If the use of these copies).Programs that are not part of Windows can be uninstalled and then reinstalled in other players
or partitions such as office, games and others. Of course, you can have some programs
installed that you don't need at all. If you are unsure about the programs ask in a separate
the message in these forums.Make sure you have the product or any other information of activation keys so that you can properly
Re-install all programs before uninstalling them. If you need additional help check with
program support and/or forums.Uninstall or change a program
http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-programTroubleshoot installing or uninstalling programs
http://Windows.Microsoft.com/en-us/Windows-Vista/Troubleshoot-installing-or-uninstalling-programs-----------------------------------------------------
Info:
System restore usually holds 15% of disk space and updates that are necessary for running computer
consume even more. Backup - Options of recovery and even MS updates and those of HP, Dell
or similar manufacturers use the space if your charging system. There are also overhead for the readers are not
format to their maximum capacity.Where all my disk space? (Vista) - good writeup
http://Forum.NotebookReview.com/showthread.php?t=167983Hard disk space Vista shrinking and reducing anomaly
http://www.mydigitallife.info/2007/07/04/Vista-hard-disk-space-shrinking-and-reducing-anomaly/----------------------------------------------
It will show you how disk space is being used.
WinDirStat - free - use to make sure you know what is too much space.
http://WinDirStat.info/-Free - TreeSize tells you where precious space has gone to
http://www.Jam-software.com/treesize_free/JDiskReport
http://www.jgoodies.com/freeware/JDiskReport/index.htmlAlso run Disk Cleanup:
Start - All Programs - Accessories - System Tools - Disk Cleanup.
Use the WinDirStat or TreeSize and these other tools.
DiskMon - free - an application that logs and displays all the activity of the hard disk on a Windows System.
You can also reduce DiskMon in your system tray, where it acts as a disk light, presenting a green
icon when there is disk-read activity and a red icon when there is a writing activity.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896646.aspxProcess Monitor - free - a monitoring tool for Windows that shows real-time file system,
The process/thread activity and the register.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspxManage - free - a utility that displays information about the handles opened for any process in the system.
You can use it to see the programs that have an open folder, or to see the types of objects and the names of all
the handles of a program.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896655.aspx-Free - Process Explorer shows you information about the handles and DLLs processes have
opened or loaded.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspxSysinternals - many free tools
http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx---------------------------------
OpenedFilesView - Free displays the list of all the open files on your system. For each file opened,
additional information is displayed: handle value, read/write/delete access, position in the file, the
process that has the file open and more...
http://www.NirSoft.NET/utils/opened_files_view.htmlI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
Hello Sir,
I want to run or install my HP Laserjet P1006 printer to work on my system without the software freely, I have misplaced the software please I need your help.
Thank you
Alex
You can download the software here:
-
I really need your help. How about this one-CNU0092BPK
I really need your help
Hello
In this case, you must enter e9l11o7p2s (3rd character is a lowercase L) to the password screen.
Kind regards
DP - K
-
Hello
I need quick help, the hp that we use at work has a background that someone else put (a new), I change back to the normal background but the picture is still on the menu so that everyone could see it or it could put it again. Someone knows what to do?
(by the way I'm new to this forum so I could have failed by asking)
Green as grassThis solved so nvm but it's XP thanks for trying to help if
Maybe you are looking for
-
'open f' keeps temporary files
I try to use 'open f' in the Terminal to channel the TextEdit MAN page output, as follows: Open man | Col b | Open f where, f - reads the entries from standard input and open the results in the default text editor. ... It seems to me that the open c
-
Lenovo Y560: Strange keyboard problems
Apart from the BSOD and random graphics driver accidents, I met a problem that I have never seen or heard of before. My keyboard types numbers. He's not numlock, and it isn't the key with numlock fn or the other. The entire keyboard. It will happen r
-
.doc) "Windows does not recognize format". How can I remove the)?
My computer suddenly inserted a ")" to the file extension when I tried to save my document files. It will now save except via a temporary file. Somehow, it must be possible to remove this bracket, so that I can return to normal. I have Windows XP
-
Swindled by an App blackBerry smartphones
Hello. I chose to download one based on the number of positive comments he had scoured the apps in appworld. There has been negative reviews as well, but I couldn't tell if these users problems are as a result of the program or their suppliers, etc.
-
I bought the ARC keyboard and touch mouse. Both have individual separated Nano transceivers. I wish I could use a nano for two products transceiver. If the answer is Yes to my question. Can you explain HOW? Thank you