How to enable/disable archive mode from the pfile in oracle 10g?
hi
I am using oracle 10g.
Is there any mechanism to / parameter to enable or disable archive log mode?
can I enable arching directly from pfile without touching the startup process??
pls help.
thnx in advance..
Please is not in pfile that you enable/disable archive log mode.
For ENABLE Archivelog mode:
shutdown immediate
startup mount
alter database archivelog;
alter database open;
For DISABLE Archivelog mode:
shutdown immediate
startup mount
alter database noarchivelog;
alter database open;
Similar Messages
-
How I can disable unnecessary fonts from the font menu?
How I can disable unnecessary fonts from the font menu?
I'm so frustrated to always browse the kilometer-long font menu. There are Chinese, Arabic, Thai, Japan etc. fonts. I will never need these fonts!
The platform is the iMac and Maverics. Illustrator is a version CS6. All software is the latest version of.
I get off some of these fonts using Apple's Font Book, but still there will be unnecessary Chinese, Arabic, Thai, Japan etc. fonts.
I also have Suitcase Fusion 4, but that doesn't help in this case because I can't disable system fonts etc. I also tried the "Monolingual" software. Monolingual is a software for removing unnecessary language resources from OS X. But still I see many foreign language fonts in font menu.I could do with an answer to this question too
The fonts I don't want on my system are these (all Adobe covert additions as far as I can tell): -
How to enable a trusted site from the terminal?
I have a group of about 100 Macs, with Safari 7.
I would like to be able to via script, to configure Safari to open specific sites automatically when a PDF is open. Is there a default write command that allows me to do this?I have no problem compiling my NB projects from the terminal.
It could possibly be a classpath problem is the reason you are getting your errors. However, I cannot speculate much more unless you post the error output you are getting.
Please do so. Thanks. -
How can i disable debug information from the end user
By changing debug flag in the url to YES it is possible to view debug information. i want to disable debug information, so that end user could not see debug information. can anyone please tell me the solution.
Sundhar,
when you export the application select Debugging:No
It's one of the available properties together with Build Status, Export Comments, Export Supporting Objects Definitions and so on.
Bye,
Flavio
http://www.oraclequirks.com -
How to turn of debug output from the jdriver for Oracle
We are running our builds with Ant and doing unit-tests with junit/cactus.
The Weblogic jDriver produces what appears to be debug info on standard out which
in turn is captured by junit in xml files reporting errors etc. The problem is that
the WebLogic driver ( WL6.1 SP2) sometimes produces binary 0's ( see below) ending
up in the result xml files, and that Ant's result xml parser cannot handle - (nor
should it ).
This is probably a bug in the c-code for the jdriver , the oci dll ?
Would much appreciate how to turn off the debug(?) logging that the jDriver does:
looks like this (look for the string "[6 binary 0's]"):
Parsing: select length(SYSDATE) from dual
Executing: select length(SYSDATE) from dual
Parsing: select VALUE from V$NLS_PARAMETERS where PARAMETER='NLS_NUMERIC_CHARACTERS'
Executing: select VALUE from V$NLS_PARAMETERS where PARAMETER='NLS_NUMERIC_CHARACTERS'
Done logging in at: 60
Connection: using OCI API: OCI8[6 binary 0's]
Connection successfully established via plain JDBC
DriverManager.getDriver("jdbc:weblogic:oracle:LSS_DBSVC_DEV_autobuild")
trying driver[className=weblogic.jdbc.oci.Driver,weblogic.jdbc.oci.Driver@3383e9]
getDriver returning driver[className=weblogic.jdbc.oci.Driver,weblogic.jdbc.oci.Driver@3383e9]Hi Gunnar,
I'd check your code for appearances of "DriverManager.setLogWriter" that set
log writer to System.out. This is the way to get driver's debug output
to standard out.
Regards,
Slava Imeshev
"Gunnar Skogen" <[email protected]> wrote in message
news:3d2972bb$[email protected]..
>
We are running our builds with Ant and doing unit-tests with junit/cactus.
The Weblogic jDriver produces what appears to be debug info on standardout which
in turn is captured by junit in xml files reporting errors etc. Theproblem is that
the WebLogic driver ( WL6.1 SP2) sometimes produces binary 0's ( seebelow) ending
up in the result xml files, and that Ant's result xml parser cannothandle - (nor
should it ).
This is probably a bug in the c-code for the jdriver , the oci dll ?
Would much appreciate how to turn off the debug(?) logging that thejDriver does:
looks like this (look for the string "[6 binary 0's]"):
Parsing: select length(SYSDATE) from dual
Executing: select length(SYSDATE) from dual
Parsing: select VALUE from V$NLS_PARAMETERS wherePARAMETER='NLS_NUMERIC_CHARACTERS'
Executing: select VALUE from V$NLS_PARAMETERS wherePARAMETER='NLS_NUMERIC_CHARACTERS'
Done logging in at: 60
Connection: using OCI API: OCI8[6 binary 0's]
Connection successfully established via plain JDBC
DriverManager.getDriver("jdbc:weblogic:oracle:LSS_DBSVC_DEV_autobuild")
tryingdriver[className=weblogic.jdbc.oci.Driver,weblogic.jdbc.oci.Driver@3383e9]
getDriver returningdriver[className=weblogic.jdbc.oci.Driver,weblogic.jdbc.oci.Driver@3383e9]
>
> -
How to insert a JPG file from file system to Oracle 10g?
I have developed a schema to store photos as BLOB which store the text description as CLOB original filename, file size.
I also use ctxsys.context to index TEXT_DESCRIPTION in order to perform Oracle Text Search and it works.
I would like to insert some JPG file from say C:\MYPHOTO\Photo1.jpg as a new record. How can I do this in SQL PLus and/or Loader?
How can I retrieve the PHOTO_IMAGE back to the file system using SQL Plus and/or command line in DOS?
See the following script:
create user myphoto identified by myphoto;
grant connect, resource, ctxapp to myphoto;
connect myphoto/myphoto@orcl;
PROMPT Creating Table PHOTOS
CREATE TABLE PHOTOS
(PHOTO_ID VARCHAR2(15) NOT NULL,
PHOTO_IMAGE BLOB,
TEXT_DESCRIPTION CLOB,
FILENAME VARCHAR2(50),
FILE_SIZE NUMBER NOT NULL,
CONSTRAINT PK_PHOTOS PRIMARY KEY (PHOTO_ID)
create index idx_photos_text_desc on
PHOTOS(TEXT_DESCRIPTION) indextype is ctxsys.context;
INSERT INTO PHOTOS VALUES
('P00000000000001', empty_blob(), empty_clob(),
'SCGP1.JPG',100);
INSERT INTO PHOTOS VALUES
('P00000000000002', empty_blob(), 'Cold Play with me at the concert in Melbourne 2005',
'COLDPLAY1.JPG',200);
INSERT INTO PHOTOS VALUES
('P00000000000003', empty_blob(), 'My parents in Melbourne 2001',
'COLDPLAY1.JPG',200);
EXEC CTX_DDL.SYNC_INDEX('idx_photos_text_desc');
SELECT PHOTO_ID ,TEXT_DESCRIPTION
FROM PHOTOS;
SELECT score(1),PHOTO_ID ,TEXT_DESCRIPTION
FROM PHOTOS
WHERE CONTAINS(TEXT_DESCRIPTION,'parents',1)> 0
ORDER BY score(1) DESC;
SELECT score(1),PHOTO_ID ,TEXT_DESCRIPTION
FROM PHOTOS
WHERE CONTAINS(TEXT_DESCRIPTION,'cold play',1)> 0
ORDER BY score(1) DESC;
SELECT score(1),score(2), PHOTO_ID ,TEXT_DESCRIPTION
FROM photos
WHERE CONTAINS(TEXT_DESCRIPTION,'Melbourne',1)> 0
AND CONTAINS(TEXT_DESCRIPTION,'2005',2)> 0
ORDER BY score(1) DESC;Hi
You can use the following to insert an image:
create table imagetab(id number primary key,imagfile blob, fcol varchar2(10));
create or replace directory imagefiles as 'c:\'
declare
v_bfile BFILE;
v_blob BLOB;
begin
insert into imagetab (id,imagfile,fcol)
values (3,empty_blob(),'BINARY')
return imagfile into v_blob;
v_bfile := BFILENAME ('IMAGEFILES', 'MyImage.JPG');
Dbms_Lob.fileopen (v_bfile, Dbms_Lob.File_Readonly);
Dbms_Lob.Loadfromfile (v_blob, v_bfile, Dbms_Lob.Getlength(v_bfile));
Dbms_Lob.Fileclose(v_bfile);
commit;
end;
/ -
Is there a way to call a stored proc from the web in Oracle 10g?
I've found an article about Native Oracle XML DB Web Services in 11g, but it appears to be a new feature. Is there any way of accomplishing something similar in 10g? I would like to be able to process XML documents that contain the name and parameters of the stored proc/function to execute.
Link to 11g article:
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb_web_services.htmI agree with you. I was looking into mod_plsql, but it turns out that their development standards include not using Oracle HTTP server. The whole reason why they want to be able to execute a stored proc based on what is specified in an XML doc is that they want to avoid having to change their middle-tier configurations anytime a new stored proc or a change in stored proc parameters is made. I'm not familiar with what all is involved with .NET and the middle-tier, but supposedly this way, they can specify any stored procedure name and its parameters in an XML file. The XML is then suppose to be passed on to an Oracle stored procedure which will parse the XML and dynamically execute the stored procedure that was specified in the XML.
Here is an example of the XML:
'<Root>
<PackageName>TEST_PKG</PackageName>
<ProcedureName>TEST_PROC</ProcedureName>
<Parameters>
<Parameter>
<Name>EmpID</Name>
<Value>12345</Value>
</Parameter>
<Parameter>
<Name>Org</Name>
<Value>ABC</Value>
</Parameter>
</Parameters>
</Root>I basically need to parse out the pkg/proc names:
SELECT t.COLUMN_VALUE.extract('//PackageName/text()').getstringval() PkgName,
t.COLUMN_VALUE.extract('//ProcedureName/text()').getstringval() ProcName
INTO v_pkg_name, v_proc_name
FROM TABLE(xmlsequence(XMLTYPE(v_XML_input) .extract('/Root'))) t;...and then execute the procedure:
EXECUTE IMMEDIATE 'BEGIN '||v_pkg_name||'.'||v_proc_name||'(:a, :b, :c); END;'
using in v_in_param1, v_in_param2, out v_XML_output;The problem is that this approach is very complicated since there can be any number of IN/OUT parameters and of various datatypes. I would have to create all kinds of possible bind variables! -
Enable deactivated productiove password from the backend
Hi Experts,
Does any one know how to enable deactivated productive password from the back end. The scenario is administrator him self not logged in continuously for 90 days and the login/max_idle_productive is set to 90 days and login/password_expiration_time set to 60days and the productive password got deactivated.
We can do this by deleting sap* and relogin sap* and reset the password. But I want to know how to do from the backend.
I tried this.
updated schemaname.usr02
set pwdstate=0 where bname='XXXX' and mandt='000';
commit,
But this didn't work. I know the id is not locked. Thatswhy I didn't set uflag to 0.
Appreciate if anyone could help on this?
Thank you
Venkat
Edited by: Venkat Battula on Aug 18, 2010 7:22 PM>
Venkat Battula wrote:
> Looks like even trusted connection and RFC also doesn't work as all ids got disabled because of the productive password parameter set. I see only alternative for me is delete sap* and activate all the ids.
>
> Thank you all very much for sharing your thoughts and really appreciate your prompt response with great suggestions.
>
> Thank you all once again,
> Venkat
Sorry, but this is a wrong assumption.
Only password-based authentication is effected by passwords and their status (locked, expired, ...).
In any case you experience problems to logon to an ABAP server, kindly use the tracing approach described in [SAP Note 495911 |https://service.sap.com/sap/support/notes/495911]to analyse the cause.
By the way: the trigger for this feature (to specify after which time of not using a password it shall no longer be usable for authentication) is an Italian law. So, it's mandatory for Italian customers but optional for all others to make use of that feature. -
How to enable single window mode?
*how to enable single window mode in the latest version of Safari?*
browser opens up some links in new windows and it is very inconvenient
Message was edited by: wolfxrAll that you describe is the standard setting them I have long found, but they do not bring any results. What is interesting - parameter "TargetedClicksCreateTabs" in a state of "true" which is processed in the Mac version, broken in the Windows-based version if it is to register the file C: \ Program Files \ Safari \ Safari.resources \ Defaults.plist a file stored in the folder C: \ Documents and Settings \ Admin \ Application Data \ Apple Computer \ Preferences \ com.apple.Safari.plist scrambled to change it theoretically impossible, but if you replace it with THIS file, then it can be set, but the parameter "TargetedClicksCreateTabs" still not working
-
How to enable/disable the input fields based on the data entered in the web dynpro application abap? If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.
Hi,
Try this code.
First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
Next go to Init method.
Set the readonly value as 'X'.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_visible TYPE wd_this->element_context-visible.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* @TODO handle not set lead selection
IF lo_el_context IS INITIAL.
ENDIF.
* @TODO fill attribute
* lv_visible = 1.
* set single attribute
lo_el_context->set_attribute(
name = `READONLY`
value = 'X').
After that Go to the Action ENTER.
First read the input field ( first input field, which is value entered field) , next give a condition
if input value is not initial then set the readonly value is ' '.
DATA lo_nd_input TYPE REF TO if_wd_context_node.
DATA lo_el_input TYPE REF TO if_wd_context_element.
DATA ls_input TYPE wd_this->element_input.
DATA lv_vbeln TYPE wd_this->element_input-vbeln.
* navigate from <CONTEXT> to <INPUT> via lead selection
lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
* @TODO handle non existant child
* IF lo_nd_input IS INITIAL.
* ENDIF.
* get element via lead selection
lo_el_input = lo_nd_input->get_element( ).
* @TODO handle not set lead selection
IF lo_el_input IS INITIAL.
ENDIF.
* get single attribute
lo_el_input->get_attribute(
EXPORTING
name = `VBELN`
IMPORTING
value = lv_vbeln ).
if lv_vbeln IS not INITIAL.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_visible TYPE wd_this->element_context-visible.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* @TODO handle not set lead selection
IF lo_el_context IS INITIAL.
ENDIF.
* @TODO fill attribute
* lv_visible = 1.
* set single attribute
lo_el_context->set_attribute(
name = `READONLY`
value = ' ' ). -
How do I disable stand mode completely? (on the Flex 2-15)
Whenever my laptop's in my bag and I move around, it changes from laptop mode to stand mode and back over and over and over and beeps every time it does so. For me, the stand mode is almost completely useless but a large bother on many occasions. How can I disable the ability to change to stand mode on this computer?
I don't beleive that I am asking for Register Level Support. I was under the impression that these cards could be implemented with windowed AND/OR non-windoed register addressing. Is the PCI-MIO-16E-4 able to use windowed and non-windoed register addressing? If so, how do I disable windowed mode?
Thanks -
RE: TABS ARE WINDOWS!
The Windows bar already functions as a tab bar. Those tabs are called "windows." So, I find Firefox tab windows superfluous. How can I disable them completely from Firefox 23? I don't need what is essentially TWO windows bars covering up the entire width of my widescreen monitor's image! I already have a Windows bar at the bottom of my screen and, if I really wanted to, I could change ITS position to the top of the screen, so that it would LOOK like the Firefox tab windows bar. Firefox TABS are, essentially, a superfluous SECOND WINDOWS BAR.
Here are my reasons for why I'd rather use Mozilla's Firefox, than Microsoft's Internet Explorer or Google's Chrome. I love and admire Firefox for Mozilla's intent on good security, for Firefox's Personas add-on, and for Firefox's free use of the Ad-Block add-on which, as you know, has the distinct virtue of reducing screen clutter--the last of which is my motive for wanting to get rid of the SUPERFLUOUS Firefox tabs "windows" bar. I am dreadfully sick of companies forcing miscellaneous bars (mostly representing marketing campaigns trying to sell me something) into my browser (and down my throat) every time I download something. (In case you haven't guessed, I am deliberately referring to your Firefox tabs bar as a "Firefox tabs 'windows' bar," because TABS are WINDOWS!)Let me clarify even more. The Firefox add-on you mention does not remove "tabs" windows. It only HIDES the "tabs" bar when there is only one "tab" in that window. It DOES NOT end "tabs." It does not turn "tabs" off.
I know this, because, even with the add-on you recommend, the "tabs" bar often re-appears when I open a link, which--for some unknown reason--Firefox defaults to opening in a second "tab" within the same window, rather than putting it in a new Windows bar window. This, of course, disregards what I want to happen.
I want to use my Windows bar to control my windows. I do not want my Firefox browser controlling my windows--which it calls "tabs." Can you tell me how to shut off "tabs?" -
TS3376 how do i take my phone off lock mode from the lost and track
how do i take my phone off lock mode from the lost and track
What To Do If Your iDevice or Computer Is Lost Or Stolen
If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T, Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. Lost or Stolen iPhone? Here’s What to do
6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
7. Find My iPhone
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on MobileMe
3. OS X Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
Third-party solutions for computers:
1. VUWER 1.5.4
2. Sneaky ******* 0.2.0
3. Undercover 4.7
4. LoJack for Laptops Premium Mac
5. STEM 2.1
6. MacPhoneHome 3.5 -
We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube? The Moodle upload interface is expecting a file selection dialog box like windows or OSX. I do not want to have to go through an intermediary step of messing with a pc.
Thanks!It should be around 7 and a half gigs. In iTunes, across the bottom there should be a bar that show how much storage is being used and by what. (music, movies, apps, etc.) To make music take up less room, you can check the box to make it convert the music to 128kbps AAC. This lowers the quality, but with most earbuds and speakers, you can't even tell the difference.
The iPod touch has parental controls built in. You'll find them in Settings. I think they only work for enabling/disabling Safari, Mail, YouTube, and App Store. Here's an app that does more: http://www.mobicip.com/online_safety/ipod_touch -
How do I disable Protected Mode at startup on Reader XI
fallowing the instructions on:
http://helpx.adobe.com/acrobat/kb/protected-mode-troubleshooting-reader.html
I went to "Edit > Preferences > General Tab". The objective wasa to uncheck "Enable Protected Mode at startup". The page was written for Reader X on Reader XI I couldn't find "Enable Protected Mode at startup" on the Gernal tab. How do I disable Protected Mode at startup on Reader XI?Dragon NaturalySpeaking software doesn't work on FireFox in with Reader in Protected Mode.
I see no hope for the future of our people if they are dependent on the frivolous youth of today, for certainly all youth are reckless beyond words. When I was a boy, we were taught to be discreet and respectful of elders, but the present youth are exceedingly disrespectful and impatient of restraint.
- Hesiod, eighth century B.C.E..
Maybe you are looking for
-
i really need some help, no app is downloading on to my ipod :/
-
Hi All, I need additional info object-Aging in the query which is not present in the query at the moment. This has to be feeded from the calculation below. Current date minus requested delivery date.So today is 28th November and lets say that the req
-
To get a pop up screen in Module pool
Hi, Can any one tell me how to get a pop up screen while clicking a button in selection screen in module pool program. regards, Ruchika saini
-
Adobe CS5.5 & 6.0 installation problems
I'm trying to install CS5.5 on Win7 X64 SP1 and the install freezes at 13% the time for install just keeps increasing. I don't get any errors it sat overnight and didn't go any further. I ran the adobe clean up tool as adobe's web suggested and still
-
Hi All, I am on Portal 701, i have created a system object for SRM ABAP system in Portal. Have created UWL Connector for SRM ABAP system with the same name in System Admin-->Universal worklist Have registered the System successfully. Have defined a R