How do you capture a view as an external file?

I am trying to write an interface using C++.NET. So far, everything is working well. It connects the database to a pre-designed recordset and accepts SQL commands.
The next step is to input SQL commands to create Views. In order to use those Views in my interface, I believe they need to be stored in some external file that would be accessible to my interface application.
How can I capture and store Oracle 10g XE Views ?

I'm still not sure we're talking the same language here.
PL/SQL is the programming language.
SQL is the query language. PL/SQL can contain SQL statements.
Views are stored queries, not stored result sets. You might create a view as
SQL> CREATE OR REPLACE VIEW employee_departments AS
  2  SELECT e.empno, e.ename, d.dname AS department
  3  FROM   emp e
  4         JOIN dept d ON d.deptno = e.deptno;
View created.
SQL> desc employee_departments
Name                          Null?    Type
EMPNO                         NOT NULL NUMBER(4)
ENAME                                  VARCHAR2(10)
DEPARTMENT                             VARCHAR2(14)
SQL> SELECT * FROM employee_departments
  2  WHERE  department = 'SALES';
     EMPNO ENAME      DEPARTMENT
      7499 ALLEN      SALES
      7521 WARD       SALES
      7654 MARTIN     SALES
      7698 BLAKE      SALES
      7844 TURNER     SALES
      7900 JAMES      SALESHowever the base tables are read and the join repeated whenever the query is issued - the results are not stored anywhere and it does not make sense to talk of putting them in a file. What if the underlying data changes? Your users read from the file and get the old results. Oracle provides mechanisms for handling application cache structures but it's advanced stuff (I've only read about it, I'm not a 3GL programmer myself) and I would have thought not suitable for someone trying to put up a simple application quickly.
You said you can get your C++.Net application to connect to the database and get result sets. Just use that same approach when accessing the views you have created. You don't need a 'file'.
> Most users of consumer software dont really want to spend the time and effort to familiarize themselves with the workings of a sophisticated database. Ideally, for them, they don't even know a database exists in conjunction with their application.
I still don't see what this has to do with anything. No they will not be familiarising themselves with the workings of a database, they will be interacting with your fine application.

