Basic Database Queries

Q .what is difference between database and database warehouse?
Q. what is difference between postgres and postgres sql?
Q. What are other databases and query language available ?
Q. what is difference between sql, postgres sql, oracle, postgres, Mysql? ( i mean a major difference like is a database ,language etc)

1. It depends on the product. In Oracle a "database" is a collection of related files including datafiles, tempfiles, control files, log files, etc. If it is configured to be used as a Data Warehouse then it is considered to be a data warehouse. If it is configured for OLTP or Decision Support it is not.
2. This is an Oracle forum. Ask your PostgreSQL questions where they are on-topic.
3. Learn to use google and Wikipedia
4. See my answer to question 2 above.
Editorial: If you are a student trying to get our help to cheat on homework or an exam please apologize. Thank you.

Similar Messages

  • Requiring several database queries for my GUI - where to put the reads?

    Requiring several database queries for my GUI
    Hi all,
    I am to create a GUI with a couple of drop downs
    These are populated from database queries, as well as the main program reading from the database based on all inputs in the GUI.
    Should I put all database reads into a class as seperate methods.
    e.g,
    one method for the database read to populate the first combo box.
    a second method to take the choice from combobox 1 and read from the database to populate combobox 2
    a third method to then perform the main database read based on GUI selections from the above two methods..
    is this the 'right' way to do it.
    my GUI would then be in a sperate class.
    or should I sperate the 3 database reads into 3 different classes?
    thanks in advance,
    Matt

    BigDaddyLoveHandles wrote:
    walker8 wrote:
    You might also read some info on three tier design using MVC (Model, View, Control) if i recall correctly.
    Here's an article by Martin Fowler on GUI architecture: [http://martinfowler.com/eaaDev/uiArchs.html]
    awesome! that's just what i needed. i haven't read all of it yet but it gives me ideas about the classes i need.
    regards
    walker8

  • Simple Qustion: No data shown in the retrieval of Sample.Basic database

    Hi All,
    I'm a very beginner to Essbase, I'm getting started with essbase add-in tutorial, when I retrieve the data from Sample.Basic, it only returned the dimension names, there is no data in the intersections, it show #Missing in the cells, the tutorial shows there are data in the sample.basic database, why am I not able to get it displayed?, thank you so much
    the following is how it displayed after I retrieved the sample.basic:
         Measures     Product     Market     Scenario
    Year     #Missing               
    Maybe I did not configure the option items correctly?
    Best Regards.
    Edited by: user13125772 on Jun 11, 2010 1:54 PM

    Just a comment about my nemesis' note:
    You need to load data and potentially calculate it (I know Cameron you don't but it does not hurt).^^^The reason you don't need to calculate the data is because CALCDAT.txt already contains the consolidated results. Glenn is correct in saying that calculation doesn't hurt, but there's really no point.
    FWIW, the reason there's no point is because CALCDAT.txt is a full export of Sample.Basic, that is, every valued data point is contained within the data file. Thus, when calculation occurs it just overwrites the data values that were already loaded.
    As we are talking about a second or so to do the calculation, this matters not a whit, but I thought it might be instructive when you finally get to a real database. Full exports, when loaded back into an empty Essbase database, do not need to be recalculated.
    Regards,
    Cameron Lackpour

  • Basic database using Access

    Hi
    I'm building a very basic database in Dreamweaver using .asp
    and (you may ask why) Microsoft Access. The problem is Access is
    creating an .LDB file and totally messing things up. As soon as I
    test the custom string it creates the file and then leaves it open
    so I get an error saying that the file cannot be used as it is
    already open. Does anyone know either how to stop Access doing this
    or how to get around this in Dreamweaver?
    Thanks
    Martin

    If anyone is interested and comes across this problem I've
    finally found out how to do it. Here is the link.
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18802

  • Basic database question, and subscribe/unsubscribe code

    Hi there
    Although I've created and manage a website, and about a million years ago I worked with databases, I'm still a bit green and in need of some help ...
    I have the website based on my local machine (laptop).  I want to use a subscribe/unsubscribe for a newsletter via the website.
    Before I go ahead with this, I need to clarify a very basic database issue ... would I have to always leave my laptop running in order for people to be able to subscribe to the newsletter on the website, i.e. will it still connect to the database if the laptop is not running?
    I'm using Dreamweaver 3, so I hope I can use this version to connect with a database?  I did install Dreamweaver 4 on one occasion with the intent of upgrading the website to it, but because I'm still a bit unsure of myself and was unfamiliar with the changes the newer version created, I decided to leave it on Dreamweaver 3 rather than risk stuffing the website up completely!
    I also have Dreamweaver UltraDev but for some reason it won't install.
    I'm hoping to follow instructions given on Dreamweaver Developer Centre for setting up a PHP development environment (http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html).
    If anyone would be so kind as to advise whether I'm on the right track with all this, using Dreamweaver 3, that'd be great!
    Also, I'm sure this is unlikely, but is there any way to include a subscribe-unsubscribe without having to actually use a database?
    Many thanks in advance    :-)
    Cheers, Chrissie

    Thanks for your help and advice - much appreciated.  I'm going to go the way
    of hosting, as you suggest, and save myself the heartache  
    Quoting jj12689 <[email protected]>:
    To answer your first question, yes your laptop needs to be powered on
    for users to be able to access the database and subscribe/unsubscribe.
    There is another way of doing it, but it requires more work on your
    part. You could make an online program that would generate SQL
    statements and place them in a text document on the server. Every time a
    user subscribes/unsubscribes it would add them to the end of the text
    document. Then you could make an update button on a back-end admin page
    that you would have to push that would take that text file, open it and
    take the sql statements and submit it to the database on your computer.
    I would advise against this method, since it is time consuming, and not
    very fast for today's world. I would recomend using a server based
    database, if the host you currently have dose not have a database, I
    would recomend finding another host. I use surpasshosting.com for my
    hosting because they are cheap, reliable, and have all the requirements
    I need.
     
    Hope this helps...
    >

  • Sample Basic Database

    Hello everybody,
    I am new to Essbase and learning to use it for financial analysis. I need to retrieve data from the sample basic database, but when i do so, it shows missing values. Any idea as to what can be done in this case.....please help ! I tried supressing the missing values and now it shows errors. :-((

    You have to go into EAS and load data for the database. The filename to load for Sample Basic is 'calcdata.txt' and you do not need a load rule for this file. I always do a calc on the database after the load is complete; in this case, the calc may be optional as I think the calc'ed values may already be in the load file..
    Tim Tow
    Applied OLAP, Inc

  • How to test basic sql queries online(for Sql Server 2012 and up versions) ?

    Hi,
    I need to test basic sql queries using sql server without installing Sql Server on to the system.
    Do we have such readymade online help, which can solve such difficulties ?
    Please sugest some of url's.
    Thanks.

    Thanks for reply.
    I am looking specific Sql Server.
    Hi Maggy,
    I strongly recommend you install SQL Server 2012 express edit and test your T-SQL queries. We can download it from the following site:
    Microsoft® SQL Server® 2012 Express:
    http://www.microsoft.com/en-hk/download/details.aspx?id=29062
    Regards,
    Elvis Long
    TechNet Community Support

  • Database queries - is there a wait or sleep functionality?

    Hello everyone,
    I have recently encountered a problem where a database collector I made
    just stops querying after a while and needs restarting in the ESM for it
    to work again. In other databases (I am querying Oracle btw), this does
    not happen and in some others it does. So I am basically thinking that
    some databases are configured to limit the amount of querying or force
    an exit on error.
    What I have noticed, is that in my Oracle environment (no fancy
    configurations, all very permissive) I get alot of ORA-0100 errors
    indicating that there are too many open cursors. This happens when the
    last row in the database has been reached and the errors stop being
    shown in Active Views only after some data is inserted in database and
    collector resumes normally the task of collecting data until no more
    records are available and once more errors appear in Active Views.
    I altered the amount of allowed open cursors and incremented from 300
    to 500. Still, I keep getting errors (like every 20 seconds). I want to
    minimize these amount of errors and hopefully solve my original problem
    of having to manually restart the collector in some customer
    environments. I came up with the following snippet (bottom of message),
    but can't seem to find a function for having the collector sleep or
    wait. I tried Thread.sleep() (From Java) and setTimeout() (From
    Javascript) but both raise errors since they are undefined methods for
    the collector.
    The Sentinel API makes reference to "queryDelay" and "queryScheduled"
    flags which are supposedly defined in sqlquery.js. I cannot find any
    reference in the code to these flags and I am not even sure of how to
    implement them ( if(!queryDelay) { conn.send(DBQUERY) } ?????? ).
    How can I use these flags in the code to help me reduce the number of
    queries being thrown when there is no data? Or will I have to hack my
    own sleep or wait function? I appreciate any assistance!
    snippet of code I want to implement:
    Code:
    Connector.prototype.sendQuery = function(){
    if (rec.CONNECTION_STATUS == "NEED-QUERY") {
    if (instance.CONFIG.myCounter >= 3) {
    //HERE INSERT A SLEEP OR TIMEOUT FUNCTION
    instance.CONFIG.myCounter = 0;
    } else {
    conn.send(instance.CONFIG.DBQuery);
    //instanced in initialization function. Resets to zero when query is successful.
    instance.CONFIG.myCounter = instance.CONFIG.myCounter + 1;
    return true
    Jean-Paul_GM
    Jean-Paul_GM's Profile: http://forums.novell.com/member.php?userid=12809
    View this thread: http://forums.novell.com/showthread.php?t=445597

    I experience the same problem with my custom collector.
    But the beta connector is not there anymore.
    Can you please provide the connector so that I can test if it solves my
    problem.
    Thanks.
    ab;2141610 Wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > If this works I'd like you to open an SR for it so we can link it to
    > the
    > bug, but in the meantime:
    >
    > 508a0b25988c98a152ff5889edb41882 jdbc2011.1r1beta2.tar.gz
    >
    > ftp://ftp.novell.com/outgoing/jdbc2011.1r1beta2.tar.gz
    >
    > This is a beta and has not been fully ZA'd but seems to resolve your
    > issue for another customer. If it does please be sure to at least
    > post
    > back here if not open an SR (which will be credited to you as this is
    > Bug# 700669 most likely).
    >
    > Good luck.
    >
    > - --
    > Want to yell at me in person?
    > Come to BrainShare 2011 in October: http://tinyurl.com/brainshare2011
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v2.0.15 (GNU/Linux)
    > Comment: Using GnuPG with Mozilla - 'Enigmail: A simple interface for
    > OpenPGP email security' (http://enigmail.mozdev.org/)
    >
    > iQIcBAEBAgAGBQJOge8eAAoJEF+XTK08PnB5ORoQAJcX9moFMh AfcpLSaIVhFLFj
    > ZcmfRjJs4IyT+xatk9wp1S/+eq81AMuyxsoGK/RQfwkKQtzJWiUtQAulCVPjFJZP
    > 3Hy2yBAJYUe5Rm3kedfeFlW3vFIV7wecl4el1UPRs4Q9DBUuBa XqP1KHgDrx4iue
    > ECEph0scQmlp+SxeBUZKfVwWY9NRKio3kxRPJ3QmzPPQ8euP6Z RYcDtwfJq4rrQf
    > z8GcV4ylHZxgIqGXI2pV47zBPPuU/lppytAnyaZSQm5ODs1ndi8f7i/MLPZ4SGI4
    > rkjUURVmkYim7UOA6QLxYUxUJF5SDGyjyJS2h2wGb5caBACMsA XDeySZ6ARMxtqs
    > 9mzb+Zj3VC4+54yVFAXDUq7mzMa5NE0WqxTR9lNoBMnnLmjwyk b9YDfmDUFZCpmT
    > QtWM68bgqtl/p1kcjQq0yAsTVTniGsOynpfTvZjsi4Y4hDCC9ktf8HP7aqu+Tb Nn
    > ehVYbG8zM8muUfiAEMTfjm7X07DK5uTTduNnnCbysnvNcCdRlu SEinfZsDRiihEt
    > gdoYFRYicy3SrJTL769TlzlKd3LU8ICqy8fnHLVeJjPanWxRCQ ISFUuhb5NI1h8Q
    > unVZAzHzcpJCidMLm/cOpCVbyPeaTeG3HbQzNOqwKyd4FFfHvzIBh0JVzO2uCScf
    > nvoosfhMydAkj0sgWXvH
    > =AVMR
    > -----END PGP SIGNATURE-----
    hkalyoncu
    hkalyoncu's Profile: http://forums.novell.com/member.php?userid=63527
    View this thread: http://forums.novell.com/showthread.php?t=445597

  • Basic Database

    I am new to cold fusion and have been practicing with some
    basic SQL on a database. I have it working locally but when I run
    it on my web host it doesn't work. They are telling me the issues
    are coding issues (probablly right) but I cant find them. I am
    calling procedures with a <cfinvoke> tag to a cfc file for
    the basic Insert, Delete and Update SQL statements and update works
    delete generates no error but does nothing to the table and Insert
    generates an error. The parameters are being passed correctly from
    the originating web page but the code doesn't work. The Web host I
    use requires an IN clause you see in the code to pass through for
    Cold Fusion code to work properly and I think that is giving me
    problems. I would appreciate any help for a newbie to cold fusion.

    Yeah the code and database are from Ben Forta I am trying to
    get it working remote. I am a Visual Basic programmer and just
    trying to learn Cold Fusion. I know SQL pretty well and that IN
    clause is not used exactly the way it would be in a SQL statement
    because it is what my web host forces me to use to connect to the
    database. If you look at any of the select statements the IN clause
    is not being used properly but the statements work. To be honest I
    don't think I ever used an IN clause on a Delete or Update
    statement can't think of when there would be a need to unless there
    was a Union. If you could copy the delete statement and fix it to
    what you think would work I will try it out and it would be much
    appreciated.
    By the way I tried the code in the WHERE section of the
    DELETE as:
    WHERE (FilmID = #ARGUMENTS.FilmID#)
    IN
    ('//frigga/home/users/web/b1267/waytechnologies/data/ows.mdb')
    which would look more like how you would use a IN clause with
    a SQL statment but I still get no error but no delete.

  • Tool to get database queries from application

    Hi
    I have to support an application which has oracle as a database but I dont have code for the application.So I want to know the queries run from the application whenever we work on that.So is there any view in oracle which we can use for the same?

    If the application uses a single database session, you can also generate a SQLTrace file to analyse with tkprof by using either Oracle Enterprise Manager to turn on SQL Trace for the session, or use DBMS_MONITOR SESSION_TRACE_ENABLE(session_id, serial_num) - you then have to find the trace file on the datbaas eserver USER_DUMP_DEST and either read manually (the queries are easily visible) or use tkprof to analyze it Using Application Tracing Tools  Among other things tkprof can tell you the top resource consuming SQL statements.

  • Am I missing something regarding database queries from BPEL?

    Hi,
    I'm trying to execute what I would think is a simple query from within a BPEL process against an Oracle 10g database.
    I have a root table, meter_reading that has an id, a time, a value, and a foreign key to a meter_reading_type table with a simple id-name-description format.
    How do I create a PartnerLink in BPEL that queries for the last reading of a particular type? The SQL is easy. The problem is that with the relationship, I can't find the proper format for a pass-through query so that I can do the subselect AND the select by type (name column).
    Also, is it possible with the BPEL PM/OC4J combination to output the queries being generated from Toplink?
    I've looked through the toplink docs, but they seem to refer to doing this in Java, not in the toplink_mappings.xml file.
    Any help would be appreciated. If I'm missing something obvious, please point it out.
    Thanks for your time,
    Chris

    I am guessing from the examples and from looking around that the only solution to this complexity is stored procs and functions. What happens if you're not allowed to use them? Seems like an awkward part of a product that is owned by Oracle.
    C

  • Mutilple database queries and forwarding

    I need to make multiple queries from different tables. Is it the best practice to create multiple result sets, then close the connection?
    I want to pass several values from the initial JSP page and the fields from the 2nd page (DB query) to another JSP page. If I use a forward from the 2nd, will all of the variables be passed to the 3rd?

    Guys,
    The rule for Database resources is this:
    "Obtain your resources as late as possible and release them as early as possible".
    What this means is that if in your code you need to query multiple tables, do not query them unless you need them. i.e. Open resultset1, process, close resultset1, open resultset2, process, close resultset2....
    Please note that since opening a database connection is very expensive, it is recommended to use connection pooling and use one connection per page.
    Srini

  • SCOM Database Queries

    Hello
    I am in the middle of the designing a fully customized dashboard for my SCOM 2012 database. I can use existing queries but they are not complete. I need my own queries but i don't know which SQL tables or views contain a specific monitor or management pack's
    data. those people who generate these queries how find it out? is there any reference or guide about SCOM database structure?
    Appreciate your responses.
    Regards,

    Hi
    You could use These diagrams to start with
    SCOM DWH
    http://technet.microsoft.com/en-us/library/gg508713.aspx
    http://www.systemcentercentral.com/download/opsmgr-2012-database-schemas-operationsmanagerdw-db-2/
    http://capacitas.wordpress.com/2012/12/05/retrieving-data-from-the-scom-database/
    And of course Kevin's famous SQL query collection
    http://blogs.technet.com/b/kevinholman/archive/2007/10/18/useful-operations-manager-2007-sql-queries.aspx
    These are good starting Points.
    Cheers,
    Stefan
    Blog: http://blog.scomfaq.ch

  • Basic Database connection and run querry.

    Hi, I pretty new to java, So if any can help, please do.
    All i want to do is connect to a sql database and run a querry, return the results and then output them as XML.
    I have no idea where to start!
    Please Help.

    JDBC resources:
    http://java.sun.com/products/jdbc/download.html
    http://java.sun.com/docs/books/tutorial/jdbc/basics/
    http://developer.java.sun.com/developer/technicalArticles/Database/dukesbakery/
    http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html#JDBC209_1
    XML resources:
    http://wwws.sun.com/software/xml/
    http://java.sun.com/xml/
    http://developer.java.sun.com/developer/codesamples/xml.html
    http://developer.java.sun.com/developer/technicalArticles/xml/JavaTechandXML/
    These may give you a start.
    You can use the advanced search across the user forums or the Sun site to find many more examples and problem solutions.
    Also the google search engine is very good for searching the web for java information.
    rykk

  • Wiki database queries?

    We have been evaluating several wikis for our 35 person hosting/server company. One of the requirements that has been placed on the selection is that it must have a SQL database backend, so we can integrate it with some of our other sites (helpdesk, customer contact db, etc).
    I just started to install a test Mac OS X 10.5 server yesterday, and although the Wiki looks and works great, I'm still looking for more information on how we can integrate with our existing data.
    For an example, if I bring up a customer helpdesk ticket, it would be nice to be able to pull up a specific procedure out of the wiki that deals with that specific request. In this case, we'd still be in the helpdesk.
    If, however, I was in the Wiki looking up a procedure, it might pull up specific customer information out of our customer database. If we had an escalation procedure, then we'd like to include the specific callback numbers in the Wiki. We may just have to have links back to our customer database, but I'm looking for something more dynamic.
    David

    Any additional documentation that could be provided here would be immensely appreciated.
    I'm currently tinkering with the XML-RPC Client in order to interrogate the services available and I can't seem to get any information out of the system.methodHelp options via this method. Although I may be missing something obvious...
    eg:
    <methodCall>
    <methodName>
    system.methodHelp("wiki.addEntry")
    </methodName>
    <params>
    </params>
    </methodCall>
    returns
    <methodResponse>
    <fault>
    <value>
    <struct>
    <member>
    <name>
    faultCode
    </name>
    <value>
    <int>
    8002
    </int>
    </value>
    </member>
    <member>
    <name>
    faultString
    </name>
    <value>
    <string>
    function system.methodHelp("wiki.addEntry") not valid Traceback (most recent call last): Failure: twisted.python.failure.DefaultException: function system.methodHelp("wiki.addEntry") not valid
    </string>
    </value>
    </member>
    </struct>
    </value>
    </fault>
    </methodResponse>
    While I realize this isn't a documented API, the basics probably won't be changing radically any time soon so any documentation would be really useful here.
    Side note - I don't see the entry for uploading a file to an entry. I see the uploadProgress, but not "addMediaObject"...

Maybe you are looking for

  • How do I use a div as a spacer?

    If I put 6 divs next to each other and put wording in each they work fine in the desktop view but if I leave the left div blank to use as a spacer It will not work.  The other 5 move to the left.  I need to use the first and last divs as spacers.  I

  • I AM ANALYZING THIS PROGRAM CAN U TELL ME FROM WHICH POINT I HAVE TO START

    TABLES: VBAP,                          "Sales Document: Item Data         VBUP,                          "Sales Document: Item Status         VBAK,                          "Sales Document: Header Data         LIPS,                          "SD docum

  • Suppressing Page Headers

    Post Author: Stingray CA Forum: General Hi,I'm working on my first report using Crystal Reports XI R2.I've grouped my report by task.  For each task I have included details of the various task issues.  The group heading appears on its own page togeth

  • Cisco ISE - expired demo license alarm

    Hi, We are implementing Cisco ISE 1.2.0.899 and have an alarm reporting expired license. This alarm refers to the Advanced License demo and is therefore a false positive. This issue is that we cannot remove the demo icense and stop the root cause of

  • Configure TNS Name Service

    How configure TNS Name Service in Server and Client? Thanks.