Click here to Skip to main content
16,005,038 members
Home / Discussions / Database
   

Database

 
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 
AnswerRe: Question about "stalled" snapshot in an Oracle database Pin
Wendelius15-Dec-08 10:31
mentorWendelius15-Dec-08 10:31 
Basically materialized view is just a view (stored SQL statement), but it's been materialized to a table (predefined or not).

Nostrom0 wrote:
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"?


I don't think so. A view can contain any portion of the original table(s).

Nostrom0 wrote:
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?


I'm not sure about TOAD, but if you modified the script (one way or another) did you execute it. I don't believe that TOAD executes it automatically. However, I haven't used TOAD very much.

What happens if you describe the materialized view (desc MV_MASTER_PRODUCTS), do you see the columns added? If not, it could be an indication that the view hasn't been changed.

Both altering and creating a new one are supported. If it would be a privilege issue you would get a clear message that you don't have the privileges.

Try taking the script from TOAD and then modify and execute it (using TOAD's SQL editor or SQL*Plus). Perhaps you would get a message describing what's wrong.

The need to optimize rises from a bad design.My articles[^]

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 
QuestionTranspose rows with columns [modified] Pin
Muammar©12-Dec-08 20:41
Muammar©12-Dec-08 20:41 

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.