Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: roedelfroe
  • Content: Threads
  • Order by date
  1. roedelfroe

    over partition by

    Hi, I've written a statement, which works fine but it is rather slow. Does anybody got a better idea? select * from ( select a.*, row_number() over (partition by row1, row2 order by row3 desc) as xxx from TABLE a where DATE <= to_date('01.01.2009'...
  2. roedelfroe

    Over Partition by

    Hi, I've written a statement, which works fine but it is rather slow. Does anybody got a better idea? select * from ( select a.*, row_number() over(partition by row1, row2 order by row3 desc) as xxx from TABLE a where DATE <= to_date('01.01.2009', 'DD.MM.YYYY') and...
  3. roedelfroe

    Option 'enable row movement' not included in Dump

    Quite possible I miss an obvious thing. I have taken a dump from a database with followoing options: compress=n direct=y rows=y indexes=y constraints=y grants=y triggers=y owner=xxx Enable row movement is enabled on every table. Importing the dump works fine, but Enable row movement is gone...
  4. roedelfroe

    to_number conversion error

    Hello everybody, since our database upgrade from 9i to 10g we have problems with a function. It works fine in 9i, but in 10g we got ORA-06502: PL/SQL: numeric or value error: character to number conversion error ORA-06512: at "AB.P_V_NUMBER". Following select is used: SELECT SUBSTR(DS,1,4) AS...
  5. roedelfroe

    Finding duplicate and illogical entries

    Hello to everybody. Following problem: Due to a error I got in a table duplicate and illogical entries. It's a table with staff members witch normally should show something like this: Storage_ID valid_from valid_to personnel_number .... 1 2006/07/07 2007/05/31 1234567...
  6. roedelfroe

    Poor Performance of DB after migranting to 10g

    Hi, some weeks ago we upgraded our Oracle Database from Version 8i to 10g (10.1.0.3.0). To do so, we used the migration tools from Oracle Since then we are experiencing a poor performance of our database. e.g. we've got one big table with 128 Billion entries. A "normal" query under Oracle 8i...
  7. roedelfroe

    correcting/replacing substrings

    Hi, following problem: I want to correct emai-addresses in a column: Now: Scott.Tiger@anycompanyintheworld.com Should be: Scott.Tiger@anycompanyworld.com Any Ideas how to do this? Thx in advance Roland
  8. roedelfroe

    Select with sum function

    Hi, following problem: There a two tables with differnt information: Table A: Txn-No. Account-No. Sub-Account-No. Amount Item-No. 10 12345 00001 2605 80001 15 12346 00001 2000...
  9. roedelfroe

    Updating problem

    Hi everybody, I've got following problem: In our company we receive an order information, which we fill in "Table 1" and an Invoice information, which we receive in "Table 2". In a view, information of both tables should be merged together. And here my problem begins: Example: Table 1...
  10. roedelfroe

    Error &quot;Table or View does not exist ORA-00942&quot; while creating view

    Hi, I need some Advice. We have different Schemas in our Database. I've got a user with DBA-Privilege. Now I want to create a View in Schema A, using Tables from Schema A and Schema B. Above mentioned ErrorMessage occurs. Even creating a View in Schema A only with tables from Schema B will...
  11. roedelfroe

    ORA-01401 Inserted value too long

    Hi everybody, following problem: How can i figure out, WHICH column causes the problem "inserted value too long". Any stupid Access Database will give you the information, which column causes this error, but not Oracle! Is there a tool/procedure or whatever available, which can do that in...
  12. roedelfroe

    update within a table

    Hi, following problem: I need to update some rows in a table. All information, which colums are to be updated are in the table itself. For example, following statement does exactly, what I want: update basis_table set factor = ( select factor from basis_table where type = 'STK' and...
  13. roedelfroe

    Problem creating a query

    Hi everybody, I'm facing a problem, which I can't solve. Following situation: Table 1: The ID is the foreign key of ID in Table 2 Row ID Value 100 1 DE1234567 101 4 CN4567890 102 3 NL1346799 103 3 US7654321 104 5 FR7658902 Table 2: In this table, the ID is the primary key and unique. ID...
  14. roedelfroe

    OR Statement causes long runtime

    Hi all, following problem: Statement: select * from some_table where (A OR B) AND C AND D This statement was running 5 hours. In my opinion (A OR B) is causing this problem. select * from some_table where A AND C AND D OR B AND C AND D which is logically the same will...
  15. roedelfroe

    Comparing structure of two shemas

    Hi everybody, following problem: We have a test and production database (nothing unusual so far :-) ). For some reasons, changes in the test database were never documented and I never got any reports when changes were made. As I am responsible for the production database I have now the...

Part and Inventory Search

Back
Top