can someone help with the following code plsql errors...

Hello

If anyone can help with the following code... to get a successful outing.

create or replace package lib_01 as

procedure lib_proc01 (p_user_id in numbers, p_user_name in varchar2);

end lib_01;

create or replace package body lib_01 as

procedure lib_proc01 (p_user_id in numbers, p_user_name in varchar2) as

number of v_user_id;

v_user_name varchar2 (50);

number of v_avl_books;

number of v_avl_days;

date of v_end_date;

date of v_return_date;

Start

dbms_output.put_line ('Enter User Name');

dbms_output.put_line (' username :'|| p_user_name);

Select user_id, user_name in v_user_id v_user_name of user_registration where user_name = p_user_name;

If v_user_name <>p_user_name then

dbms_output.put_line (' username is not.) Please submit full name ');

end if;

If v_user_id is null or v_user_name is null then

dbms_output.put_line ("' user not found");

validate_userLogin;

on the other

validate_issuedbooks (p_issuecount);

end if;

If v_issuecount < v_avl_books then

issuebooks;

on the other

Number of return of late_fee (p_mem_id, p_extradays, p_latefee_total);

end if;

If paid_flag = "Y" then

issuebooks;

on the other

dbms_output.put_line ("' book may be issued due to its maximum reached late fees");

end if;

end lib_proc01;

procedure validate_userLogin is

procedure reg_proc is

procedure user_validate (p_id_proof in varchar2, p_id_no out varchar2) is

v_id_proof varchar2 (20);

v_id_no varchar2 (20);

Start

Select user_name, id_proof, id_no, v_user_name, v_id_proof, v_id_no of user_registration where id_proof = p_id_proof;

If v_id_proof = "Adhar_Card" then

dbms_output.put_line ('user a valid proof of ID');

dbms_output.put_line (' and the id no. :'|| is p_id_no).

on the other

dbms_output.put_line ('Invalid ID evidence.) Please submit valid proof of ID ');

end if;

exception

When no_data_found then

dbms_output.put_line ('No Data found');

end user_validate;

procedure member_validate (p_mem_id series)

v_mem_flag char (1);

curr_date date: = sysdate;

date of v_mem_enddate;

Start

dbms_output.put_line('Mem_flag:'|| v_mem_flag);

Select mem_flag in the v_mem_flag of user_login where user_id = v_user_id;

If v_mem_flag = 'n' or v_mem_flag is null then

dbms_output.put_line ('The User do not have membership');

on the other

Select mem_id in the v_mem_id of user_login where user_id = v_user_id;

dbms_output.put_line ('the user has membership');

v_mem_id: = p_mem_id;

Select mem_enddate in the member_login v_mem_enddate where mem_id = v_mem_id;

If v_mem_enddate < curr_date then

dbms_output.put_line ('Membership has expired' | v_mem_id |' on ' | v_mem_enddate);

on the other

dbms_output.put_line ('User a validity again' | v_mem_enddate);

end if;

end if;

exception

When no_data_found then

dbms_output.put_line ("' no data found");

while others then

