Click here to Skip to main content
15,885,366 members
Home / Discussions / Database
   

Database

 
GeneralRe: How can i extract numeric values from varchar Pin
Blue_Boy16-Dec-08 11:12
Blue_Boy16-Dec-08 11:12 
QuestionSplit the Delimiters Pin
cbe_pav15-Dec-08 18:39
cbe_pav15-Dec-08 18:39 
AnswerRe: Split the Delimiters Pin
Ashfield15-Dec-08 21:05
Ashfield15-Dec-08 21:05 
QuestionGet the following query down to one execution Pin
Sunset Towers15-Dec-08 11:03
Sunset Towers15-Dec-08 11:03 
AnswerRe: Get the following query down to one execution Pin
Wendelius15-Dec-08 11:16
mentorWendelius15-Dec-08 11:16 
GeneralRe: Get the following query down to one execution Pin
Sunset Towers15-Dec-08 12:00
Sunset Towers15-Dec-08 12:00 
GeneralRe: Get the following query down to one execution Pin
Wendelius16-Dec-08 5:51
mentorWendelius16-Dec-08 5:51 
QuestionQuestion about "stalled" snapshot in an Oracle database Pin
Nostrom015-Dec-08 9:46
Nostrom015-Dec-08 9:46 
Hello,

I am administering an ASP.NET ecommerce website that runs on top of an old legacy Oracle 8i database. I administer the database using TOAD. I have recently attempted to add a new set of flags to the master product table in order to make a set of labels appear for certain products.

The 8i database pulls information from its own store of product info, and combines it with pricing information drawn from an outside Oracle system. The final "master product" table is the result of a Materialized View (MV) or Snapshot, and this table is what the website looks at using a stored procedure when it populates a page template with product info. The process works like so:

1. PRODUCTS_TABLE plus MASTER_PRICE_TABLE are "pulled from" by the
2. Materialized View/Snapshot Script, which combines teh "downstream" data into a final table called
3. MV_MASTER_PRODUCTS (table resulting from MV)
4. MV_MASTER_PRODUCTS is called by a Proc, and this info is used to create a dynamic webpage.

Recently I added several new fields to the tables "downstream" and "upstream" of the MV/snapshot that builds the final master product table. I discovered, however, that my copy of TOAD doesn't want to let me edit the MV script itself in order to add commands to pull data up from these new fields. Although the lower levels of the database are still OK, the final MV_MASTER_PRODUCTS table (to which I added fields) is now empty, and when I attempt to refresh the MV/snapshot to populate this table, nothing happens (no error message, just no activity). Because this top-level tabel is now empty, my website can't pull data from it.

1. Is this problem caused by the fact that the PRODUCTS_TABLE and/or the MV_MASTER_PRODUCTS tables both now have additional fields that are not referenced in the MV/Snapshot script itself, and these changes are causing the script to "stall"?

2. Are MV scripts not meant to be edited, or is this just a problem with TOAD, or with my permissions? i.e., am I supposed to create a new MV to replace the old one instead of editing the existing script?

3. One final thing: I made a duplicate of the final MV_MASTER_PRODUCTS table which is still populated with the last data refresh. This is, I believe, just a regular table with no connection to a snapshot, so I don't expect it would have anything to do with MV_MASTER_PRODUCTS failing to refresh/repopulate, but I thought I should mention it just in case.

Thank you for any advice!
AnswerRe: Question about "stalled" snapshot in an Oracle database Pin
Wendelius15-Dec-08 10:31
mentorWendelius15-Dec-08 10:31 
QuestionRelocate the datbase Pin
samerh15-Dec-08 0:53
samerh15-Dec-08 0:53 
AnswerRe: Relocate the datbase Pin
Colin Angus Mackay15-Dec-08 3:03
Colin Angus Mackay15-Dec-08 3:03 
QuestionTrigger error. help me plz Pin
Karan_TN14-Dec-08 19:37
Karan_TN14-Dec-08 19:37 
AnswerRe: Trigger error. help me plz Pin
Ashfield14-Dec-08 21:29
Ashfield14-Dec-08 21:29 
AnswerRe: Trigger error. help me plz Pin
Colin Angus Mackay14-Dec-08 23:20
Colin Angus Mackay14-Dec-08 23:20 
QuestionJoining two columns together Pin
Muammar©13-Dec-08 20:23
Muammar©13-Dec-08 20:23 
AnswerRe: Joining two columns together Pin
Mycroft Holmes13-Dec-08 20:37
professionalMycroft Holmes13-Dec-08 20:37 
AnswerRe: Joining two columns together Pin
Mycroft Holmes13-Dec-08 20:38
professionalMycroft Holmes13-Dec-08 20:38 
GeneralRe: Joining two columns together Pin
Muammar©13-Dec-08 21:01
Muammar©13-Dec-08 21:01 
GeneralRe: Joining two columns together Pin
Mycroft Holmes14-Dec-08 14:03
professionalMycroft Holmes14-Dec-08 14:03 
GeneralRe: Joining two columns together Pin
Muammar©14-Dec-08 18:29
Muammar©14-Dec-08 18:29 
Questioncan't get "# of rows affected" when executing a tored procedure Pin
Mohammad A Gdeisat12-Dec-08 22:48
Mohammad A Gdeisat12-Dec-08 22:48 
AnswerRe: can't get "# of rows affected" when executing a tored procedure Pin
Wendelius13-Dec-08 9:46
mentorWendelius13-Dec-08 9:46 
GeneralRe: can't get "# of rows affected" when executing a tored procedure Pin
Mohammad A Gdeisat13-Dec-08 22:13
Mohammad A Gdeisat13-Dec-08 22:13 
AnswerRe: can't get "# of rows affected" when executing a tored procedure Pin
Mycroft Holmes13-Dec-08 20:34
professionalMycroft Holmes13-Dec-08 20:34 
GeneralRe: can't get "# of rows affected" when executing a tored procedure Pin
Mohammad A Gdeisat13-Dec-08 22:12
Mohammad A Gdeisat13-Dec-08 22:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.