Similar Messages

  • How do you Capture pages in 5.0

    How do you Capture pages in 5.0

    You can't, that entire method has been removed.
    Pages 5 is a severely cut down beta. Apple removed over 100 features and added a lot of bugs.
    Pages '09 should still be in your Applications/iWork folder.
    Peter

  • How do you know what view is available to a form?

    A customer requirement that we set the a firstlogin attribute on the on one of the resources the first time a user logs into the IDM end user interface, changes their password, and provides answers for their authentication questions. The way I know that a person has done this, it that they are displayed the "End User Menu"
    The problem is the accounts portion of the User view is not accessible from the End User Menu. I put the same code in the End User Form and it works.
    Is there a way for me to access resource attributes from this form?
    Is this the incorrect approach to solving this problem?
    How do you know what view is available to a form?

    Thanks, that was my problem originally. When using a fieldref I had to set the base context to variables.user i.e.
    baseContext=':variables.user'
    And in workflow I had to preface variable names with the name of the object I checked the view out into.
    What I really wanted to know how to have multiple views open in a form if possible. I'd like to be able to manipulate user and role objects in the same form when editing users in a specific org.

  • How would you capture the stdout of Runtime.getRuntime().exec())?

    How would you capture the stdout of Runtime.getRuntime().exec())?
    Say you wanted to execute PKZIP25.exe from java using Runtime.getRuntime().exec(). How would you capture the output of PKZIP25 (the console IO) in a file so you could check the results?
    Thanks
    Bill Blalock

    Thanks.
    Could you explain a little more?
    The program I am calling seems to be executing, as far as Java is concerned, but nothing happens. I imagine I have made mistakes in calling it but can't see the output to the console.
    Should I use Runtime.getRuntime().exec() or Runtime.exec() for something like this?
    I appreciate the help!
    Bill B.

  • How do you get timeline view on imovie 08  and speed up a clip on imovie 08

    how do you get timeline view on imovie 08  and speed up a clip on imovie 08

    Hi
    You can not - Nobody else (if not a very selected few at Apple dev.group)
    TimeLine was lost in iMovie'08 and 09 and a very simple one re-introduced in iMovie'11
    Speed Change - Was omitted in iMovie'08 - and returned in iMovie'09 - BUT has to be used in a certain way - the glider/slide if used - will destroy the audio (a Known BUG - in both iM'09 and iM'11) but use of pre-set fixed no. 25% 50% 100% 200% etc. will work.
    Yours - still using iMovie HD6 - and LOVE it - Bengt W

  • How do you capture buzz & reverse in the RMX?

    Hey all - on the Stylus RMX, whenever I "capture" the chaos - it always leaves off the reverse & buzz elements. Upon reading the RMX online manual, it specifically says this is not possible. So - the question is - if you can't capture these 2 features w/in the RMX capture, how can you capture the actual performance (as heard) within Logic?
    PowerMac G5 1.8GHZ single 2GB RAM   Mac OS X (10.4.3)  

    What mode are you in? I believe you must have stylus rmx is groove mode instead of slice mode. You can then also set logic to record what movements you make with those faders, either by mouse or if you have them mapped to another controller. I find that I will drag over a loop and then record the reverse and reorder parameters later so I can get them to happen more with what is happening in the rest of the song.

  • How do you capture a picture of someone you are ta...

    How do you capture a picture of someone you are video chatting with?

    Please see this FAQ.
    Taking a video snapshot of another person
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • How do you capture a still picture from DVD

    How do you capture a still picture from a DVD

    Click iMovie/About. If you have version 9.0.4 (iMovie 11) this will work. If you have an earlier version, this will also work, but there are also other ways.
    First, get an app called MPEG Streamclip, which is free. (MPEG Streamclip from Squared 5)
    Open MPEG Streamclip.
    In iMovie, select the clip you need. Then, right-click/Reveal in Finder.
    Drag this clip into MPEG Streamclip
    In MPEG Streamclip, move the playhead to the frame you want.
    In MPEG Streamclip, click FILE/EXPORT FRAME.
    Choose JPEG, TIFF, or PNG and give it a name.
    You can then drag this photo into iPhoto.
    I have created a short video Tutorial on how to do this. There is one error in the Tutorial, where it says that Command-click is the same as right-click. I should have said Control-click instead.

  • How do you capture a screen shot

    how do you capture a screen shot on a MacBook Air

    Quickest way is Command-Shift-3:
    This takes a screenshot of the screen, and you can then save it as a file on the desktop
    Cheers!

  • How do you capture an answered phone number in contacts ?

    How do you capture an answered phone number in contacts ?

    When you look at your call history in the phone app, you see the number that you want to add, and press on the small right arrow on the right. It will show you a new page where you can simply create a new contact or add it to an existing one.

  • How do you associate a view with a form?

    How do you associate a view with a form and make it accessible in the form?

    Try this
      <Field name='myview'>
                        <Display class='Text'>    
                            <Property name='title' value='My View'/>
                        </Display>
                        <Derivation>                       
                            <invoke name='getView'>
                                <ref>:display.session</ref>
                                <concat>
                                    <s>User:</s>
                                    <ref>accountId</ref>
                                </concat>                       
                                <map>
                                    <s>authorized</s>
                                    <s>true</s>
                                </map>
                            </invoke>
                        </Derivation>
                    </Field>           
                    <Field name='myview.waveset.organization'>
                        <Display class='Text'>    
                            <Property name='title' value='User Org'/>
                        </Display> 
                    </Field>

  • How do you save an iMovie project as a file?

    how do you save an imovie as a windows file?

    You first have to format the External drive as Mac OS Extended. This can be done with Disk Utility which is located in the Utilities Folder inside the Applications Folder. Once formatted as a native Mac OS drive, iMovie will allow you to 'turn on' the visibility of the external drive. Make sure to make the hard drive visible in the Events Library by going to the View Menu > Group Events by Disk. In the Projects Folder you should also see the same drive.
    Drag your Project folders to the external drive icon in the Project Library. Also drag your Event Folders to the external drive (but make sure to drag it to the icon that is visible in the Event Library, don't drag it to the Project Library drive icon).
    This dragging operation will 'duplicate' your Project Folders and Event Folders on the external drive. So to make space on your internal drive, always delete the original folders AFTER you make copies of them on the External drive. In the future when you are importing video into a New Event, make sure to choose the external drive as the location for the the New Event folder. Similalrly create a new Project Folder in the external drive location in the Project Library.
    iMovie doesn't have save menu, it auto-saves in the background continuously as you work on the Project. That way you don't lose any work by forgetting to save the project.

  • How can you insert "Page Break" in a pdf file so you will specify the pages

    How can you insert "Page Break" in a pdf file so you will specify the pages

    How / from what was the PDF originally created?  It would be easiest to insert page breaks into the original document, then recreate the PDF.

  • How do you know the version of a JAR file ?

    how do you know the version of a JAR file ?
    is it what is written on MANIFEST.MF ?
    for example i have a JAR file
    whose MANIFEST.MF has this
    Manifest-Version: 1.0
    Created-By: Ant 1.4.1so, whats the version of this JAR ? 1.0 ?

    anyway, that was JSTL..jar.
    Now, come to another JAR file....
    whose MANIFEST.MF has......
    Manifest-Version: 1.0
    Created-By: Apache Ant 1.5.1
    Extension-Name: Struts Framework
    Specification-Title: Struts Framework
    Specification-Vendor: Apache Software Foundation
    Specification-Version: 1.1
    Implementation-Title: Struts Framework
    Implementation-Vendor: Apache Software Foundation
    Implementation-Vendor-Id: org.apache
    Implementation-Version: 1.1
    Class-Path:  commons-beanutils.jar commons-collections.jar commons-dig
    ester.jar commons-logging.jar commons-validator.jar jakarta-oro.jar s
    truts-legacy.jarso, How do you believe whats the version now ? do u go with the comment "Manifest-Version: 1.0" or "Specification-Version: 1.1" ?
    definitely, you would go with the "Specification-Version: 1.1" and declare this JAR as STRUTS 1.1
    hmmm, so, if nothing is mentioned like above should we follow the MANIFEST version as the JSTL version ? in my earlier example i did not find any comment on ""Specification-Version" ......so , if anybody gives me that JAR , how do i decide whether its 1.0 specification or 1.1 specifucation compliant ?
    can you tell whats the JSTL version of my earler example JAR file ?

  • How do you purge/compress/shrink the iPhoto11 folder/file size?

    How do you purge/compress/shrink the iPhoto11 folder/file size?
    I have been using iPhoto since iLife'05 and have always upgraded with each iteration of iLife. Without exception, I had just recently upgraded to iPhoto'11 when iLife'11 came out. Because I have used iPhoto to store all my photos and videos taken over the last 5 years or so, my iPhoto folder/file has become bigger and bigger over time and so I moved it to an external hard-drive. My main iPhoto'11 folder/file has 14,367 photos, 995 videos and is indicated to be 83 GB by iPhoto'11. But "Get Info" in Finder reports a whopping 130 GB.
    I started to think that this is getting a little crazy and I had wanted to better manage my photo collection, so I decided to "divide and conquer" this gigantic iPhoto'11 folder/file into several smaller, more manageable sized ones. So I made a duplicate copy of this gigantic iPhoto'11 folder/file onto another external hard-drive, fire-up iPhoto'11 again to delete away almost 80% of the photos and 90% of the videos. Now, my "slimmed-down" iPhoto folder/file has 3,000 photos, 75 videos and is indicated to be 6.8 GB by iPhoto'11. But despite the new "slimmed-down" status, the "Get Info" in Finder reports a still very huge 44 GB. Where did all those bulk come from? I have emptied both the iPhoto'11 Trash Can and Mac OS X Trash Can and these steps did not seemed to change anything at all.
    Therefore, I wanted to see what the "Get Info" in Finder will report if I were to delete 99.99% of the photos and video to leave just one (1) photo in iPhoto'11? Guess what is the result? My "One Photo experimental" iPhoto folder/file has 1 photo, 0 videos and is indicated to be 2 MB by iPhoto'11 yet the "Get Info" in Finder reports a mysterious 36.3 GB. There must be something hiding inside!
    Help! What can I do?

    I went on to try trashing away some of the folders and files inside and found that I could actually do it quite neatly if I go by the year which the photos are taken. After a lot of trial and error working on duplicate copy of my iPhoto '11 library, I am able to do away with all the clutter within the library and still open it normally.
    Now my 44GB obese iPhoto'11 library has been slimmed down to just a little over 7 GB (5 GB as reported by iPhoto'11) and I am just comfortable dealing with 2 GB of "don't-know-what-info" of clutter within the library.
    Remember my "One Photo Experimental" iPhoto'11 library that was 36.3 GB? I managed to bring it down to the realistic 22 MB size. This size is still double that of a brand new iPhoto'11 library I created to import 1 photo. However, it sure beat having 36.3 GB of clutter.
    So, now what I am gonna do is to "divide and conquer" the duplicate copies of my iPhoto'11 library into smaller sized ones according to their year. But I think I'll still keep the original bloated, gigantic 130 GB intact and continue to feed it with photos and videos until maybe it becomes 1 TB! Yikes!
    Anyway, million thanks for your tip and I really appreciate it! Have a Happy holidays!

