HELP WITH CRYPTING: WORKING OF DMBS_LOB

hI to all,
I think in previous post i didn't fully understand how blob are managed by oracle.
However my question is this:
When i do a:
select blob_contente into my_blob_var where id=1 for update
Do i have a sort of pointer to the contents of the table itself?
thanx a lot
Message was edited by:
Marcello Nocito

I'm not sure what this has to do with security or encryption, but yes, if you select a BLOB into a local variable, Oracle doesn't have to copy the entire thing into memory for you to use it. It wouldn't really be correct to say that you have a pointer to the data, since there is nothing to dereference. You can treat the local variable as if it were a copy of the whole BLOB, it just doesn't have the memory footprint of a full copy.
Justin

Similar Messages

  • Need help with home work see what you got

    1. The MEMBERS table has the phone number broken into three fields:
       CountryCode - e,g., '1' for the United States
       AreaCode - e.g., three digits for the United States
       Phone - e.g., 7 digits, with or without a dash between the first three digits (Exchange) and last four digits (Line)
       Any or all of the fields may be missing (null) or blank or contain only spaces.
       Write a T-SQL statement to concatenate the three fields into a complete phone number
       with the format: CountryCode(AreaCode)Exchange-Line, e.g., 1(816)123-4567
       If no Phone is present, return a blank string.
       If no area code is present, return only the Phone number. Do not return an empty pair of parentheses or the CountryCode.
    2. The PERSON_CAMPAIGN table contains a row for each war/conflict the member served in. A member may have served in multiple conflicts
       For this purpose, each row contains:
       PersonID - unique member identifier
       Campaign - name of war/conflict
       Write a T-SQL statement to return one row per member with all campaigns concatenated into a single field and separated by commas
       E.g., PersonID    Campaigns
             12345678    Global War on Terror, Iraq, Afghanistan
    3. The MEMBER_STATISTICS table contains one row per post.
       For this purpose, each row contains the post's:
       Division - a way of grouping posts by their member size
       Department - the state in which the post is located
       PostNumber - unique post identifier
       Reinstated - count of members whose annual subscription had lapsed for at least two years but who have now subscribed for the current year
       Write a T-SQL statement to determine the top ten posts in each division based on the number of reinstated members, with a minimum of 50 reinstated members.
       Rank them by highest to lowest reinstated count.
       Return their Division, Rank, Department, PostNumber, Reinstated

    I got 3 home work questions think i have the first two need help with the last one please.
    Kinda stuck on #3 hard I can see data not sure witch to sum or count?
    1. The MEMBERS table has the phone number broken into three fields:
       CountryCode - e,g., '1' for the United States
       AreaCode - e.g., three digits for the United States
       Phone - e.g., 7 digits, with or without a dash between the first three digits (Exchange) and last four digits (Line)
       Any or all of the fields may be missing (null) or blank or contain only spaces.
       Write a T-SQL statement to concatenate the three fields into a complete phone number
       with the format: CountryCode(AreaCode)Exchange-Line, e.g., 1(816)123-4567
       If no Phone is present, return a blank string.
       If no area code is present, return only the Phone number. Do not return an empty pair of parentheses or the CountryCode.
    ANSWER******************
    Notes: created a funtion to format the phone 
    Then used the this function in a select to concatenate Phone 
     CREATE FUNCTION dbo.FORMATPHONE (@CountryCode int, @AreCode int, @Phone VARCHAR(14))
    RETURNS VARCHAR(14)
        AS BEGIN
           DECLARE @ReturnPhone VARCHAR(14)
           DECLARE @NewPhone VARCHAR(14)
    -- Note case sets newphone to null if phone null or '' also to see if phone has '-' in it if not inserts into newphone
           case 
                when @Phone is null or @Phone  = ''
                   Then SET @NewPhone = Null
                when @Phone = substring(@Phone,4,1)='-'
          Then SET @NewPhone = @Phone 
           else  
                SET @NewPhone = substring(@Phone,1,3)+'-'+ substring(@Phone,4,4)
           End     
           case 
                when @NewPhone is null then SET @ReturnPhone = @NewPhone            
           elese case
                    when @AreCode is null or @AreCode = '' then SET @ReturnPhone = @NewPhone
                 else 
          SET @ReturnPhone = @CountryCode + '(' + @AreCode + ')' +  @NewPhone
                END
           END
        RETURN @ReturnPhone 
    END
    select dbo.FORMATPHONE(CountryCode,AreCode,Phone)
    from MEMBERS 
    2. The PERSON_CAMPAIGN table contains a row for each war/conflict the member served in. A member may have served in multiple conflicts
       For this purpose, each row contains:
       PersonID - unique member identifier
       Campaign - name of war/conflict
       Write a T-SQL statement to return one row per member with all campaigns concatenated into a single field and separated by commas
       E.g., PersonID    Campaigns
             12345678    Global War on Terror, Iraq, Afghanistan
    ANSWER******************
    SELECT      PersonID,
                STUFF((    SELECT ',' + Campaign AS [text()]
                            FROM PERSON_CAMPAIGN 
                            WHERE (PersonID = Results.ID)
                            FOR XML PATH('') 
                            ), 1, 1, '' )
                AS Campaigns
    FROM  PERSON_CAMPAIGN Results
    3. The MEMBER_STATISTICS table contains one row per post.
       For this purpose, each row contains the post's:
       Division - a way of grouping posts by their member size
       Department - the state in which the post is located
       PostNumber - unique post identifier
       Reinstated - count of members whose annual subscription had lapsed for at least two years but who have now subscribed for the current year
       Write a T-SQL statement to determine the top ten posts in each division based on the number of reinstated members, with a minimum of 50 reinstated members.
       Rank them by highest to lowest reinstated count.
       Return their Division, Rank, Department, PostNumber, Reinstated

  • Help with apple works

    I am new to mac and looking for some help. My son is trying to do a "collage" of various pictures for a school project. He would like to only use the faces in the photos. In other words, outline the faces and delete the rest of the photo... ending up with a page of nothing but the faces. Can he do this using apple works? And if so how? (or for that matter any other application that comes with a new mac) The only software I have added is microsoft office (Word, Excel, Powerpoint etc) Any help would be great.

    It is possible to use Appleworks to do this,...but as some mentioned, it's not as easy to do when compared to programs that specialized in graphics work like Photoshop Elements (or the even more powerful Photoshop), Graphic Converter, etc.
    To use Appleworks to get this done, you can drag and drop photos into Painting documents then use the lasso tool to select just a face and then copy and paste the face to another document. Or,...you may find it easier to use the "marque" tool to grab the face then copy and paste it to another painting document and then do some touch up work to erase the extra stuff you grabbed that isn't the face. The marque tool is the dotted rectangle (if you mouse over it and wait, it actually calls itself "Selection Rectangle Tool",...I may be using Marque tool from another program,...).
    To touch it up (ie remove the rest of the pixels you grabbed when you used a rectangle to grab an oval face), you can paste it to anther painting document and then use the eraser tool to erase the extra parts. Then it's easy to use the lasso tool to select just the face.
    Also, if you magnify the view then it may be easier to be precise as you clean things up or select them. To zoom in and out, you can click on the "100" that is in the lower left corner to get a pop up menu with percentage zooms from 25% (small) to 800% (big). You can also click the two buttons to the right of that "100" to zoom in or out.
    While many who are accustomed to higher end tools may feel Appleworks is unable to do this or many other tasks,...I've always found Appleworks to be very versatile once you learn some of it's features and hidden tricks,...
    Good luck

  • I need help with automator work flows

    im having troube adding songs to my itunes with autmator i ke getting error mesaage 1752 ...anyine know how i can resolve this issue ?

    viguy_ wrote:
    i was told the error means that the process is taking too long to finish so it just times out
    That would have been handy to know, earlier.
    I have know idea if this will work, but you might try editing the timeout of the action.
    If you right-click on the Action, you can choose "show in Finder"
    Make a copy of the action in your home somewhere. Right-click on that copy and select Show package contents.
    Go into the contents folder and open the info.plist file with a text editor like TextWrangler. Change the timeout value to something greater than the default of 3600 seconds. Is it really taking longer than an hour? If it is not, then I doubt this will work.
    Save the file, and then Import it into Automator (File menu).

  • Need help with not working timer Hp Display Assistant

    Hello i got monitor LA 2306v and when i want use "timer" option in Hp Display Assistant it doesn't work "sheduler" options fork perfect but "timer" one at all :/ Using Windows Vista home premium and got newest version of Hp Display Assistant.
    ill be rly grateful for help thanks

    The following was taken from here.
    HP Display Assistant is a Windows-based software utility designed for select HP displays that support
    the Display Data Channel/Command Interface (DDC/CI) communications channel defined by the Video
    Electronics Standards Association (VESA). HP Display Assistant does not function on non-HP displays
    (including non-HP displays that support DDC/CI), and does not function on HP displays that do not
    support DDC/CI. For a list of leading graphics cards that support HP Display Assistant:
    1.  Open HP Display Assistant.
    2.  Click the Options tab.
    3. Click the Help button.
    4. Click the Tech. Support button to open the HP Display Assistant online support Web page.
    5. Click the Compatibility link on the Web page.
    Is the computer's video card on the supported/compatible list?  If the video card does not support the feature, then the program won't work. 
    Let me know if the computer's graphics card is on the list. 
    Also, report what graphics card the system is using. 
    I await your reply. 
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Quick Help With School Work

    I am current student that just got into a web design class, I was sent home with some homework seeing what we know and I have a question that I am stumped on .Was wondering if anyone could help me with this question:
    Write an advanced CSS selector that specifically targets the input type or name for the following HTML:
    <input type="text" name="address1" value=""/>
    Thank you very much from web student and indvidual wanting to learn from their peers

    Hi
    As john said it may not be what is required, but as the css attribute selector is css2.1, (and further expanded in css3) I would not expect this to be included in a curriculum at this time.
    CSS2.1 is only supported by the newer browsers and not IE versions < 7.
    But if you wish to be certain you could also include this in your answer see - http://www.w3schools.com/css/css_attribute_selectors.asp. For full reference you could also point your tutor to - http://www.w3.org/TR/css3-selectors/.
    PZ

  • Help with my work

    Data structure / Algorithms work, very urgent, big help needed ! Can someone help??
    Email / MSN: [email protected]

    Oh come now, his need is way more than ours was when we were studying in college, and his time is much more valuable to use on tasks other than homework or learning or work.
    Why just a couple of days ago I was hoping to off-shore my work, but I couldn't find a reliable ISP to any location where the locals would do my work for me for 35 cents an hour. I also looked at the time projections and thought that maybe 35 cents an hour would produce some very big checks so I just decided to do it myself, since my time, and yours, is worth nothing. At least I can keep my 35 cents.

  • Creation of context sensitive help with pure FM 12 usage doesn't work

    Hi,
    I hope somebody is able to help me with a good hint or tip.
    I am trying to create a context-sensitive Microsoft Help with FM12 only using the abilities of FM (no RoboHelp). For some reasons, my assigned ID's are not used in the generated chm file and therefore the help does not work context-sensitively.
    What did I do?
    - I created my FM files and assigned topic aliases to the headers. I did this two ways: a) using the "Special" menue and assigning a CSH marker and/or b) setting a new marker of type "Topic Alias" and typing the ID. I used only numeric IDs like "2000" or "4200",
    - I created a .h file (projectname.h) - based on the format of the file projectname_!Generated!.h (I read this in some instructions). So the .h file (text file) looks like this:
    #define 2000 2000 /* 4 Anwendungsoberfläche */
    #define 2022 2022 /* 4.1.1 Menü Datei */
    #define 2030 2030 /* 4.1.3 Menü Parametersatz */
    #define 2180 2180 /* 6.6.7 Objektdialog Q-Regler */
    #define 2354 2354 /* 6.9.2 Objektdialog Extran Parameter */
    #define 2560 2560 /* 6.9.5 Objektdialog Extran2D Parametersatz */
    - I published the Microsoft HTML Help. A projectname_!Generated!.h has been created. My IDs were not used in this file:
    #define 2000    1
    #define 2022    2
    #define 2030    3
    #define 2180    4
    #define 2354    5
    #define 2560    6
    - When I open the .chm file and look in the source code, the ID even is totally different. It is not the one, I assigned in FM, it is not the one which I assigned in the projectname.h file and it even is not the one, which was put in the projectname_!Generated!.h file. It is a generated name starting with CSH_1 ...n in a consecutive way numbered.
    Example:
    <p class="FM_Heading1"><a name="XREF_72066_13_Glossar"></a>Gloss<a name="CSH_1"></a>ar</p>
    What goes wrong? Why does FM not take my assigned IDs? I need to use these IDs since our programmers are using those already - I had to re-create the whole online help but the programs stay untouched.
    Please help!
    Many thanks
    Mohi

    Hi Jeff,
    thanks for your note!
    The text in my marker is just a number like "2000" or "4200". As said, I created manually a my.h file and used this marker there. E.g.
    #define 2000 2000.
    Whereby the first 2000 (in my opinion) is the marker text and the second 2000 is the context ID which the programmers are using for the context sensitive call of the help. My definitions in the my.h file were translated to #define 2000 1 (in the my_!Generated!.h file). The source code "translates" the context ID into CSH_8.
    I am still confused :-/
    Thanks
    Mohi

  • Since updating to I.O.S7 on my ipad2 all i get when i turn it on is a loading screen with a picture of a charger going into an ITUNES sign? HELP nothing will work not interactive at all?

    all i get when i turn it on is a loading screen with a picture of a charger going into an ITUNES sign? HELP nothing will work not interactive at all.aince updating to I.O.S7.0.2???
    What should i do currently have it on charge for several hours not done a thing and have been locking and unlocking and resetting

    Please see: http://support.apple.com/kb/HT1808 for further info.  It sounds like you are already in Recovery mode so if the image in Step 4 is the one you see, skip to Step 5.
    Regards,
    Steve

  • Can I get help with podcasts?  When I try to open the podcasts, itunes crashes, says "itunes has detected a problem and must close", or the spanish equivalent since my xp is in spanish.  everything else works fine, it even downloads podcasts and syncs.

    Can I get help with podcasts?  When I try to open the podcasts tab, itunes crashes, says "itunes has detected a problem and must close", or the spanish equivalent since my xp is in spanish.  everything else works fine, it even downloads podcasts and syncs.

    The only other thing I can suggest is to use the Repair option for iTunes.
    Download the iTunes programme (do not uninstall your current iTunes) and then "install" the new copy. At some stage you should see an option to "install" or "Repair". Take the Repair option.
    Once you've done that, if you still have a problem, I don't know what else to suggest, except to search through the discussions to see if anyone else has had the problem and managed to fix it.

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    I need help with a PDF file that is an image, the "Read Out Loud' option does not work, please help!

    You mean an image such as a scanned document?
    If that is the case, the file doesn't contain any text for Reader Out Loud to read. In order to fix that, you would need an application such as Adobe Acrobat that does Optical Character Recognition to convert the images to actual text.
    You can also try to export the file as a Word document or something else using ExportPDF which I believe offers OCR and is cheaper than Acrobat.

  • Need help with adjusting Javascript code to work in Adobe Edge (Countdown)

    Hello
    Im a newbie when it comes to working with Javascript and Adobe Edge and need a bit of help with adjusting some javascript code to work with Adobe Edge. A friend of mine helped me with making this javascript code: Edit fiddle - JSFiddle
    Its a simple countdown which counts down to a certain time at a certain date. What I aim to do is to add this code as a trigger on a text-element called "countdown" (within a symbol called "count").
    I have tried to do this as the code is, but it does not work. Anyone have any suggestions?
    Thanks!
    Mvh,
    Øyvind Hermans

    Hello again
    I have stumbled upon a problem with these animations; They crash the browser after viewing them a little while, usually less than 30 seconds in.
    Is this problem also occuring when you watch the animations?
    Is the countdown-code to much for the browsers to handle?
    Thanks in advance for your answers.
    Sincerely,
    Øyvind Hermans

  • I need help with the photo stream. Everytime I try to open it on my PC it says photo stream is unable and I have tried everuthing to enable it but it doesn't work. Any help, please?

    I need help with the photo stream. Everytime I try to open it on my PC it says photo stream is unable and I have tried everuthing to enable it but it doesn't work. Any help, please?

    Freezing, or crashing?
    ID on the Mac can produce reports that may (or may not) prove helpful in diagnosing the problem. I suspect this is something not directly related to InDesign, and maybe not to any of the Adobe apps directly since you seem to be having a problem in more than one. That often inidcates a problem at the system level.
    Nevertheless, it won't hurt to try to gather the reports. You'll find driections for how to generate them, and to post them on Pastebin.com (then put a link to them here) so we can see what's going on at Adobe Forums: InDesign CS5.5 Not Responding
    Do you happen to run a font manager? If so, which one, and waht version?

  • Help with fuzzy search (doesn't work if change order of certain 2 letters)

    Hi,
    need some help with fuzzy search. It's pretty simple - we use fuzzy search on varchar2 columns that contain first name and last_name. The problem is that i don't really understand why it can't find name in some cases.
    Say i want to search for 'Taekpaul'. Then
    where CONTAINS(first_name,'fuzzy(TAEKPAUL)',1) > 0 - works
    where CONTAINS(first_name,'fuzzy(TAEKPALU)',1) > 0 - works (changed order of the 2 last letters)
    where CONTAINS(first_name,'fuzzy(TEAKPAUL)',1) > 0 - doesn't work, finds 'Tejpaul' that is completely unrelated (changed 2nd, 3rd order)
    How can i make it find 'Taekpaul' even if i search for TEAKPAUL? Is it related to index? Like Text index should be created with some different parameters?
    Thanks!
    Edited by: Maitreya2 on Mar 3, 2010 2:08 PM

    Thanks, adding '!' worked :)
    Do you know where i can read more about '!' and other special characters? I think i didn't see anything like that here: http://download.oracle.com/docs/cd/B14117_01/text.101/b10730/cqoper.htm#BABBJGFJ
    I also started using JARO_WINKLER_SIMILARITY function that is actually better i think for what i do. But it's very buggy - sometimes Oracle crashes and kills connection when you try to use it.
    Ahha, it's here: http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cqspcl.htm
    So, ! is soundex. Whatever it means..
    Edited by: Maitreya2 on Mar 5, 2010 12:14 PM

Maybe you are looking for

  • Illustrator not responding.. 'force quit' is futile too !

    Hi! My illustrator stopped working in the middle of my trying to save an illustrator file. I am awfully stuck as my mac is not shutting or restarting too.. says 'please quit illustrator to shut down/ restart'. I have no idea and although have been re

  • Which Chipset on my Satellite 1800/400?

    Hi I'm trying to connect my notebook to a tv, but i dont know the chipset. Does anyone know it or know how i can find it? Thanks in advance

  • What spec Mac Pro for Logic Pro X?

    Hi. I'm thinking of getting one of the new Mac Pros. Primarily it's because I want to have sufficient power to run Logic Pro X together with a number of virtual instruments with sample libraries like EWQL Hollywood Strings, NI Komplete Ultimate and S

  • SAINT hanging after EHP1 upgrade

    Hi All, one more issue i am seeing that, i am unable to run SAINT after EHP1 updagrade, i called SAINT tcode and when i click on START then its hanging,, please suggest on this. thanks Venkata

  • IChat - Failure to close

    I have recently installed the new OS X V10.5. I was trying my iChat and then went to close it by placing it in the 'trash' and it would not close or shut down. I also tried from the top left hand where it has the name 'iChat" and tried from there. It