Task7&8

EMPLOYEES with coulmns
employee_id number, first_name varchar2(50), last_name varchar2(50), salary number, deptno number, manager number, date_of_join date, date_of_birth date.
DEPARTMENT with columns
deptno number, dept_name varchar2(100),location varchar2(100)
--Proper exceptions should be handled in all procedures and functions
Q7. Create a package "Salary_revision" as per steps given below.
1.     Write a function "Update_salary" in the package that accepts two parameters
"Employee_id" and "Sal_raise"-Number, return type should be Number.
• Function "Update_salary" should be an AUTONOMOUS TRANSACTION function.
• The function should accept the employee id and the amount of salary to be raised.
• There should be an update statement which will update the employee table for each
employee id with the current salary + salary to be raised.
After updating the employee table with the new salary , function should return the new salary back.
Q8. Write a PL/SQL block which will fetch all employee id and their salary into a pl/sql table from the employees table .
1.     The Pl/sql table should have two columns to hold the employee id and salary
2.     Loop through the pl/sql table (before starting the loop, a check condition should be provided to see if the pl/sql table is empty.
3.     For each record in the pl/sql table loop, call the function "Update_salary" from the package "Salary_revision" created in "Question 7" .
4.     Pass the values for parameter “employee_id” and “Sal_raise”.
Value for employee id should be the value fetched from pl/sql table
For parameter "sal_raise" , pass value based on the formula given below
Pass 10% of current salary if the current salary is greater than 20lakhs.
Pass 15% of salary if the current salary is greater than 15 lakhs and less than 20 lakhs.
Pass 18% of salary if current salary is greater than 10 lakhs and less than 15 lakhs.
Pass 20% of salary if current salary is less than 10 Lakhs.
5.     The new salary returned should be displayed along with Employee last name and first name (use DMS_out.put_line)

This is not a homework solving forum. Do your own work and get back here if you have any specific problem.

Similar Messages

  • OAS 4.0.8.1 Config on Task7 Post- P2G

    Hello,
    During Post Installation of P2G (Oracle Portal-to-Go Installation Guide,Task 7), I need to configure the 'Web Parameters' with 3 different MIME types, but I am not able to. "Error encountered while executing processor Oracle.OAS.Services.ServerApp.Display. "
    All of the other screens / java
    scripts() work fine, except this one! Please reply with a work-around, a fix, or re-direct appropriately.

    I have
    [APPLICATION.Portal-to-GoServer.WEB]
    AppMimeTypes = - jpeg,gif,jpg,js,html
    Try this config. Write if it helps or not.
    I guess that the other two areas you mentioned shouldn't be changed at all.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by d saroni ([email protected]):
    Wrb.app has been modified to {
    [APPLICATION.Portal-to-GoServer.WEB]
    AppMimeTypes = jpeg,gif,jpg,jsp,html,js
    Going to http://localhost/p2g/server/papz/login.jsp, and typing in username/password generates the following: {
    HTTP Error 405
    405 Method Not Allowed
    The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting.
    bv
    http://localhost/p2g/server/papz/test.jsp generates a "HELP" script, that does not work either.
    I saw three area where MIMEs are asked for, the following are the other two;
    [APPLICATION.DB_Utilities.WEB]
    [APPLICATION.owsapps.WEB]
    I have modified all three, to no success.
    Please advise.
    <HR></BLOCKQUOTE>
    null

  • PT 8.5 new installtion, ALTER script getting created wrongly on Oracle 10g.

    Greetings!
    I'm trying to Install HRMS 9.1 with PT 5.0 on Oracle 10.2.0.1. I believe i have been following installation steps as documented. As part of storeddl.dms i executed only ddlora.dms only , remaining databases related lines commented out. The next step after this is ALTERING the tables after importing PPLTLS84CUR project.
    When i created SQL script for ALTER... I have chosen ALTER BY Table Name option as specified. Problem in the script is even for LONG columns also it is creating INSERT SELECT statement which is not supported by ORACLE for LONG columns. in reality it suppose to create a PL/SQL snippet where ever it sees a table with a LONG column. Instead it is creating simple INSERT SELECT. Thus Alter process generating errors , at the end i wouldn't have data into those tables with LONG columns. becz the of the build sequence of steps...
    #1 Create temp, #2 insert actual into temp, #3 Drop actual, #4 Rename Temp to actual . since #2 errored out the temp wouldn't have rows , #3 drops original which has rows, #4 renames the empty table to Original table..
    Is there any piece i missed... Thanks in advance....
    Edited by: Rama R Damisetty on Jun 11, 2010 12:26 PM

    Nicholas Thanks a lot.
    These are steps in the TASK7A -16 (Updating Database to Latest People Tools Release).. in Installation document... previously i misunderstood and skipped only "Cleaning up the data" first bullet pointed... and continued the remaining.. So can i skip whole task?
    Thanks again..
    • Cleaning Up Data
    • Updating PeopleTools System Tables
    • Updating PeopleTools Database Objects
    • Updating PeopleTools Multilingual Objects
    • Deleting Obsolete PeopleTools Database Objects
    • Applying Patched PeopleTools Database Objects
    • Altering PeopleTools Tables
    • Migrating Records to New Tablespaces
    • Updating PeopleTools System Data
    • Running PeopleTools Conversions
    • Converting Integration Broker
    • Running Additional PeopleTools Conversions
    • Changing the User Interface

  • Project Management Roadblock with mac

    I love my mac! I always have loved my macs. I mainly used my macs for personal which is mostly multimedia world.
    For the past 6 months I have kicked my work provided Dell to the curb and am using my mac for everything business related with some snags (most are overcome with work arounds).
    After using my mac in the business world I have come to the conclusion Apple needs to come out with an Office of there own.
    Sure, the skimpy Microsoft Office is nice (slow) but nice for word, excel and powerpoint but what about the other pieces of Microsoft Office that are not included like Visio and Project. These are key applications that I have not found a very good substitute.
    I have tried replacing Project with:
    OmniPlan 1.1
    ConceptDraw Project 3
    FastTrack Project 9
    Project X
    Merlin 2
    Daylite3
    All of which are nice for basic project management but some are clumsy, some are nice but not advanced enough.
    My current project is to migrate the networks at branches all across the world.
    I am given the DayOne date for each branch. DayOne is defined as the day the customers/users come into the office and are using the new network for the very first time. So, its the end date of each milestone.
    So working backwards from DayOne (always a Monday)
    Task1: 3days prior to DayOne, Begin Migration (Task Length: Friday at 6pm there local time until 5am Monday there local time at the latest)
    Task2: 5days prior to DayOne, Send out a FINAL cadence (Task Length: 30minutes and always on a Wednesday at 4pm eastern time)
    Task3: 7days prior to DayOne, Verification that everything is set (Task Details: 1hour and always on a Monday at 1pm-2pm eastern time)
    Task4: 17days prior to DayOne, Requests are submitted (Task Details: Request/Change Controls are submitted and always on a Friday at 9am est for 1hour)
    Task5: 30days prior to Dayone, Submit cadenance is sent to all teams (Task Details: Helps everyone get on same page, done at 3pm est for 30min on Mondays)
    Task6: 30days prior to Dayone, Red Team Review of cadenance (Task Details: Review cadenance with all teams, North America version done at 11am every Monday 30+days prior to dayone, Europe version done 30+ days prior to dayone on Thursdays at 8am est)
    Task7: 60+days prior to Dayone, Draft Cadenance is emailed (Task Details: Draft cadenance is sent out every Tuesday 60+days out from dayone at 3pm est for 2hours)
    A TRUE Project Management software I should be able to create the tasks above and change the DayOne date (as I received these changes) and all Tasks should shift accordingly and they do not (without any limitation). There should also be the possibility to turn on/off the today date restriction (in the case I would like to track tasks that happened in the past).
    I would love to see Apple create an Office suite that does Office right. No limits... shoot for Pluto.

    Hi Countrymac,
    A couple of suggestions:
    For Project Management, take a look at the package iTaskX - at first glance it looks promising - it includes effective task linking like end-to-start, start-to-start etc., and it seems intuitive (at least at my first glimpse). A no-cost trial version (no file saving or printing) is available for downloading at:
    http://shareit.com/product.html?cart=1&productid=300022429&affiliateid=200003270
    For an Office suite try NeoOffice, the (shareware) open source product adapted especially for the Mac from the also open source "Open Office". Download and further info is available at:
    http://www.neooffice.org/neojava/en/download.php#requirements
    Hope that helps! Cheers

  • CheckPoints with Sequence containers - Please help

    Hi experts,
    I have a very critical requirement using checkpoints.I have SSIS 2012.
    As you can see, there are two sequence containers (Call it as SEQC). SEQC1 has Execute SQL tasks 1 , 2 and 3. Similarly SEQC2 has tasks  4,5 and 6.
    After that two individual tasks task 7 & 8.
    The requirement is, I have to implement both CheckPoint and Transaction feature in the package.That means,the restartability should be BLOCK wise. ie
    1) If the task 3 (inside SEQc1) fails, then the tasks done by the Task1 and task2 should be rolled back and next execution should start from the Task1 and NOT from the Task3.
    2) If the SEQC1 is success, but the task 6 (inside SEQc2) fails, then the tasks done by the SEQC1 should be COMMITTED and tasks done by the Task4 and task5 should be rolled back  and next execution SHOULD start from the Task4 and NOT from the Task6 or
    NOT from Task1 of SEQC1.
    3) If the SEQC1 and SEQC2 succeeds but the next individual task Task7 fails, then SEQC1 and SEQC2 tasks should be committed and the next execution starts only from the Task7.
    Could you please tell me is it possible to combine  CheckPoint and transaction options? If not, any workarounds?
    Requirements 1 and 2 can be achieved ONLY when i enable'Transactions=Required' in SEQC 1 and 2 . But when I enable this, if the task6 in SEQC2 fails, the the next execution starts from task1 of SEQC1, but the requirement is to start from task4 of SEQC2.
    I tried a lot but not able to accomplish this.Your help would be greatly appreciated.

    From Books online
    Using checkpoints and transactions in the same package could cause unexpected results. For example, when a package fails and restarts
    from a checkpoint, the package might repeat a transaction that has already been successfully committed.
    That being said you can use checkpoints and make it start from failed step. However I dont think you'll be able to start from start of the sequence generator as other tasks previously successful would have already logged the info to checkpoint file so they
    will not get executed again.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • HashMap

    Hi All,
    I am new to java.Please help me in using hashmap.
    I have records in Database like,
    DeptID, empName, tasks
    10 GR task1
    10 GR task2
    10 GBC task3
    20 ABC task4
    10 GBC task5
    20 GR task6
    10 ABC task7
    10 ABC task8
    10 GBC task9
    10 GR task10
    20 GBC task11
    20 GR task12
    20 GBC task13
    10 GR task14
    20 ABC task15
    now i am fetching the data and putting in my Java Bean.
    Now my requirement is i have to get the count for paticular deptID(For Example 10) and for partcular empName(For Example GR) how many tasks are there and appended task data.
    output is like:
    DeptId empName count appending the taks data
    10 GR 7 task1,task2,...
    10 ABC 5 task 4,task7...
    10 GBC 4
    20 GR 2
    20 GBC 5
    I am trying it to achieve using HashMap.
    HashMap s = new HashMap();
    MyBean m = new MtBean();
    s.put(m.getDeptId()+"-"+m.getEmpName() , here value is appending the taks data );
    Hash map allows duplicate keys. for 10-GR keys it will append the tasksdata. i am tryinh in this way.
    Please guide me.
    Thanks in adv..

    Map<String,List<String>> s = new HashMap<String,List<String>>();
    ... but what sabre said is better, unless you require the whole recordset be retained in memory for subsequent processing; or you can't order by for some reason.
    Cheers. Keith.

  • ISE 1.1.1 cisco-av-pair:Wireless-WCS

    Hello,
    Has anyone configured ISE yet to authenticate WCS against ISE using RADIUS?  I have created the Authorization Profiles with rule0=SuperUsers, tack0=...ect, but I am wondering how everyone has done the authentication and authorization rules.  Any lessons learned would be great.
    Kyle

    Yes, I have patch 1 installed.  I am trying to add the following cisco-av-pairs:
    Wireless-WCS:role0=Admin
    Wireless-WCS:task0=Users and Groups
    Wireless-WCS:task1=Virtual Domain Management
    Wireless-WCS:task2=Audit Trails
    Wireless-WCS:task3=TACACS+ Servers
    Wireless-WCS:task4=RADIUS Servers
    Wireless-WCS:task5=Logging
    Wireless-WCS:task6=License Center
    Wireless-WCS:task7=Scheduled Tasks and Data Collection
    Wireless-WCS:task8=User Preferences
    Wireless-WCS:task9=System Settings
    Wireless-WCS:task10=View Alerts and Events
    Wireless-WCS:task11=Email Notification
    Wireless-WCS:task12=Delete and Clear Alerts
    Wireless-WCS:task13=Pick and Unpick Alerts
    Wireless-WCS:task14=Ack and Unack Alerts
    Wireless-WCS:task15=Configure Controllers
    Wireless-WCS:task16=Configure Templates
    Wireless-WCS:task17=Configure Config Groups
    Wireless-WCS:task18=Configure Access Points
    Wireless-WCS:task19=Scheduled Configuration Tasks
    Wireless-WCS:task20=Migration Templates
    Wireless-WCS:task21=Configure Choke Points
    Wireless-WCS:task22=Configure Spectrum Experts
    Wireless-WCS:task23=Configure ACS View Servers
    Wireless-WCS:task24=Auto Provisioning
    Wireless-WCS:task25=Monitor Controllers
    Wireless-WCS:task26=Monitor Access Points
    Wireless-WCS:task27=Monitor Clients
    Wireless-WCS:task28=Monitor Tags
    Wireless-WCS:task29=Monitor Security
    Wireless-WCS:task30=Monitor Chokepoints
    Wireless-WCS:task31=Monitor Spectrum Experts
    Wireless-WCS:task32=RRM Dashboard
    Wireless-WCS:task33=Mesh Reports
    Wireless-WCS:task34=Client Reports
    Wireless-WCS:task35=Performance Reports
    Wireless-WCS:task36=Security Reports
    Wireless-WCS:task37=Compliance Assistance Reports
    Wireless-WCS:task38=Voice Audit Report
    Wireless-WCS:task39=Config Audit Dashboard
    Wireless-WCS:task40=Location Server Management
    Wireless-WCS:task41=View Location Notifications
    Wireless-WCS:task42=Maps Read Only
    Wireless-WCS:task43=Maps Read Write
    Wireless-WCS:task44=Client Location
    Wireless-WCS:task45=Rogue Location
    Wireless-WCS:task46=Planning Mode
    Wireless-WCS:task47=High Availability Configuration
    Wireless-WCS:task48=Health Monitor Details
    Wireless-WCS:task49=Configure WIPS Profiles
    Wireless-WCS:task50=Global SSID Groups
    Wireless-WCS:task51=WIPS Service
    Wireless-WCS:task52=Configure Lightweight Access Point Templates
    Wireless-WCS:task53=Configure Autonomous Access Point Templates
    Wireless-WCS:task54=Guest Reports
    Wireless-WCS:task55=Handover Server Management
    Wireless-WCS:task56=Monitor Handover Server
    Wireless-WCS:task57=Configure Ethernet Switch Ports
    Wireless-WCS:task58=Configure Ethernet Switches
    Wireless-WCS:task59=Monitor Interferers
    Wireless-WCS:task60=Device Reports
    Wireless-WCS:task61=Network Summary Reports
    Wireless-WCS:task62=Compliance Reports
    Wireless-WCS:task63=CleanAir Reports
    Wireless-WCS:task64=Report Launch Pad
    Wireless-WCS:task65=Run Reports List
    Wireless-WCS:task66=Saved Reports List
    Wireless-WCS:task67=Report Run History
    Wireless-WCS:task68=Automated Feedback
    Wireless-WCS:task69=TAC Case Attachment Tool
    Wireless-WCS:task70=Ack and Unack Security Index Issues
    Wireless-WCS:task71=View Security Index Issues
    Wireless-WCS:task72=Monitor Media Streams
    Wireless-WCS:task73=Voice Diagnostics
    Wireless-WCS:task74=ContextAware Reports
    Thanks,
    Kyle

  • RADIUS Authentication for PI 2.1 with Windows Server 2008 (Windows NPS)

    Hello Community,
    can someone please provide a step-by-step guide (or at least the VSA part) for RADIUS configuration on a Windows 2008 R2 server for Prime Infrastructure 2.1 please?
    We already tried several setups with guides for PI 1.4 without success. The NPS itself authenticates and grants access, but on PI the login always fails.
    Thank you in advance,
    Benjamin

    I'm having the same issue and have a few questions/comments.
    I can get root/admin access working via NPS/radius by justing telling NPS to send PI the  NCS:role0=Root (or Admin) and NCS:virtual-domain0=ROOT-DOMAIN radius attributes.
    But I also have some users who I just want to give read only access.  I cannot seem to get this to work.  At first I configured NPS to send PI the NCS:role0=Monitor Lite and NCS:virtual-domain0=ROOT_DOMAIN attributes.  A user could login, but would immediate get a "You do not have access to the page Monitoring Dashboards" error.  Not to mention almost nothing shows in the menu.  So I tried adding all of the individual tasks related to the "Monitor Lite" role into the radius policy:
    NCS:role0=Monitor Lite
    NCS:task0=Services Menu Access
    NCS:task1=Alarm Stat Panel Access
    NCS:task2=Automated Feedback
    NCS:task3=Monitor Menu Access
    NCS:task4=Theme Changer Access
    NCS:task5=Maps Read Only
    NCS:task6=Help Menu Access
    NCS:task7=License Check
    NCS:task8=Rogue Location
    NCS:task9=Reports Menu Access
    NCS:task10=Monitor Tags
    NCS:task11=Alarm Browser Access
    NCS:task12=Configure Menu Access
    NCS:task13=Search Access
    NCS:task14=Tools Menu Access
    NCS:task15=Administration Menu Access
    NCS:task16=Monitor Clients
    NCS:task17=Home Menu Access
    NCS:task18=Client Location
    NCS:task19=OnlineHelp
    NCS:task20=TAC Case Management Tool
    but I'm not having any luck.  The NPS radius logs always show success, but the read-only users always get the same error and almost nothing visible in the menus.
    Has anyone successfully configured radius with something other than Admin or Root privileges?
    Thanks!

  • Adding WCS server in ACS for AAA

    Hi,
    I tried to add WCS into ACS server and I have done the all the required configuration but still WCS is unable to authenticate thro ACS. There is no passed or failed auth report on ACS for WCS users. Can you  guide me on how to fix it?
    Thanks,
    Hassan

    Curious... Did you load the WCS attributes from WCS to ACS?
    Example
    role0=SuperUsers
    task0=Users and Groups
    task1=Audit Trails
    task2=TACACS+ Servers
    task3=RADIUS Servers
    task4=Logging
    task5=License Center
    task6=Scheduled Tasks and Data Collection
    task7=User Preferences
    task8=System Settings
    task9=Diagnostic Information
    task10=View Alerts and Events
    task11=Email Notification
    task12=Delete and Clear Alerts
    task13=Pick and Unpick Alerts
    task14=Configure Controllers
    task15=Configure Templates
    task16=Configure Config Groups
    task17=Configure Access Points
    task18=Configure Access Point Templates
    task19=Configure Choke Points
    task20=Monitor Controllers
    task21=Monitor Access Points
    task22=Monitor Clients
    task23=Monitor Tags
    task24=Monitor Security
    task25=Monitor Chokepoints
    task26=Mesh Reports
    task27=Client Reports
    task28=Performance Reports
    task29=Security Reports
    task30=Location Server Management
    task31=View Location Notifications
    task32=Maps Read Only
    task33=Maps Read Write
    task34=Client Location
    task35=Rogue Location
    task36=Planning Mode
    task37=Ack and Unack Alerts
    task38=Migration Templates
    task39=Configure Spectrum Experts
    task40=Monitor Spectrum Experts
    task41=Virtual Domain Management
    task42=High Availability Configuration
    task43=Health Monitor Details
    task44=Configure WIPS Profiles
    task45=Global SSID Groups
    task46=Configure Lightweight Access Point Templates
    task47=Configure Autonomous Access Point Templates
    task48=Scheduled Configuration Tasks
    task49=Configure Location Sensors
    task50=Configure ACS View Servers
    task51=Auto Provisioning
    task52=Monitor Location Sensors
    task53=RRM Dashboard
    task54=Compliance Assistance Reports
    task55=Voice Audit Report
    task56=Config Audit Dashboard
    task57=Handover Server Management
    task58=Monitor Handover Server
    task59=Configure Ethernet Switch Ports
    task60=Configure Ethernet Switches
    task61=Monitor Interferers
    task62=Device Reports
    task63=Network Summary Reports
    task64=Compliance Reports
    task65=CleanAir Reports
    task66=Report Launch Pad
    task67=Run Reports List
    task68=Saved Reports List
    task69=Report Run History
    task70=Automated Feedback
    task71=TAC Case Attachment Tool

  • WCS authentication in Microsoft Radius

    Hi!
    We've been using the WCS for some years now and have chosen (more along the lines of not bothering to put in the hours required to change it) to use local authentication. However, I've finally grown tired of people asking me to reset their password after they have forgotten it. We are a group of 5 people who need access but only 3 who use the WCS regularly, thus the problem
    Now we're trying to change to using RADIUS authentication. Our primary Radius-server is running 2k8 with NPS while our backup server is running 2k3 with IAS. The WCS is running at 6.0.181.0 though we're considering upgrading it.
    My problem is that I'm unable to find any sort of documentation of how to configure our primary radius server. I found this http://mihai.radoveanu.ro/2010/11/configuring-the-radius-authentication-with-cisco-wireless-control-system-6-0-196-0/ for when using IAS and a WCS running 6.0.196.0. In NPS I couldn't find the cisco-av-pair attribute. We tried without this attribute and with fallback to local but ended up not being able to log in at all.
    Would be really gratefull for some help! My main expertise is in networking so go easy on me, please!

    I personally used a combination of netsh and excel to add the cisco av types needed.
    However after logging successfully in through NPS RADIUS authentication i was only able to see the front page and was given permission denied errors on most if not all pages.. I tried adding all of the Admin pairs and then tested the SuperUser pairs..
    According to the radius log files the correct network policy was being applied so the cisco av pairs must have been sent as well..
    I gave up but here's how i did the netsh thing (profileid refers to the cisco av pairs, not a policy nor connection profile):
    netsh nps set np "networkpolicyname" profileid = "0x1388" profiledata = "Wireless-WCS:role0=admin" profiledata = "Wireless-WCS:task0=UsersandGroups" profiledata = "Wireless-WCS:task1=AuditTrails" profiledata = "Wireless-WCS:task2=TACACS+Servers" profiledata = "Wireless-WCS:task3=RADIUSServers" profiledata = "Wireless-WCS:task4=Logging" profiledata = "Wireless-WCS:task5=LicenseCenter" profiledata = "Wireless-WCS:task6=ScheduledTasksandDataCollection" profiledata = "Wireless-WCS:task7=UserPreferences" profiledata = "Wireless-WCS:task8=SystemSettings" profiledata = "Wireless-WCS:task9=ViewAlertsandEvents" profiledata = "Wireless-WCS:task10=EmailNotification" profiledata = "Wireless-WCS:task11=DeleteandClearAlerts" profiledata = "Wireless-WCS:task12=PickandUnpickAlerts" profiledata = "Wireless-WCS:task13=AckandUnackAlerts" profiledata = "Wireless-WCS:task14=ConfigureControllers" profiledata = "Wireless-WCS:task15=ConfigureTemplates" profiledata = "Wireless-WCS:task16=ConfigureConfigGroups" profiledata = "Wireless-WCS:task17=ConfigureAccessPoints" profiledata = "Wireless-WCS:task18=ConfigureAccessPointTemplates" profiledata = "Wireless-WCS:task19=MigrationTemplates" profiledata = "Wireless-WCS:task20=ConfigureChokePoints" profiledata = "Wireless-WCS:task21=ConfigureSpectrumExperts" profiledata = "Wireless-WCS:task22=MonitorControllers" profiledata = "Wireless-WCS:task23=MonitorAccessPoints" profiledata = "Wireless-WCS:task24=MonitorClients" profiledata = "Wireless-WCS:task25=MonitorTags" profiledata = "Wireless-WCS:task26=MonitorSecurity" profiledata = "Wireless-WCS:task27=MonitorChokepoints" profiledata = "Wireless-WCS:task28=MonitorSpectrumExperts" profiledata = "Wireless-WCS:task29=InterferersSearch" profiledata = "Wireless-WCS:task30=MeshReports" profiledata = "Wireless-WCS:task31=ClientReports" profiledata = "Wireless-WCS:task32=PerformanceReports" profiledata = "Wireless-WCS:task33=SecurityReports" profiledata = "Wireless-WCS:task34=MapsReadOnly" profiledata = "Wireless-WCS:task35=MapsReadWrite" profiledata = "Wireless-WCS:task36=ClientLocation" profiledata = "Wireless-WCS:task37=RogueLocation" profiledata = "Wireless-WCS:task38=PlanningMode" profiledata = "Wireless-WCS:task39=VirtualDomainManagement" profiledata = "Wireless-WCS:task40=HighAvailabilityConfiguration" profiledata = "Wireless-WCS:task41=HealthMonitorDetails" profiledata = "Wireless-WCS:task42=ConfigureWIPSProfiles" profiledata = "Wireless-WCS:task43=GlobalSSIDGroups" profiledata = "Wireless-WCS:task44=WIPSService" profiledata = "Wireless-WCS:task45=ConfigureLightweightAccessPointTemplates" profiledata = "Wireless-WCS:task46=ConfigureAutonomousAccessPointTemplates" profiledata = "Wireless-WCS:task47=ScheduledConfigurationTasks" profiledata = "Wireless-WCS:task48=ConfigureLocationSensors" profiledata = "Wireless-WCS:task49=ConfigureACSViewServers" profiledata = "Wireless-WCS:task50=AutoProvisioning" profiledata = "Wireless-WCS:task51=MonitorLocationSensors" profiledata = "Wireless-WCS:task52=RRMDashboard" profiledata = "Wireless-WCS:task53=ComplianceAssistanceReports" profiledata = "Wireless-WCS:task54=VoiceAuditReport" profiledata = "Wireless-WCS:task55=ConfigAuditDashboard" profiledata = "Wireless-WCS:task56=GuestReports" profiledata = "Wireless-WCS:task57=ConfigureEthernetSwitchPorts" profiledata = "Wireless-WCS:task58=ConfigureEthernetSwitches" profiledata = "Wireless-WCS:task59=DeviceReports" profiledata = "Wireless-WCS:task60=NetworkSummaryReports" profiledata = "Wireless-WCS:task61=ComplianceReports" profiledata = "Wireless-WCS:task62=ReportLaunchPad" profiledata = "Wireless-WCS:task63=RunReportsList" profiledata = "Wireless-WCS:task64=SavedReportsList" profiledata = "Wireless-WCS:task65=ReportRunHistory"
    Simply a matter of copy pasting the exported task list from WCS to a text editor, replacing all "Wireless-WCS: with profiledata = "Wireless-WCS:
    and replacing all newlines with spaces (f.x. in notepad++ choose an extended search in replace all and look for \r\n)

  • Please help in forming query

    Hi,
    Table definition:
    CREATE TABLE TASKS(
    ID NUMBER(4) PRIMARY KEY,
    DESCRIPTION VARCHAR(200),
    CREATE_DATE DATE,
    COMPLETE_DATE DATE
    Table Data:
    ID DESCRIPTION CREATE_DATE COMPLETE_DATE
    1 TASK1 11-AUG-2003 15-AUG-2003
    2 TASK2 12-AUG-2003 16-AUG-2003
    3 TASK3 13-AUG-2003 17-AUG-2003
    4 TASK4 14-AUG-2003 17-AUG-2003
    5 TASK5 15-AUG-2003 18-AUG-2003
    6 TASK6 16-AUG-2003 18-AUG-2003
    7 TASK7 17-AUG-2003 19-AUG-2003
    7 TASK7 21-AUG-2003 22-AUG-2003
    Following data(OUTPUT) is to be retrieved:
    DATE NUMBER_OF_TASKS NUMBER_OF_TASKS
    STILL_OPEN COMPLETED
    11-AUG-2003 1 0
    12-AUG-2003 2 0
    13-AUG-2003 3 0
    14-AUG-2003 4 0
    15-AUG-2003 4 1
    16-AUG-2003 4 1
    17-AUG-2003 3 2
    18-AUG-2003 1 2
    19-AUG-2003 0 1
    20-AUG-2003 0 0
    21-AUG-2003 1 0
    22-AUG-2003 0 2
    Thanks
    Vinay Ram

    Here's one way.
    all_objects can be substituted with any table that has at least 12 rows.
    SELECT
         a.the_date,
         (SELECT COUNT(*)
          FROM   tasks
          WHERE  complete_date > a.the_date
          AND    create_date <= a.the_date)      still_open,
         (SELECT COUNT(*)
          FROM   tasks
          WHERE  complete_date = a.the_date)      completed
    FROM
         (SELECT TO_DATE('10-AUG-2003') + ROWNUM the_date
          FROM   all_objects
          WHERE  ROWNUM <= 12) a,
         tasks t
    WHERE
         a.the_date = t.create_date(+)
    THE_DATE    STILL_OPEN COMPLETED
    11-AUG-2003          1         0
    12-AUG-2003          2         0
    13-AUG-2003          3         0
    14-AUG-2003          4         0
    15-AUG-2003          4         1
    16-AUG-2003          4         1
    17-AUG-2003          3         2
    18-AUG-2003          1         2
    19-AUG-2003          0         1
    20-AUG-2003          0         0
    21-AUG-2003          1         0
    22-AUG-2003          0         1      

Maybe you are looking for