Dbx WS6U2 bulitin exists function not working
The exists function always returns 1 regardless.
This used to work in 5.0.
This causes the prettyprint function in /opt/SUNWspro/WS6U2/lib/dbxrc not to work.
Any fixes/workarounds available ?
Ok...I got the function working.
But now I need some help...
I'm confused about how to properly use the function.
I mean, I know I only want to pass to it two values, the user input Student ID and Date,
but how does my function know to compare those dates/studentid's to the ones in the
table student_schedule.
here's my code:
create or replace function student_GPA
(StdntID IN Student_schedule.Student_ID%Type,
DateAssgn IN Student_Schedule.DATE_GRADE_ASSIGNED%Type,
EnterID IN Number, EnterDate IN VarChar2)
return number is
GPA number;
InsDate varchar2(11);
StdID varchar2(8);
begin
DBMS_OUTPUT.PUT_LINE('--------Get student GPA--------------');
StdID := EnterID;
InsDate:=EnterDate;
-- Calculate the average grade point for this student based on all
-- classes for which a grade has been assigned.
select avg(decode(grade, 'A+', 4.25, 'A', 4, 'A-', 3.75,
'B+', 3.25, 'B', 3, 'B-', 2.75,
'C+', 2.25, 'C', 2, 'C-', 1.75,
'D+', 1.25, 'D', 1, 'D-', 0.75, 'F', 0))
into GPA
from student_schedule
where
StdntID = StdID
AND
DateAssgn >=InsDate
Order by Date_Grade_Assigned Desc;
return GPA;
end;
declare
StID student_schedule.Student_ID%type;
DateGAssgn student_schedule.Date_Grade_Assigned%type;
OutPut varchar2(50);
Begin
StID := &StudentID;
DateGAssgn:=&DateForStudent;
OutPut:=Student_GPA(StID,DateGAssgn);
DBMS_OUTPUT.PUTLINE('Student GPA IS: '||OutPut);
End;
I'm rushing now, so maybe I'm missing the obvious...
any ideas?
Similar Messages
-
Not able to sign into Blackberry Protect. Backup and Restore function not working. Message is: "Your device isn't associated with a Blackberry ID." My Blackberry Messenger and Blackberry World is working fine so I am sure its not an ID issue on the phone. I can sign into Link, Blackberry.com and Protect. I see my device in Protect but cannot send messages or view it on a map. Times out with cannot reach device message. BB Protect on Device has a swirling circle beside the on/of switch. Cannot turn off.
I have deleted Link and re-installed.
I have reset phone to default(factory) and signed in.
OS level is 10.2.1.3062
BB Link is 1.2.3.56
Solved!
Go to Solution.I managed to figure this out myself. I had to delete the device from the Blackberry Protect website. protect.blackberry.com. I wiped my device again and signed in with my Blackberry ID. I dont know if the step of wiping was necessary as I did not try my backup with the current configuration on the device following the delete. Restore is in progress for me!
-
Copy/paste function not working in Firefox 22. Always good in previous versions
Copy/paste function not working in Firefox 22. Always good in previous versions editions
Well I've uninstalled FF22, thanks for the suggestion.
Chrome works perfectly with ZA and C&P. -
Why is the scroll function not working after accessing the voice feature in settings?
Why is the scroll function not working after accessing the voice feature in settings?
For some prerecorded audio files the Transpose slider will not work reliably. I found no clear pattern, when it does and when not.
If all fails, create a loop from the audio file. Select the region in the track and use the command "File: Add region to Loop library".
Set the current key and tempo, name the loop, and save the loop.
Now add it from the loop browser to a new track and delete your old track. The search field in the Loop browser will help you to find the loop quickly.
You will be able to transpose the sample as described above, like a regular loop.
For example - a audio file turned into a loop and transposed: -
MDX -Children count function Not working in Case statement
Hi,
I am trying to create set when you slice with the Hierarchy member is leaf level , I want a output only that Leaf level .
and When I slice with the parent level , it has to give all the members below that parent level.
But the problem here is when I select child member or leaf member , The first condition in the Case is not working
WITH SET
TESTSET AS
CASE
WHEN
[Dimension].[Hierarchy].currentmember.children.count<0
THEN
[Dimension].[Hierarchy].currentmember
ELSE
DESCENDANTS([Dimension].[Hierarchy].Currentmember,,AFTER)
END
SELECT
WBSSET ON 1,
{} on 0
FROM
(SELECT {[Dimension].[Hierarchy].&[10]} ON COLUMNS FROM [CubeName])
Thanks,
SantoshHi Santosh,
I don't think Children count function not working in case statement, I have tested it on my local environment, here s the sample query for you reference.
with member
testset as
case
when
[Geography].[Geography].currentmember.children.count<10
then "X"
else "OK"
end
select testset on 0,
{[Geography].[Geography].[Country].members} on 1
from
[Adventure Works]
In your scenario, the issue might be caused by the query isself, you can try to use IsLeaf Funcion to achieve your requirement. Please refer to the links below.
http://msdn.microsoft.com/en-us/library/ms144932.aspx
http://www.databasejournal.com/features/mssql/article.php/3633696/MDX-Operators-The-IsLeaf-Operator--Conditional-Logic-within--Calculations.htm
http://www.mdxpert.com/Functions/MDXFunction.aspx?f=22
Regards,
Charlie Liao
TechNet Community Support -
Palm Desktop 6.2.2. and Lookup function not working in Windows 7
Palm Desktop's lookup function not working in Windows 7 64bit. Please help.
Post relates to: Centro (Verizon)
This question was solved.
View Solution.I was able to solve this by unchecking compatibility mode and setting the application to run as administrative.
-
Send & Recieve functionality not working with WebDav after installing Acrobat XI
Send & Recieve functionality not working with WebDav after installing Acrobat XI for PDF. Acrobat XI is complete installations(Trial Version).
Hi Kiro ,
Did you try opening that file in any other browser ?If not ,please try doing that once and see if that works for you.
Try Repairing Acrobat once and see if that helps.
Launch Acrobat>Navigate to Help>Repair Acrobat Installation.
Regards
Sukrit Dhingra -
Keyboard + mouse functions not working
After updating InDesign CC 6-days ago started to have issue with all keyboard + mouse functions not working ex. shift key does not constrain proportions when scaling. A restart fixed the issue thr first time. Today I have installed latest update and shut down and restarted several times does not fix issue. On a MacBook pro running OS X Mavericks 10.9.2.
Disconnected extrenal devices ie keyboard and Wacom Bamboo tablet and restarted computer seemed to correct the issue.
-
In my ipad zoom function not working..some day before it worked,but when i double pinch with my three fingers it zooms negligible, wat to do?plzz help me..
It works when I reset my all settings...
Settings>general>reset>reset all settings
It never delete ur all contacts and any others,but ur wallpaper and wifi connection will change..it can be as before... -
HT204168 touch screen function not working when using facetime
Why is my iPad touch screen function not working when using FaceTime?
Hi megascones,
I apologize, I'm a bit unclear on the exact nature or scope of the issue you are describing. If you are having issues with the touch screen on your iPad, you may find the troubleshooting steps outlined in the following article helpful:
If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
Regards,
- Brenden -
Why is my touch screen function not working when using facetime
Why is my touch screen function not working when using facetime
Hello megascones,
After reviewing your post, it sounds like the screen is not responding to touch in one app. I would recommend that you read this article, it may be able to help the issue.
If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
Restart your device. If you can't restart, reset your device.
Thanks for using Apple Support Communities.
Have a nice day,
Mario -
I purchase some apps, my son deleted some. But I have download again from cloud. But some functions not working ask me to pay again. How can I use functions without paying again. Thank you
Search around on the app settings and see if there's a "Restore purchases" option.
-
After upgrading to maverick; help & other functions not working
After upgrading to maverick; help and other functions not working?
Sometimes just closing and reopening the Help window will clear up the problem. If it doesn't, log out or restart the computer and try again. Otherwise, you may need to delete the Help cache.
Back up all data.
Triple-click anywhere in the line below on this page to select it:
~/Library/Caches/com.apple.helpd
Right-click or control-click the highlighted line and select
Services ▹ Reveal
from the contextual menu.* A Finder window should open with a folder selected. Move the selected folder to the Trash. Log out, log back in, and test. Help pages will be slow to load at first.
If that doesn't work, the problem may be caused by network conditions. It may go away by itself, though I can't say how long you should wait.
A persistent failure to load help data has been reported as an issue with satellite networks. Test on a different network, if possible. I've also seen at least one report that Photo Stream in iCloud can mysteriously interfere with Help. I'm not sure whether that's true, but try disabling Photo Stream, if applicable.*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combinationcommand-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. -
Partner function not working when creating PO with ref to PReq
Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
however it works when i create the PO directly ( without the PR ref )
I am using the same material & Plant for both manual PO & PR to PO.
Any idea what could be wrong .
I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
Thanks
DkmurthyHi,
I have also an issue that seems similar to one you are discussing.
When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
Company code is assigned to purchase organization, and so is purchase organization to plant.
Any idea why there is no automatic message determination in the case of the transaction: ME21N
Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
Any input is wellcome. -
Need help text_io function not working in 11i
Hi,
I am new in form devlopment Kindly help
We create a customize form on 6i then deploye it on our Oracle apps Server with EBS. I want to create a form using form 6i which read a text file from client side and insert data into table i try text_io function but its not working after deployed form on server and also try webutil function but its not working with oracle forms 6i kindly help how can i do this while using forms 6i i will be very thankful.
ThanksHi;
Please check first below link
Forms 6i Developer and Forms 6i Services - Demonstrations and Sample Code
http://www.oracle.com/technology/sample_code/products/forms/6idemos.html
Also check below googling which exists for step by step guide
www.pdfoo.com/result-Oracle-forms-6i-step-by-step-tutorial.html
www.pdfoo.com/resultpage9~forms-6i-step-by-step-application-development -examples.html
Also see:
http://www.google.com.tr/#hl=tr&biw=1259&bih=793&q=forms+6i%2Bstep+by+step&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=71a534c4a5161590
Regard
Helios
Maybe you are looking for
-
I have downloaded Viber to my iphone 4S, it was previously working, but as of today it has continually asked for an internet connection when i try to make a call or send a message. It displays this message while connected to the internet at my hom
-
OSB to SOA suite package not forming correctly
Setup is as follows: AIX 5.3 on the box, 10 gigs ram, installation of the latest releases of OSB and SOA suite on top of weblogic. I've built out a couple of simple database queries in BPEL based off wsdls, dropped them on to the SOA suite server, us
-
Search help for table control input value
Hi, We have designed a GUI for supply invoice approval workflow with table control. In the table control fields, we assigned one search help on one field. We can enter the values(F4 Help) up 8 row in the default screen, which is having 8 row. After s
-
OCS 10.1.2.2. on Win2003ServerR2 - Calendar Notifications - Mail hangs
Hello, I'm running OCS 10.1.2.2 on a windows 2003 Server R2 box. If I create a new appointment or meeting in Calendar, including mail notifications to the participants, the whole email application becomes unusable. Or, better, it is apparently OK but
-
How to adopt the index changes during upgrade
Hi All, Please let me know how to adopt the standard index changes during upgrade. We are not able to change using SPDD. Regards Anil Kumar K