• How to calculate the difference between two dates in Oracle SQL

    I have the following table in Oracle SQL: Filename - varchar Creation Date - Date format dd/mm/yyyy hh24:mi:ss Oldest cdr date - Date format dd/mm/yyyy hh24:mi:ss So I need to calculate the difference in hours, dates and also minutes between two dates. How can I do that? Thanks.

    ITKE352,420 pointsBadges:
  • Getting ORA-00905 error message: Missing keyword

    I've been trying to do a SELECT INTO using Oracle. Here's my query: SELECT * INTO new_table FROM old_table; But I keep getting this error: SQL Error: ORA-00905: missing keyword 00905. 00000 - "missing keyword" Has anyone seen this before? If so, what should I do? Thank you very much.

    ITKE352,420 pointsBadges:
  • Oracle: Escape a reversed word

    Would there be a way to escape a reversed word in Oracle? I think I can use something like this to select the column named table. elect [table] from tablename But how can I do that for reversed words in Oracle? I've tried square braces and double quotes but neither worked. Thank you very much.

    ITKE352,420 pointsBadges:
  • Getting a textual representation from an Oracle BLOB

    I've been trying to see, from inside my SQL console, what's inside an Oracle BLOB. I already know that it contains a large body of text and I need to see it. But my query only shows that there's a BLOB in the field. Here's the query: select BLOB_FIELD from TABLE_WITH_BLOB where ID = ''; And this is...

    ITKE352,420 pointsBadges:
  • Good PL/SQL user guide

    I am interested in a good reference guild for PL/SQL which explain all utility commands and configuration patterns and files. Your help is much appreciated.

    Hfeshari0 pointsBadges:
  • Return multiple rows from a stored procedure in Oracle

    I'm looking to create a stored procedure, with one argument, which will return different sets of records (that all depends on the argument). What would be the best way to do this? Would it be possible to call it from a plain SQL?

    ITKE352,420 pointsBadges:
  • Does Oracle have a function to split a string?

    I have to write a procedure that normalizes a record that has multiple tokens concentrated by one character. The only way I can obtain these tokens is by actually splitting the string and then inserting each one as a new record into a table. Does anyone know if Oracle has something like a "split"...

    ITKE352,420 pointsBadges:
  • Calling an Oracle function from hibernate with a return parameter

    We have a function which currently does some modifications internally and returns a value. This was our original idea: protected Integer checkXXX(Long id, Long transId) throws Exception { final String sql = "SELECT MYSCHEMA.MYFUNC(" + id + ", " + transId + ") FROM DUAL"; final BigDecimal nr =...

    ITKE352,420 pointsBadges:
  • Which Oracle certification should I choose?

    I have completed my BE CSE. I need to do an Oracle certification. I don't knno which is best one. Please guide me.

    karthik84185 pointsBadges:
  • How can I retrieve the highest five values of a column in Oracle

    How would I be able to write a query where only a select number of rows are returned with either the highest or lowest column value. I appreciate any help. Thanks.

    ITKE352,420 pointsBadges:
  • A program is trying to automatically send email on your behalf (Outlook via Oracle Developer 6i)

    Whenever I'm trying to send mail via outlook from oracle developer forms 6i it asked for a confirmation from user. ie:--- A program is trying to automatically send email on your behalf Do you want to allow this? If this is unexpected it may be virus and you should choose no I don't want to show...

    44063860 pointsBadges:
  • Getting ORA-02436 when checking a constraint in Oracle

    I've been trying to check the following constraint but Oracle keeps returning an error. Here's what I have so far: ALTER TABLE Table1 ADD (CONSTRAINT GT_Table1_CloseDate CHECK (CloseDate > SYSDATE), CONSTRAINT LT_Table1_CloseDate CHECK (CloseDate <= SYSDATE + 365)), CONSTRAINT...

    ITKE352,420 pointsBadges:
  • Getting ORA-00979 error message with Oracle query

    In my query, I keep getting the ORA-00979 error message: SELECT cr.review_sk, cr.cs_sk, cr.full_name, tolist(to_char(cf.fact_date, 'mm/dd/yyyy')) "appt", cs.cs_id, cr.tracking_number from review cr, cs, fact cf where cr.cs_sk = cs.cs_sk and UPPER(cs.cs_id) like '%' || UPPER(i_cs_id) || '%' and...

    ITKE352,420 pointsBadges:
  • Generating an ER diagram using Oracle SQL Developer

    I'm trying to use Oracle SQL Developer to create an ER diagram for my Oracle database tables but I'm fairly new to Oracle / this tool. What would be the process of going about this? Thank you!

    ITKE352,420 pointsBadges:
  • Earning Badges Pays Off – Literally!

    We told you that payoffs were coming, and they're finally here! To kick off this exciting new phase of the IT Knowledge Exchange Badge Program, we're doing a site-wide reward for members who have been active within the past 6 months and have earned at least one badge: $10 Amazon.com gift card to...

    MelanieYarbrough6,345 pointsBadges:
  • View metadata of columns of a table in an Oracle database

    I'm looking for a query that allows me to view all the columns that are defined for a table in an Oracle database. Something along the lines of this: Table Name: Some_Table have 10 columns. So basically I want to how I can get the column names, data type and the constraints that are defined for the...

    ITKE352,420 pointsBadges:
  • Do you have an IT blog or website and want to earn 100 knowledge points?

    We hope you find this community helpful in answering all your questions. But we want everyone to get every answer they need and wthat means more experts are always welcome. That's why we're asking you to tell your friends about IT Knowledge Exchange (ITKE). If you have a blog or website that is...

    ITKE352,420 pointsBadges:
  • Where to download Oracle 11g Express Edition for Windows 64-bit

    When I registered on Oracle's website to download Oracle 11g Express edition database, it only gave me links to only download Windows 32-bit and Linux 64-bit. Is there somewhere where I can download a 64-bit Windows version? Or is it just that 64-bit versions are available for paid Oracle DBs?

    ITKE352,420 pointsBadges:
  • Getting ORA-06508 error message: PL/SQL: could not find program unit being called

    I'm currently using Oracle 10g and Toad 11.5. I'm trying to call an API from an anonymous block. So when I recompile the API after adding "DBMS_output.put_line" and then execute the block, I keep getting this error: "ORA-06508: PL/SQL: could not find program unit being called". But when I end the...

    ITKE352,420 pointsBadges:
  • I found FRM-92101 in oracle application server.

    We are having 10 as middle tier, whenever we open the form always found the error FRM-92101

    Bakre5 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following