Maybe you are looking for

  • Credit Note in Fixed Assets add-on

    Hi experts, I really do not understand how Credit Note is working in this add-on. Depreciation(accounting impact): Dr                                                                                Cr 510000 - Depreciation (Personal Computers)       

  • Satellite P30: Cannot get picture on TV

    I have a Sat P30 and would like to view on TV rather than lcd screen for dvd viewing etc. I have connected via 4pin s-video - 4pin s-video into scart socket (as tv doesn't have s video connection) and connected sound into scart as well (scart has svi

  • Hotmail: my password is listed in the tools box, but is not entered when logging on so I have to type it in every time. all other passwords are automatically entered. why not hotmail?

    Windows Live Hotmail: every time I log on to this site for my emails, I have to manually type in my password, instead of Firefox automatically doing it.The tools box for saved passwords shows the right password in the list of saved passwords, so why

  • ITunes opens when I unplug my headphones

    I have a late 2008 15" MacBook Pro running Mountain Lion. I use the headphones that came with my iPhone 4 with my MBP all the time. Every now and then, when I unplug the headphones from my MBP, iTunes will open. It doesn't happen every time, but it h

  • Quick Outline in EA3

    The quick outline does still not appear to be working properly for me in EA3 If i open a package from a FIND DB object search and choose quick outline all i get is the package name listed at the top of the outline with nothing below it. If i open a p