You are on page 1of 2

Multiple schemas in a database

[message #85414]

I know its an elementary question that will tax the patience of seasoned Oracle pros, but I'm going to ask it anyway. Our business is organized into a database that is 'flushed' at the end of each year and an empty database is created for next year. The old database needs to be available as well. We use Oracle Forms 6.0 to access the Oracle 8i data. We first had a consultant 'copy' schema1 to schema2 within our database on a RS6000 Unix server, accepting the risk of not using a test box. When we ran our forms applications, any table update returned either ORA-01422 or ORA-06502. We had our guy disable the new schema, and we downloaded Oracle 9i and loaded this on an NT server. This time, the DBA created a duplicate copy of our database in the 9i environment and created a new schema to match the existing schema. When we attach using 'Schema2' everything works. When we attach using 'Schema1', we get either of the two error messages noted above. Our shop is new to Oracle, but this can't be an issue that most shops don't confront. I've read up on these two errors and can't see how they could the cause of our problems. Any suggestions or help would be greatly appreciated. Oh, like every other request for someone to ride to the rescue to help, we're surrounded and the enemy is inside the wire!

HOW TO MAKE A MATRIX REPORT MANUALLY WITH SINGLE GROUPT QUERY OR MULTIPLE GROUP QUERY ? Answer Step 1: Create a group with query in Data #1 Model, remember

this query should have atleast three columns for Row, Column and Cell value. and Four if you want to create Group Matrix Report. Step 2: Drag Column you want to act as Group Header from

Group, then drag Row Value and then Column Value. Step 3: In Data Model window you will find icon for Cross Product in tool box. click on that, then Drag the Mouse pointer keeping the left click pressed over the group of Row and Column values selected by you in step 2. Step 4: In Layout Model window, Create Repeating frame then create one more repeating frame over the previous one but at this time please change the property of repeating frame as PRINT DIRECTION : ACROSS. Then select both the frames at once and then go to Menu Insert>>Layout Matrix, by doing this you merge two frames, now in the intersection area of this two frames create one more repeating frame. Step 5: In the merged frame the one which is Print Direction down will display the rows, one with print direction across will display the columns and intersection will display the cell values. Accordingly assign the source for all three repeating frames and create fields in those frames and give the desire sources. Step 6: Run the report

You might also like