dbms_output.put_line (' another error.) Please find");

end member_validate;

Start

insert into user_registration values ('& first_name ',' & last_name', null, ' & user_type',)

address_ty ("& bldg_no",

'& bldg_name',

'& Street',

' & city ",

'& State',

'& zip'

),

user_phone ',' & user_mail ',' mem_idproof', ' & id_no');

Dbms_output.put_line ('user is properly registered');

exception

When no_data_found then

dbms_output.put_line ("' data not found");

end reg_proc;

Start

Dbms_output.put_line (' enter ID or user name ');

Dbms_output.put_line (' username: ' | p_user_name);

If v_user_name is null then

Dbms_output.put_line ('user not found');

reg_proc;

Insert user_login SELECT user_id_seq. NEXTVAL, user_name, NULL, mem_id_seq. NEXTVAL, user_type FROM user_registration WHERE user_name is lower (p_user_name);

Dbms_output.put_line (' because the user wants to have the membership? ");

Dbms_output.put_line ('If Yes, please pay dues");

INSERT INTO member_login SELECT mem_id_seq. CURRVAL, SYSDATE, SYSDATE + avl_days, 500, 'Y' of user_login ul, bl book_loan WHERE ul.mem_type = bl.mem_type AND user_name = p_user_name;

END IF;

exception

When no_data_found then

dbms_output.put_line ("' no data found");

When too_many_rows then

dbms_output.put_line (' too many lines).

END validate_userLogin;

procedure validate_issuedbooks (p_issuecount series)

number of v_issuecount;

Start

Select user_login u, bl book_loan, avl_days, avl_books in v_avl_days, v_avl_books where bl.mem_type = u.mem_type and user_id = p_user_id;

SELECT count (case when end_date < end return_date then p_mem_id) as invalidcount in v_issuecount from book_count where mem_id = p_mem_id;

v_issuecount: = p_issuecount;

dbms_output.put_line (' no. books that the user contains the :'|| p_issuecount);

end validate_issuedbooks;

procedure issuebooks is

procedure book_avl (p_avl_now_flag in p_avl_date Boolean, date) is

v_avl_now_flag char (1);

date of v_avl_date;

procedure reader_bookissue is

Start

insert into values drive (p_user_id, v_book_id, sysdate, sysdate, null);

insert into book_count values(p_mem_id,v_book_id,sysdate,sysdate,null);

Update book_availability set issued_to is "Reader" where book_id = v_book_id;.

end reader_bookissue;

Start

Select book_name, b.book_id avl_now_flag v_book_name, v_book_id, v_avl_now_flag of the book b, book_availability b where b.book_id = ba.book_id and ba.book_id = p_book_id;

If v_avl_now_flag = "Y" then

dbms_output.put_line ('the book is available for issuance' | v_book_id);

on the other

Select mem_type in the v_mem_type of user_login where user_id = (select user_id from book_availability where avl_now_flag = 'n' and book_id = p_book_id);

If v_mem_type = "Reader" then

reader_bookissue;

dbms_output.put_line (' the book is with Reader.) Please try tomorrow.') ;

on the other

dbms_output.put_line ('the book is member');

end if;

Select avl_date in the book_availability v_avl_date where book_id = p_book_id;

v_avl_date: = p_avl_date;

dbms_output.put_line (' the available date is: ' | p_avl_date);

end if;

end book_avl;

Start

insert into book_count values(p_mem_id,p_book_id,sysdate,sysdate+v_avl_days,v_return_date);

Update book_availability set book_id = p_book_id, avl_now_flag = 'n', avl_date is to_date (sysdate + v_avl_days,' dd-mm-yyyy ""), issued_to = v_mem_type, user_id = p_user_id where mem_id = p_mem_id;

commit;

dbms_output.put_line ("' the book published successfully");

end issuebooks;

Number of function return late_fee (p_mem_id in number, p_extradays series, p_latefee_total number) is

number of v_extradays;

number of v_latefee_total;

number of v_latefee_per_book;

number of v_latefee_per_day;

number of v_book_count;

Start

Select trunc (sysdate) - v_end_date in v_extradays from book_received where mem_id = p_mem_id and book_id = p_book_id;

p_extradays: = v_extradays;

v_latefee_per_book: = v_latefee_per_day * v_extradays;

v_latefee_total: = v_latefee_per_book * v_book_count;

p_latefee_total: = v_latefee_total;

dbms_output.put_line ('The total AMT for not returned books' | p_latefee_total);

end late_fee;

end lib_01;

Hello

I checked the first 10 lines after the beginning and I could count already several errors.

Is it an exercise or a real code, you must provide?

Kind regards.

Alberto

Tags: Database

Similar Questions

  • Can someone help with the loading of a js library

    I try to write code to do drag and drop.  I'm the class of lynda.com and following directions.  I use a mac 10.x and animate the current edition of the edge.  I'm going to jqueryui.com and download the latest library, version 11.x.x.  I then unzip it and import it into scripts by using the button +.  The final result shows js/jquery-ui.min.js under scripts in the library.

    Lynda.com recommended I run the following action point under creationComplete code.

    {if (jQuery)}

    Alert ("Loaded");

    }

    I'm doing this, but when I tells the browser (chrome last) I don't get the alert.

    To check:

    I write the following code.

    SYM.$("h"). Draggable();

    I do not get the expected results in both cases; No warning and no draggable 'h' symbol

    Any advice would be appreciated.

    WWhat version to animate?

    If you later need to load jquery first, then jquery ui - .the order is important.

    Check out my sample on simple called edgeheroo.com draggable.

  • Can someone help with the scripts on this file?

    Hi, I hope someone with a bigger brain can help me here.

    I have an existing Flash CS3 file that makes up the result to http://www.infusion-set.com/Flash/eLearning/Inset30/inset30_eguide.html .

    The customer asked if I could add an extra tab at the top after that 'group' called 'Contact us' with link to an additional page. The design was done in ActionScript 2 with references to XML files for dynamic content because it has been done in other languages.

    I modified the XML file with the correct references to a new page and a .swf file that accompanies it to play in the field of animation.

    I tried a .fla version where I duplicated one of the existing tabs script, changed the XML references and changed the variables if necessary to "con or"Con"(which is to reach us). Unfortunately, he made the menu tab go completely off the page and was patently false in some way.

    Can someone give me a clue as to what to change here on the original file that I am a novice with ActionScripts, so ask me.

    For reference, I have attached the HTML files with scripts of original file and my incorrect version. The chronology is 103 images with the scripts placed in frame 1 and 102

    Thank you.

    Garry

    The buttons are all created using the same library object (but MC), except for the code you have in the revised file does not call on it for the con button.

    You calling on something with a name of 'con' link, which tells me that a quick check is not - then it is undefined in the code when you try to use it.  I found this by using trace (newConBut._x); After its _x value was assigned, as I said, you should try.   So the first thing you want to do is to change the following line from...

    var newConBut = _root.attachMovie ("con", "conbut", _root.getNextHighestDepth ());

    TO

    var newConBut = _root.attachMovie ("but", "conbut", _root.getNextHighestDepth ());

    so that it uses the but MC who is used to this end in the library.  So, you want to correct the assignment _x of the buttons and I think that you had previously...

    newConBut._x = 650 - newConBut._width;
    newRecBut._x = newConBut._x - newRecBut._width;

    Here is a picture of what these changes (note, without the XML file, I had to finagle things just to work, then the labels of biutton are not what they will be)...

  • Can someone help with the problems of email account? Messages from the console?

    vcyman , March 9, 2016 13:16

    I had ongoing issues with my Mail months including Spindumps and just doesn't look good, so I changed the e-mail settings in the past according to the directives of the ISP, but now the incoming server is grayed out, more it's time to see if my overall situation needs some changes. As I am researching the current issue of the evolution of the e-mail settings, I see the information that can be linked to a larger problem, so I'm including that in a larger context.

    I use my Web site for most of my email accounts and received error messages indicating that the certificate is not valid. I contacted Hostway and learned that they have their own encryption and don't require SSL, but they said Apple mail works best if I use their specific settings instead of those I have. The server settings entering my accounts existing messaging site are shaded out and immutable. What is the best way to make changes without causing more problems?

    I tried to move the mail account plist.to the trash and restart hoping that would disable the accounts but it didi not work. Or I sign out to iCloud and make changes?

    MORE INFORMATION

    In/Library/Application Support / Mail / Online Account Types/com.apple.updated.mailaccounts/MailAccounts.plist, the Account.plist includes an e-mail account which is Ameritech and not logged into my site.

    in Library/Mail/it is V2 and V3. V2 is V2/MailData/Accounts.plist. V3 contains no Accounts.plist. in MailData. I printed the Accounts.plist. and there are 22 pages of data. Each e-mail account is repeated at least three times and it seems connected to the when I made changes to the account settings in the past.

    This may be related to a larger problem because I have error messages related to the e-mail in the console.

    09/03/16 12:05:22.644 PM cloudd [429]: error SecOSStatusWith:-[50] error Domain = NSOSStatusErrorDomain Code =-50 'query lack the class name' (paramErr: error in user parameter list) UserInfo = {NSDescription = query missing class name}

    09/03/16 12:05:22.648 PM DCs [365]: securityd_xpc_dictionary_handler cloudd [429] copy_matching error Domain = NSOSStatusErrorDomain Code =-50 'query lack the class name' (paramErr: error in user parameter list) UserInfo = {NSDescription = query missing class name}

    09/03/16 12:05:22.648 PM cloudd [429]: error SecOSStatusWith:-[50] error Domain = NSOSStatusErrorDomain Code =-50 'query lack the class name' (paramErr: error in user parameter list) UserInfo = {NSDescription = query missing class name}

    09/03/16 12:05:22.649 PM Mail [634]: cannot load the draft for documentID: C265D900-C6A3-48B9-AF60-C83FE29A7AED

    09/03/16 12:05:22.705 PM Mail [634]: cannot load the draft for documentID: E1D3029B-C2BF-425E-8F67-32C190B420CF

    09/03/16 12:05:23.142 PM Mail [634]: CFNetwork SSLHandshake failed (-9807)

    09/03/16 12:05:23.144 PM Mail [634]: CFNetwork SSLHandshake failed (-9807)

    09/03/16 12:05:23.417 PM Mail [634]: CFNetwork SSLHandshake failed (-9807)

    09/03/16 com.apple.AddressBook.InternetAccountsBridge [501 12:05:23.432 PM]: looking for iCDP status IDDM 61149625 (checkWithServer = 0)

    09/03/16 com.apple.AddressBook.InternetAccountsBridge [501 12:05:23.435 PM]: error XPC while checking if iCDP is enabled for IDDM 61149625: error Domain = NSCocoaErrorDomain Code = 4099 "the connection to the service named com.apple.cdp.daemon was invalid." UserInfo = {NSDebugDescription = the connection to the service named com.apple.cdp.daemon has been invalidated.}

    09/03/16 com.apple.AddressBook.InternetAccountsBridge [501 12:05:23.435 PM]: connection Daemon invalidated!

    09/03/16 com.apple.AddressBook.InternetAccountsBridge [501 12:05:23.436 PM]: [AOSAccounts]: [__49-[ACAccountStore (iCloudAccount) icaAppleAccounts] _block_invoke]: accountsWithAccountType returned the error: Domain = com.apple.accounts error Code = 9 '(null) '.

    09/03/16 12:05:23.446 PM Mail [634]: CFNetwork SSLHandshake failed (-9807)

    09/03/16 12:05:23.716 PM Mail [634]: CFNetwork SSLHandshake failed (-9807)

    09/03/16 12:05:24.076 PM sandboxd [139]: com.apple.Addres (501) ([501]) deny com.apple.cdp.daemon mach-search

    09/03/16 12:05:24.626 PM Mail [634]: CFNetwork SSLHandshake failed (-9807)

    09/03/16 12:11:40.263 Safari [624] PM: KeychainGetICDPStatus: key :-25300

    09/03/16 12:11:40.263 Safari [624] PM: KeychainGetICDPStatus: status: power off

    09/03/16 12:49:52.821 PM Mail [634]: * the Assertion failure in French-[IMAPParseContext _parseStatusResponse], /Library/Caches/com.apple.xbs/Sources/Mail/Mail-3112/IMAP/Connection/Responses/ IMAPParseContext.m:956

    09/03/16 12:49:52.821 PM Mail [634]: exception IMAP response analysis: tried to parse a response from status without knowing the separator character.

    I'd appreciate any suggestions.

    Is your IMAP account?

    You have stored messages slot "on my Mac"?

    If create you your account in a new user, it works correctly?  (see below)

    See my answer in a similar debate. Let me know if you need more assistance.

    Re: The first time to open Mail.app: opens the window Import Mail Message - crashes during the infinite-import cycle how to break it?

    Re: Certificate error. When the message appears you must choose "see the certificate", then select "always Trust ' in keychain."

    CREATE A NEW USER

    Go to system-> Preferences, create a new user in users and groups.

    Place in the new user by logging in under the Apple in the menu bar.

    Log in to the new user.

    You can skip the connection with an Apple ID, unless you want to test an iCloud account. Select continue, then jump.

    Open Mail and add your account. If it's a POP account, make sure that you do not select "remove copy from server after retrieving a message," on the Advanced tab.

    You still see the issue?

  • Can someone help with the problems of storage for photoshop cc

    Hello

    Ive recently bought a new mac and have downloaded photoshop top. When I open the program and work on A2 size pages for my portfolio my storage used on my mac goes 92 GB free for only 12-8 GB free, what I read photoshop uses temporary when editing files (I don't know if that's okay) and so use temporary RAM.

    Is there anyway to stop that I sometimes get a message saying my storage scratch is full and I can do is no longer any work, please could someone with more experience let me know if there is a way to solve this problem, or if I simply have to share my new laptop for one that allows me to have more storage RAM.

    Thank you!

    In the screenshot below I've implemented an A2 document for printing.

    The size of the file is 99.6 MB, and the pixel dimensions are 4961 x 7016, which should work without problem.

    If you have several layers the file size, but it must always be easy to manage.

  • Help with the enforcement code model

    I need to find a way to apply a pattern that I can't enforce through the specification of the normal template.

    I have a field that must be two numeric characters.  If only a numeric character is entered, then it must be two characters, with the first main character being zero.  So, if you enter 3, then the field becomes 03.

    In addition, none of the non-numeric characters cannot be accepted.  Unfortunately, if I try to specify a model in a numeric field, then it converts all non-numeric characters zeros!  Who does not work for my application.

    The plan I came up with is this: make the field so that it is not wide enough for the characters to width fixed to fit and check the box to limit the length of field to the visible area.  Then enter the code on the output event that will check the characters who had entered one at a time, first the left then the right.  It can examine the ASCII values for these characters to ensure that they represent 0 to 9 digits; This would mean that the ASCII value of each character must be greater than or equal to 48 and less than or equal to 57.  If one of the characters does not pass this test, then the computer will beep (as it does when I try to enter an alphabetic character in a numeric or decimal field, if it is possible to make a beep like that) and the field is cleaned.

    Can someone help me with this code?  I know I have to use javascript instead of formcalc (since there is no function ASCII in formcalc I know), and I don't know javascript, so I'm at a loss.

    Thanks for any help...

    Hello

    As with most of the code, there are a number of ways to do this. Here is an example that you can add to the event of output of the field in question and make sure that the language is set to JavaScript, or well the code generates an error. I've added comments for you to see what is happening:

    var myRegex = / ^ \d{2}$/; This corresponds to a 2-digit model

    var singleDigits = [0,1,2,3,4,5,6,7,8,9]; Table for verification to a single digit

    for (var i = 0; i)< singledigits.length;="" i++){="" loop="" through="" single="" digit="">

    If (this.rawValue == i) {/ / if the value is a number in the table}

    this.rawValue = "0" + i; Add a "0" in front

    }

    }

    If (this.rawValue! = null | this.rawValue! = ") {/ / only if the field contains a value...}

    If (! this.rawValue.match (myRegex)) {/ / and it does not match the model (i.e. 2 digits)}

    this.rawValue = "; Clear the field

    xfa.host.setFocus (this); set the focus on the ground

    xfa.host.messageBox ("error: reason for conflict.") Only 2 digits can be entered in this field. ") ; Enter any message you want here

    }

    }

    This field must be a text field for the '0' to be added to the front, otherwise, if it is a numeric field, the code will try to add the '0' mathematically the number entered and you'll end up with a single digit again.

    Another option is to make the field a comb 2 numbers and then you can delete the second block of code.

    -

    Dallas

  • Need your help with the following 3 error messages that now appear on my PDF document.

    Hi all

    I worked on a PDF document to the University for the past 4 months. Its a PDF which I was informed as I go along and recording with no problems.

    Today however I try to open it to work and that's what I get now...

    "This document enabled features extended in Adobe Reader." The document has been changed since its creation and use of the extended functionality is no longer available. For the original version of this document, contact the author'

    "There is an error on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem.

    «The font 'GTAJBY + Bliss-Regular' contains a bad /BBbox.»

    It has never done this before, and even when I tried to open my backup file it did the same.

    Can someone help me please? I have so much work that is potentially lost on this...

    (Also, I'm not a large part of the head of the computer, so please keep in simple terms)

    Thanks in advance everyone...

    Great thanks for your help...

    Some "experts".

  • Someone help with the export of a book cover of three pages on a single page for CreateSpace?

    Hello

    Can someone help me to export a book cover of three pages in PDF single page InDesign? It has exported to PDF in three separate pages, probably because I created my document in the form of three pages originally .indd. I tried to load the PDF for CreateSpace but he rejects it as he wants as a page.

    I really hope this is easily fixed as I can't bear the thought of go everywhere.

    I would be very grateful for a quick answer because I'm going on vacation in 48 hours...

    Thank you

    Sean

    PS - Thanks to Peter Spier for answering a previous question a few weeks; For some reason, I couldn't answer (say thank you). 'No available actions' was the message, or something in that sense.

    Is it set up as a page three in the ID? If so, check the double option during export.

  • I have a Compaq W17q monitor. The menu for the monitor keeps appearing on the screen and I can't turn it off. Can someone help with this problem?

    The menu for the monitor screen keeps popping up on my screen and I can't remove it with the menu button.  Help, please.  It interferes with the work on the computer.

    Contact Compaq support.

  • Please can someone help me fix this code? Its doesn't seem to make the div you want to stick to the top of the page: the code is shown below.

    I need help, what is the problem with the code below:

    <! DOCTYPE html >

    < html >

    < head >

    < title > < / title >

    < style >

    *{

    margin: 0;

    padding: 0;

    }

    {#sticky}

    Width: 600px;

    background-color: #000;

    color: #fff;

    do-size: 2em;

    border-radius: 0.5ex;

    padding-top: 10px;

    padding-bottom: 10px;

    padding-left: 3px;

    }

    {#sticky.stick}

    position: fixed;

    top: 0;

    z index: 10000;

    }

    {#sticky-anchor}

    height: 0;

    }

    {#wrapper}

    Width: 600px;

    Auto margin: 0;

    padding: 0;

    }

    #header {}

    Width: 600px;

    height: 140px;

    Auto margin: 0;

    }

    #content {}

    Display: block;

    height: 800px;

    Width: 600px;

    background-color: pink;

    }

    < / style >

    < / head >

    < body >

    < script >

    function sticky_relocate() {}

    var window_top = $(window) .scrollTop ();

    var div_top is $('#sticky-anchor').offset () .top;.

    If (window_top > div_top) {}

    $('#sticky').addClass ('stick');

    } else {}

    $('#sticky').removeClass ('stick');

    }

    }

    {$(function()}

    $(window) .scroll (sticky_relocate);

    sticky_relocate();

    });

    < /script >

    < div id = 'wrapper' >

    < div id = "header" > < welcome h1 > < / h1 > < / div >

    < div id = "post-it-anchor" > < / div >

    < div id = "sticky" > it will stay at the top of the page < / div >

    < div id = "content" > < / div >

    < / div >

    < / body >

    < / html >

    Nothing wrong (other than a few problems regarding coding practices). You simply need to link to the top of the jQuery library.

  • Can someone help with this statement?

    SELECT count (*) from document_master
    where PROJ_id = "888"
    and doc_status = 'I '.
    and rec_update_date like ' % 08'.
    rec_update_date desc order


    This gives result numbered for a column that ends in 08.
    Can someone tell me how to generate a list of 09, 08, 07, 06, etc...

    I tried
    and rec_update_date like ' %-08' or rec_update_date like ' %-09'.
    I also tried
    and rec_update_date like ' % 08'.
    and rec_update_date like ' %-09'.

    neither work.

    I appreciate all help.

    Thank you

    What is the rec_update_date column data type? It if DATE, right? If so, you question is completely wrong. Condition rec_update_date like ' %-08' force the implicit conversion from DATE to string using default data format that's in your case, be MON-JJ-AA and dependent client session.» So if the user whose session has different default date format runs your code it will not get the expected results:

    SQL> alter session set nls_date_format = 'DD-MON-YY';
    
    Session altered.
    
    SQL> select sysdate from dual;
    
    SYSDATE
    ---------
    31-JUL-09
    
    SQL> select sysdate from dual where sysdate like '%-09';
    
    SYSDATE
    ---------
    31-JUL-09
    
    SQL> alter session set nls_date_format = 'MM/DD/YYYY';
    
    Session altered.
    
    SQL> select sysdate from dual;
    
    SYSDATE
    ----------
    07/31/2009
    
    SQL> select sysdate from dual where sysdate like '%-09';
    
    no rows selected
    
    SQL> 
    

    Looks like you want to select counties of line for each year. If so, use:

    select trunc(rec_update_date,'YYYY'),count (*) from document_master
    where PROJ_id = '888'
    and doc_status = 'I'
    group by trunc(rec_update_date,'YYYY')
    order by trunc(rec_update_date,'YYYY') desc
    /
    

    SY.

  • I need help with the following sql.

    I'm lost. I'm collecting information for the days of the month.  For days I have not, I would like to query to get these days also.
    The days of return I have with data and all other days where I'm not.

    How can I get the rest of the days of the month of June.  If I execute sql against the following.

    Select * from
    (Select '02' as the double Study_Date
    Union Select '03' as the double Study_Date
    Union Select '04' as the double Study_Date
    Union Select '04' as the double Study_Date
    Union Select '05' as the double Study_Date
    Union Select '06' as the double Study_Date
    Union Select '09' as the double Study_Date
    Union Select '10' as the double Study_Date
    Union Select '11' as the double Study_Date
    Union Select '12' as the double Study_Date
    Union Select '13' as the double Study_Date
    Union Select '16' as the double Study_Date
    Union Select '19' as double Study_Date)

    Thank you

    Howard

    Hello, Howard.

    Thanks for posting the sample data!  Don't forget to post the exact results you want from these data.

    Looks like you want something involving everyday of the month, they have a day corresponding to your table or not.  This looks like a job for an outer join.

    This should give you some ideas:

    WITH days_wanted AS

    (

    SELECT TO_CHAR (LEVEL, 'fm00') n

    OF the double

    CONNECT BY LEVEL<=>

    )

    SELECT d.n

    t.study_date

    NVL2 (t.study_date

    'Yes '.

    'No '.

    ) AS in_table_x

    OF days_wanted d

    LEFT OUTER JOIN table_x t ON t.study_date = d.n

    ORDER BY d.n

    ;

    Output:

    STUDY_DATE N IN_TABLE_X

    --- ---------- ----------

    01 NO.

    02 02 Yes

    03 03 Yes

    04 04 Yes

    05 05 Yes

    Yes 06 06

    07 NO.

    08 NO.

    09 09 Yes

    10 10 Yes

    11 11 Yes

    12 12 Yes

    13 13 Yes

    14 NO.

    15 NO.

    16 16 Yes

    17 NO.

    18 NO.

    19 19 Yes

    20 NO.

    21 NO.

    22 NO.

    23 NO.

    24 NO.

    25 NO.

    26 NO.

    27 NO.

    28 NO.

    29 NO.

    30 NO.

    You must use a DATE for study_date, not a VARCHAR2 column.  What will you do if you have days of different months in the table?

  • Can someone explain please the 4SNS/1/40000000 error code: TMOP - 127.875 and how to solve the problem?

    AHT error code.

    You have problems? Why do you run Apple hardware *?

    Of

    http://www.CNET.com/news/how-to-invoke-and-interpret-the-Apple-hardware-tests/

    which would indicate a bad sensor on one of your memory modules or riser:

    In the case of an error in probe (4SNS), to determine what type of sensor is referenced, look for his first letter, which should be 'I' for the current "V" or "T" for temperature, voltage.

    Then check the second letter from the list below to see which component it refers to:

    A: ambient air sensor
    B: battery
    C: Central processors (CPU)
    D: DC (direct current)
    e: PCI-express slot
    F: FireWire port
    G: graphics processor (GPU)
    H: drive
    h: heat pipe (heat sink)
    L: liquid crystal display
    M: memory or the memory riser cards

    I would first install a monitoring app like Mac Fan Control of temperature

    http://www.CrystalIDEA.com/Macs-fan-control

    to see of you can find a bad sensor by reading the memory riser card.

    You have a MacBook Pro as indicated: MacBook Pro, OS X Yosemite (10.10.5)

    Since this is the Mac Pro desktop forum

  • I got updates for windows vista, but now my microsoft Word 2007 does not work. It ask for a product key and I put one of the dvd case, but he said that is not correct, I use program can someone help with this problem.

    product key no longer works on my office 2007 business what could be the problem?

    Hi Cincmj,

    Welcome to the Microsoft Answers Community Forum site!

    The question you have posted is related to Microsoft Word and would be better suited to the community of the Office Applications.

    Please visit the link below to find a community that will support what ask you:
    Discussions in Desktop Applications
    http://www.microsoft.com/office/community/en-us/FlyoutOverview.mspx , that allows to solve your problem!

    I hope this helps!

    Thank you best regards &,.
    Calogero - Microsoft technical support.
    Visit our Microsoft answers feedback Forum
    http://social.answers.Microsoft.com/forums/en-us/answersfeedback/threads/ and tell us what you think

  • Can you tell me how I can ask for help with the following question of Indesign: I am a new user of Indesign and creative Member Cloud.  I was using the fall of the window/Pages to the bottom of the window to view my pages alphabetically or by page number

    I am a new user of Indesign and creative Member Cloud.  I was using the fall of the window/Pages to the bottom of the window to view my pages alphabetically or by page number and also to determine whether or not my JPEGs have been sufficiently high resolution of the printer.  I don't know how I did it, but somehow the window has changed so that now, there not alphabetical/digital/hi-res information.  It shows just the pages in a two pages in numerical order.  How to restore the window so that I'll be able to view the information I did previously.

    Your help will be appreciated,

    Don Unwin

    [Personal information]

    All I had to do was to click on the links and information in the drop-down list.

Maybe you are looking for