• The difference between YYYY and RRRR in Oracle SQL

    My partner and I have two different queries in Oracle SQL. Here they are: select trunc(to_date('27-Jul-1987'),'YYYY') FROM dual; And select trunc(to_date('27-Jul-1987'),'RRRR') FROM dual; But both queries are giving us the same result. What's the difference between YYYY and RRRR? We appreciate any...

    ITKE351,880 pointsBadges:
  • Delphi and Oracle stored procedures

    I'm converting an application from Delphi3 to Delphi5. I have some doubts about Stored procedures. Delphi calling stored procedures in oracle.some parameters value are set as input and passed to oracle. stored procedure in oracle returns some value. in my delphicode when the application reaches the...

    VPL100 pointsBadges:
  • Conversion of Oracle trigger to MS SQL

    How can I convert an Oracle trigger into MS-SQL?

    Jannat895 pointsBadges:
  • Get all the numbers between two numbers in Oracle SQL

    Does anyone know of a way to select the numbers (or integers) that are included between two numbers with SQL in Oracle? I can't create a PL/SQL procedure for this. Here's an example: I need to get the numbers that are between 3 and 10. Obviously, the results would be 3,4,5,6,7,8,9,10. How can I do...

    ITKE351,880 pointsBadges:
  • 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.

    ITKE351,880 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.

    ITKE351,880 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.

    ITKE351,880 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...

    ITKE351,880 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?

    ITKE351,880 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"...

    ITKE351,880 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 =...

    ITKE351,880 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.

    ITKE351,880 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...

    ITKE351,880 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...

    ITKE351,880 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!

    ITKE351,880 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...

    ITKE351,880 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