Home » SQL & PL/SQL » SQL & PL/SQL » Use of Force View
Use of Force View [message #154518] Mon, 09 January 2006 04:02 Go to next message
ashok_nr23
Messages: 30
Registered: April 2005
Member
Hi all,

Can anyone tell me the uses of "force views" in Oracle.

TIA
Ashok.
Use of Force view [message #154520 is a reply to message #154518] Mon, 09 January 2006 04:09 Go to previous messageGo to next message
ashok_nr23
Messages: 30
Registered: April 2005
Member
Hi all,

I want to know the exact use of force view in Oracle.
I know the logic behind force view but want to know the purpose of having a view without any base table for it.

Please help me in this.

TIA,
Ashok.
Re: Use of Force View [message #154521 is a reply to message #154518] Mon, 09 January 2006 04:10 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
The object is a view. The keyword force refers to the create command.
Normally if there is an error in the viewdefinition, the view is not created.
If you add the keyword 'force', the view is created anyway (albeit with an error).

hth
Re: Use of Force view [message #154523 is a reply to message #154520] Mon, 09 January 2006 04:58 Go to previous messageGo to next message
bonker
Messages: 402
Registered: July 2005
Senior Member
It will be useful during import tools to create the view even if the base table has not been yet imported.


Read this link for details

http://asktom.oracle.com/pls/ask/f?p=4950:8:16617096307621482537::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:636499119911


Re: Use of Force view [message #154524 is a reply to message #154523] Mon, 09 January 2006 05:07 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
Topics merged.
Please post any additional questions in this thread.
Re: Use of Force view [message #643172 is a reply to message #154523] Thu, 01 October 2015 01:03 Go to previous message
graphe
Messages: 23
Registered: October 2014
Junior Member

Thank you

[Edit MC: inappropriate smiley]

[Updated on: Thu, 01 October 2015 01:17] by Moderator

Report message to a moderator

Previous Topic: Unable to pass date variables into a stored procedure
Next Topic: Oracle Defined Function (DECODE)
Goto Forum:
  


Current Time: Thu Apr 25 23:14:16 CDT 2024