For the other sessions to find the NLS parameters.
Hi allDatabase server Environment Details:
2 Node Oracle 10.2.0.4 RAC on Solaris Operating System
Parameter in Spfile:
nls_sort = BINARY_CI
nls_comp = LINGUISTIC
nls_language = AMERICAN
Parameters in database:
SQL> select * from nls_database_parameters;
PARAMETER VALUE
------------------------------ ------------------------------------------------------------
NLS_LANGUAGE AMERICAN
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET AL32UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_RDBMS_VERSION 10.2.0.4.0
20 rows selected.
Parameters at client's environment variable(Its Application sever on Windows):
Oracle Client 10.2.0.4
nls_sort = BINARY_CI
nls_comp = LINGUISTIC
Now, each index on columns of type of data characters in this database are created as function of the Index of base to support Case Insensitive search using nls_sort to BINARY_CI, as shown below.CREATE UNIQUE INDEX UX_NAME_BR ON ONS (NLSSORT("NAME",'nls_sort=''BINARY_CI'''),"TYPE_ID", "UNIT_NUMBER", "DOMICILE", "IS_ACTIVE", "ID")
What worries me started when I created by mistake an index btree normal on a character column. After this error just by curiosity, I enabled index followed up on this clue, when I checked in v$ object_usage it got USED!So I strongly suspect that there are a few sessions connected to this database with different values of NLS instead of nls_sort = BINARY and nls_comp = LINGUISTIC...
Sort of, I did a little test in production to confirm this, as shown below:
PARAMETER VALUE
-------------------------------------------------- ------------------------------------------------------------
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS CHAR
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected.
SQL> set autotrace traceonly exp
SQL> select id,is_active from ons where domicile = 'US' and id = 440 and name = 'AMERICAN COMPANY';
Execution Plan
----------------------------------------------------------
Plan hash value: 1171456783
---------------------------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
---------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 49 | 4 (0)| 00:00:01 | | |
| 1 | PARTITION RANGE ALL | | 1 | 49 | 4 (0)| 00:00:01 | 1 | 3 |
|* 2 | TABLE ACCESS BY LOCAL INDEX ROWID| ONS | 1 | 49 | 4 (0)| 00:00:01 | 1 | 3 |
|* 3 | INDEX RANGE SCAN | IDX_COD | 1 | | 4 (0)| 00:00:01 | 1 | 3 |
---------------------------------------------------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
2 - filter("ID"=440)
3 - access("DOMICILE"='US' AND "NAME"='AMERICAN COMPANY')
SQL> alter session set nls_sort=BINARY_CI;
Session altered.
SQL> alter session set nls_comp=LINGUISTIC;
Session altered.
SQL> select * from nls_session_parameters;
PARAMETER VALUE
-------------------------------------------------- ------------------------------------------------------------
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY_CI
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP LINGUISTIC
NLS_LENGTH_SEMANTICS CHAR
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected.
SQL> select id,is_active from ons where domicile = 'US' and id = 440 and name = 'AMERICAN COMPANY';
Execution Plan
----------------------------------------------------------
Plan hash value: 270874147
------------------------------------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
------------------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 49 | 2 (0)| 00:00:01 | | |
| 1 | TABLE ACCESS BY GLOBAL INDEX ROWID| ONS | 1 | 49 | 2 (0)| 00:00:01 | ROWID | ROWID |
|* 2 | INDEX RANGE SCAN | UX_NAME_BR | 1 | | 2 (0)| 00:00:01 | | |
------------------------------------------------------------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
2 - access(NLSSORT("NAME",'nls_sort=''BINARY_CI''')=HEXTORAW('669696E6720636F6D70
616E7900') AND "ID"=440)
filter("ID"=440 AND NLSSORT(INTERNAL_FUNCTION("DOMICILE"),'nls_sort=''BINARY_CI
''')=HEXTORAW('7588700') )
IDX_COD index is a regular btree index...So, how can I find which sessions have access to these indexes and find the session parameters nls level connected to this database.
I know there is no way to find settings nls for the other sessions without tracing it...
Kickbacks will not work me
NLS_DATABASE_PARAMETERS
NLS_SESSION_PARAMETERS
Could someone help me please to find these sessions these sessions that are not level session as BINARY_CI and LANGUAGE settings
Trigger may fail if the storage space for the trace table is full. This trigger does not use dynamic SQL code: in this perspective, it is a bit more secure.
I don't know any other way supported to retrieve another session NLS parameters. But he can there have no documented similar to this one http://dioncho.wordpress.com/2009/07/18/spying-on-the-other-session/.
Tags: Database
Similar Questions
-
I have a HP Photomart 5520 printer and I need a book of instruction for the CopyOption parameters
I bought my first computer at the age of 81 years five months ago. The provided installation manual
with the printer has not all the instructions for the different parameters of CopyOption.
I was wondering if there was instructions that could be sent by post or by e-mail to me?
Norman Pencille
[edited by Moderator]
Hello norman - 99,.
Welcome to the Forums of HP Support! Congratulations on your first computer, which should be exciting and scary at the same time!
I see that you are interested in a guide to all the different copy settings and options for your Photosmart HP 5520, there is a User Guide that has information about the copy feature, you will find that here: HP Photosmart 5520 series User Guide on pages 21-24. I know you are probably looking for more information, although not available in the manual, I took the lead and went through the front for you and made a list for you, you'll find it attached (at the bottom of this post) in this way you can keep it for future reference.
I hope this has been helpful, please let me know if you need more help.
Thank you
-
Download weekdaynum, independent of the nls parameters.
What is the best way to get Weekdaynum for a date?
The algorithm must be independent of the nls parameters.
This solution depends on nls_teritory and works differently when
nls_territory = "AMERICA."
and when it is ESTONIA:
select decode ( to_char(sysdate,'DY','nls_date_language=english'), 'MON', 1, 'TUE', 2, 'WED', 3, 'THU', 4, 'FRI', 5, 'SAT', 6, 'SUN', 7 ) WeekdayNum from dual;
Something like this should also work, it just takes mod 7 the Julian date and add the value 1.
with data as (select sysdate + rownum - 1 as dt from dual connect by rownum < 10) select dt, decode(mod(to_char(dt,'J'),7) + 1, '1', 'Monday', '2', 'Tuesday', '3', 'Wednesday', '4', 'Thursday', '5', 'Friday', '6', 'Saturday', 'Sunday') as result from data;
-
Any ideas how we can determine what parameters it dislikes? I am the appellant after VixDiskLib_Disconnect as recomment docs and using the same connection params struct I used with VixDiskLib_ConnectEx.
Thank you
-Ron
UInt32 numCleanedUp = 0, numRemaining = 0;
/= VDDK 1.1 header says connection spec should be null =/.
connectParamsP - & gt; vmxSpec = (char *) NULL;
vixError = VixDiskLib_Cleanup (connectParamsP, & numCleanedUp, & numRemaining);
vixError (6) - the operation is not supported for the specified parameters
Ron,
I think that your connection is probably not use all transport advanced, in which case _Cleanup does nothing. If you connect without using advanced transport, cleaning returns 6 - there is nothing to clean up.
Thank you
Annick
-
Day of week (1-7) and the NLS parameters
It's embarrassing, but I'm going nuts here.
Today is Monday. Here, it's the first day of the week.
Thus,.
Very well, it's probably because of my NLS settings:SQL> select to_char(sysdate, 'd') from dual; TO_CHAR(SYSDATE,'D') -------------------- 2 1 row selected.
We will change then, in something where people know that Monday is the first day of the week ;)SQL> select * from nls_session_parameters where parameter = 'NLS_DATE_LANGUAGE'; PARAMETER VALUE ------------------------------ ---------------------------------------- NLS_DATE_LANGUAGE AMERICAN 1 row selected.
No luck, how about youSQL> alter session set nls_language = german; Session altered. SQL> select to_char(sysdate, 'd') from dual; TO_CHAR(SYSDATE,'D') -------------------- 2 1 row selected.
May be variable, bad. How about NLS_TERRITORYSQL> select to_char(sysdate, 'd', 'NLS_DATE_LANGUAGE = danish') from dual; TO_CHAR(SYSDATE,'D','NLS_DATE_LANGUAGE=DANISH') ----------------------------------------------- 2 1 row selected.
Great! - But I do not alter session, statement andSQL> alter session set nls_territory = 'DENMARK'; Session altered. SQL> select to_char(sysdate, 'd') from dual; TO_CHAR(SYSDATE,'D') -------------------- 1 1 row selected.
Dang, out of ideas. I'm just on a mission impossible here?SQL> select to_char(sysdate, 'd', 'NLS_TERRITORY = denmark') from dual: select to_char(sysdate, 'd', 'NLS_TERRITORY = denmark') from dual * Error at line 1 ORA-12702: invalid NLS parameter string used in SQL function
Concerning
Peter
BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
Hi, Peter,.
What is the problem?
You want just an expression which, given a date, will return an integer (1 for Monday,..., 7 for Sunday), independent of the NLS settings?
If so:1 + TRUNC (dt) - TRUNC (dt, 'IW')
-
Views of data for the metric parameters dictionary
Hello
10.2.0.4 on Windows, which data dictionary views, I can query to see the current measures settings (what we usually using data/Metrics page OEM grid control and political).
Thanks in advance.
SAQ
DBA_THRESHOLDS
DBA_THRESHOLDS
Describes all the thresholds.Column Datatype NULL Description METRICS_NAME
VARCHAR2(64)
Name of the metric WARNING_OPERATOR
VARCHAR2(12)
Relational operator for warning thresholds: GT
EQ
LT
LE
GE
CONTAINS
NE
DO NOT CHECK
DO_NOT_CHECK
WARNING_VALUE
VARCHAR2(256)
Warning threshold value CRITICAL_OPERATOR
VARCHAR2(12)
Relational operator for critical thresholds: GT
EQ
LT
LE
GE
CONTAINS
NE
DO NOT CHECK
DO_NOT_CHECK
CRITICAL_VALUE
VARCHAR2(256)
Critical threshold value OBSERVATION_PERIOD
NUMBER
Length of the period of observation (in minutes) CONSECUTIVE_OCCURRENCES
NUMBER
Number of occurrences before alert is issued INSTANCE_NAME
VARCHAR2(16)
Name of the instance; NULL for the nationwide database alerts OBJECT_TYPE
VARCHAR2(64)
Object type: SYSTEM
SERVICE
EVENT_CLASS
TABLESPACE
FILE
OBJECT_NAME
VARCHAR2(513)
Name of the object for which the threshold is fixed STATUS
VARCHAR2(7)
Indicates whether the threshold is applicable on a valid object ( VALID
) or not (INVALID
) -
Hai!
I searched for parameters of export good to use as I export my mpg files in adobe cs4 Prime Minister
But all my results are so crapy!
I can see that they are good at first, but after export, they are as bad as if I would use windows movie maker.
I found that uncompressed AVI gives only the sound, no images.
Compressed AVI gives this look bad.
Animation of QT gives as bad.
MP4 got a resolution max 340 x 240, so we do not even gona dislikes this one...
My movies are in native MOD files. I convert 'em by simply changing the extension to mpg
720 x 576 resolution
25 fps
Audio compressed 48 k Hz
More info needed?
Thank you very much for helping me, I really looked at much discussion and other things
on the internet for a solution, but I couldn't.
It's really urgent, the film MUST be done in 2 days. Otherwise I have a F
What settings do you have now? Screenshots of the MPEG dialog screens will give the full info.
Good luck
Hunt
-
Programming logic needed to retrieve the records for the last month/week
Hi all
I need assistance in programming SQL logic.
Oracle database version: 10.2.0.3.0
Requirement
In an environment of DW, I need to program to weekly and monthly automated batch insert the data from Data_tbl to Reporting_tbl to generate reports. Descriptions of paintings are given below.
Table 1 - Data_tbl (Source of table - this table is updated daily).
Record_dt first name last name
Table 2 - Reporting_tbl_ (the target table)
Cycle_dt first name last name
1. monthly report
In the SQL query, I where clause conditions.
Where Record_dt > = 1 November 08 ' and record_dt < = 30 November 08 '
Using the above condition in development, I'm pulling over the last months data source table data. This will be repeated every month, and it should be automated.
that is, if I run this report at any time in December 2008, he should choose documents dates from Nov 01 to November 30, 2008. If I run this report at any time in January 2009, he should choose documents dates to Dec. 01 to December 31, 2008.
Date values must be assigned for the last month. Value of Cycle_dt in the target table must be the date of the end of last month as on November 30, 2008, 31-dec-2008.
2 weekly Report
In the SQL query, I where clause conditions.
Where Record_dt > ='01-dec-08' and record_dt < ='' 07-dec-08
Monday week start date and end date is Sunday.
If I run the report between the 08 Dec-14 Dec, it should make records of the dates of Dec. 01 to December 7, 2008.
On 15 December, he should seek from 08 Dec-14 Dec.
Value of Cycle_dt in the target table must be the date of last weekend, as on December 7, 2008, December 14, 2008.
Please help me with the logic for both monthly and weekly reports.
Thank youHello
TRUNC (dt, 'W') is the beginning of the week, which may be different days, according to the NLS parameters in your session. Unless you want something that varies from one session to the next, you should stick with the weeks of ISO.
TRUNC (SYSDATE + 1, 'IW') - 1
is the Sunday of the week underway Sunday to Saturday, which starts and ends in 1 day before the ISO week.
To find the precedent of the week from Sunday to Saturday:WHERE record_dt >= TRUNC (SYSDATE - 6, 'IW') - 1 AND record_dt < TRUNC (SYSDATE + 1, 'IW') - 1
If you were interested in a week from Saturday to Friday (either 2 days earlier than the ISO week):
TRUNC (SYSDATE + 2, 'IW') - 2
-
See date + hour in the date cells without changing the NLS settings
We have a lot of columns date containing the date + time values, I often need to see while browsing the data in the table.
Settings for the date format default NLS are exact to 'Russia', our database uses the default, which is then used by SQLDeveloper. For example, to display the values of time, I should write or select to_char manually with appropriate or the NLS under "Database" settings in preferences. Of course, it seems preferable to modify the NLS parameter.
However, the date format change NLS has certain side effects. For example, it affects various tasks involving mainly exporters, which are launched from SQLDeveloper, because the to_char default to values date format also changes. Of course we could blame the lazy developers does not explicitly specify the formats, but it does not change the fact that the results of the task execution are 'bad', and which can be quite difficult to notice until the following tasks fail. Also, if I'm not mistaken, NLS_DATE_FORMAT also affects to_date default format, making import text and date columns questioning pretty boring. It's better safe than sorry, so I need to keep the NLS parameters
So, is it possible to set date format only for the display of the values in the data grid, without affecting the NLS settings somehow? I'm fine with just about anything, including writing an extension myself if necessary, I just need to work. If it is not possible, SQL Developer Team please add this parameter, or at least display a tooltip on mouseover, displaying the value of the cell "full"?
NLS is the only way to affect the display of dates in the grids. To_char formatting is up to you good - he will use that you define in the function call.
-
missing namespace for the parameters in the web service call
We try to call a web service developed by Java & XFire. The WSDL is valid for WS - I Basic Profile and it works very well with SoapUI. The query generated automatically by SoapUI is the following:
"" "" "< soapenv:Envelope xmlns:soapenv = ' http://schemas.xmlsoap.org/soap/envelope/ ' xmlns: your =" http://www.example.org/test8/ " xmlns:tes1 =" http://www.example.org/test8 "> "
< soapenv:Header / >
< soapenv:Body >
< your: parameters >
< a >
< tes1:id > 44444444444445 < / tes1:id >
< tes1:b >
< tes1:id >? < / tes1:id >
< / tes1:b >
< /a >
< id >? < /ID >
< / your: parameters >
< / soapenv:Body >
< / soapenv:Envelope >
When we put this in Flex, what we are seeing is that the namespace for the parameters element is missing. We see it in the proxy logs. The server receives this message and parameters is not in namespace, so the server complains that the parameters is missing. We can reproduce this exact behavior by removing namespace in the query with SoapUI.
The question is why flex removes namespace for the element parameters?
We use the literal to the WSDL document, and I paste below. We have been stuck on this for over a week, so if anyone has any suggestions I would be eternally grateful. Thank you
<? XML version = "1.0" encoding = "UTF-8"? >
< wsdl:definitions
' xmlns:SOAP =' http://schemas.xmlsoap.org/wsdl/soap/ "
' xmlns:TNS =' http://www.example.org/test8/ '
' xmlns:WSDL =' http://schemas.xmlsoap.org/wsdl/ '
"container =" http://www.w3.org/2001/XMLSchema "
name = "test8".
targetNamespace =" http://www.example.org/test8/" > "
WSDL: < types >
< xsd: Schema
"targetNamespace =" http://www.example.org/test8/ "
xmlns:Q1 =" http://www.example.org/test8" > "
< xsd: import
schemaLocation = "Test8.xsd."
namespace =" http://www.example.org/test8" > "
< / xsd: import >
< xsd: complexType name = "fooRequestType" >
< xsd: SEQUENCE >
< xsd: ELEMENT
name = "a".
Type = "Q1:A" >
< / xsd: element >
< xsd: ELEMENT
name = "id".
Type = "xsd: String" >
< / xsd: element >
< / xsd: SEQUENCE >
< / xsd: complexType >
< xsd: complexType name = "fooResponseType" >
< xsd: SEQUENCE >
< xsd: ELEMENT
name = "b".
Type = "Q1:B" >
< / xsd: element >
< xsd: ELEMENT
name = "id".
Type = "xsd: String" >
< / xsd: element >
< / xsd: SEQUENCE >
< / xsd: complexType >
< / xsd: Schema >
< / wsdl: types >
< name of the WSDL: message = "fooRequest" >
< wsdl: part
name = "parameters".
Type = "tns:fooRequestType" / >
< / wsdl: message >
< name of the WSDL: message = "fooResponse" >
< wsdl: part
name = "parameters".
Type = "tns:fooResponseType" / >
< / wsdl: message >
< name of wsdl: portType = "Test8" >
< name of wsdl: Operation = "foo" >
< message wsdl: Input = "tns:fooRequest" / >
< message wsdl: output = "tns:fooResponse" / >
< / wsdl: Operation >
< / wsdl: portType >
< wsdl: Binding
name = "Test8SOAP".
Type = "tns:Test8" >
< soap binding:
style = "document".
"transport =" http://schemas.xmlsoap.org/soap/http " / >
< name of wsdl: Operation = "foo" >
WSDL: input >
< use of soap: body = "literal" / >
< / wsdl: Input >
< wsdl: output >
< use of soap: body = "literal" / >
< / wsdl: output >
< / wsdl: Operation >
< / wsdl: Binding >
< wsdl:service name = "Test8" >
< wsdl: port
Binding = "tns:Test8SOAP."
name = "Test8SOAP" >
"" < soap: address location = ' http://www.example.org/test8 ' / >
< / wsdl: port >
< / wsdl:service >
< / wsdl:definitions >
the XSD containing A and B:
<? XML version = "1.0" encoding = "UTF-8"? >
"" "" "" < scheme xmlns = " http://www.w3.org/2001/XMLSchema" targetNamespace = ' http://www.example.org/test8 ' xmlns:tns = ' http://www.example.org/test8 ' elementFormDefault = "qualified" >
< name complexType = 'A' >
<>sequence
< element
name = "id".
Type = "string" >
< / item >
< element
name = "b".
Type = "tns:B" >
< / item >
< / sequence >
< / complexType >
< complexType name = "B" >
<>sequence
< element
name = "id".
Type = "string" >
< / item >
< / sequence >
< / complexType >
< / schema >
The solution seems to be that Flex doesn't support unwrapped no literal document. Flex only supports rpc literal or literal wrapped document. This seems to be because flex adds the name of the xml message method and in the unpacked literal document there is no message name in the soap message.
It took a lot of time to understand this, partly because we did not know exactly what is wrapped meant (there is no option in Eclipse WTP for her, no way to verify no wrapped with a tool, etc.). If Flex said that she did not support unpacking literal document we would have saved ourselves a week or two.
-
NLS parameters in a connection pool environment
I have limited experience of localization/globalization and I am building an application, using Oracle APEX 4.2/Oracle 11 g db, which takes care of several users of different nationalities. I have a specific question, but first... can anyone recommend good books, blogs and websites to learn more about best practices for the many things you need to think in this area?
Second, my precise question is... Since my application will use a connection pool, how it works as far as setting the NLS parameters for a given client session? In the typical client/server architecture that I know that you would simply change the NLS parameter when the user connects, and this change would govern just the session of this user database. It's a different approach when we are in an environment of connection pool? If this is not the case, how Oracle now manages the parameters of the client session this session of customer may engage in more than one session of db in its lifetime?
You can set the runtime: http://docs.oracle.com/cd/E16655_01/appdev.121/e17961/global_primary_lang.htm#HTMDB14002
Thank you
Sergiusz
-
Hi all
during the restoration of the database to the point in time we must choose the NLS_LANG and NLS_DATE_FORMAT settings, is it mandatory parameters are... ?
My restore of database to the point in time is not successful. There just restore. Please let me know these parameters...
Thank you!Setting NLS Environment Variables
Before calling RMAN, set NLS_DATE_FORMAT and NLS_LANG environment variables. These variables determine format used for the time parameters in the RMAN commands including restore, recover and report.The following example shows the typical language and date format settings:
NLS_LANG = American
NLS_DATE_FORMAT =' Mon ' JJ YYYY HH24:MI:SSSpecification of Dates in the RMAN commands
When you specify the dates of RMAN commands, the date string can be either:A literal string whose format is the setting NLS_DATE_FORMAT.
Expression SQL type DATE, for example, ' SYSDATE-10 "or" TO_DATE (January 30, 1997 ',' DD/MM/YYYY ') ".". " Note that the second example includes its own date format mask and therefore regardless of the current setting NLS_DATE_FORMAT.
Some examples of typical date parameters in the RMAN commands:
ARCHIVELOG backup time ' SYSDATE-31' until ' SYSDATE-14';
restore the database up to the time "TO_DATE('12/20/98','MM/DD/YY')";Specify the database character set
If you are going to use RMAN to connect to a database that is not mounted, and then mount the database later, RMAN is always connected, set the NLS_LANG variable so that it also specifies the character set used by the database.A database that is not mounted assumes the default character set, which is US7ASCII. If your character set is different from the default, then RMAN returns errors after the installation of the database. To avoid this problem, set the NLS_LANG to specify the character set of the target database. For example, if the character set is WE8DEC, you can set the parameter NLS_LANG as follows:
NLS_LANG = AMERICAN_AMERICA.we8dec.
--------------------------------------------------------------------------------
Note:
You must set the NLS_LANG and NLS_DATE_FORMAT for NLS_DATE_FORMAT to use.This is the excerpt from the following link:
http://docs.Oracle.com/CD/A84870_01/doc/server.816/a76990/preparer.htmWhat is the exact error that you have found?
-
DBMS_SYSTEM allows you to change a parameter string for the other sessions value?
Hello
I want dbms_system allows you to change a string to another session parameter. Aims to enable cursor_sharing = FORCE for currently connected sessions.
For future connections, this will be done by a trigger connection, but there are several sessions of app server that will remain connected for weeks or months without change.
dbms_system contains procedures to set integers and Boolean values in other sessions, but I can't find anything on char/string parameters. For what is documented here Oracle DBMS_SYSTEM it seems that nothing like this available.
DB version is 11.2.0.3. Is it possible to do it on this version?
Is it perhaps a sql to activate cursor_sharing = FORCE (and event set through dbms_system.set_ev)?
Concerning
Thomas
DBMS_SYSTEM is an old man who was not formally documented.
DBMS_MONITOR is a current which * is * documented, but it has no documented method to set the cursor (for example).
There is no documented way I know to do what you suggest. If you really must do it this way, I would recommend that you open an SR with Oracle Support to ask them. Otherwise, just schedule some downtime for your application and implement the logon trigger.
-
I can't find the drivers for the device of 'other '.
I can't find the drivers for the device of 'other '.
There are 3 basic system features that are all to even show a yellow '! ' in Device Manager.
1.
Location: Bus PCI 21, device 0, function 4
PCI VEN_1180 & DEV_0592 & SUBSYS_20CA17AA & REV_11\4 & 3B3A03B5 & 0 & 04F0
2.
Location: Bus PCI 21, device 0, function 3
PCI VEN_1180 & DEV_0843 & SUBSYS_20C917AA & REV_11\4 & 3B3A03B5 & 0 & 03F0
3.
Location: Bus PCI 21, device 0, function 5
PCI VEN_1180 & DEV_0852 & SUBSYS_20CB17AA & REV_11\4 & 3B3A03B5 & 0 & 05F0
Please help me to fig on which driver should I install to solve this problem.
Sincerity,
Thank you very much
T61p: 6459CTO T9300, NVidia Quadro FX570M - 256 MB op GL, 15.4 "WSXGA + TFT, 160 GB 7200 RPM HDD, 2 GB of RAM, Windows XP Pro
Thank you very much
Finally, I have foound they're driver for Ricoh 4-in-1 card reader
First time I think it wasn't this card because I bought the card reader chip, so I don't think on this driver for the card.
in any case thank you
-
I have two companies for which I connect to an Internet site for the data. I clicked "remember me" for the first company and now I can't get to the home page to open a session for the 2nd, he just guard logging in for the first.
You can also try one of these:
CookiePie: http://www.nektra.com/oss/firefox/extensions/cookiepie/
CookieSwap: https://addons.mozilla.org/firefox/addon/3255
Multifox: http://br.mozdev.org/multifox/
Maybe you are looking for
-
Drivers for Toshiba Satellite C50D-B-120
Hi, I have a Toshiba Satellite C50D-B-120. I need drivers for graphics card (Hardware ID: PCI\VEN_1002 & DEV_9853 & CC_030000) Audio Network ControllerI tried various page to Toshiba, but the drivers not download correctly. Any help is appreciated. L
-
Use of Custom Device or lvmodel real-time Module utilities
Hello I tried to understand how to use the RT Set processor pool inside of a custom device or lvmodel vi. My idea is to use one of my multiple devices customized to configure CPU pools in the VI Init. I added my custom for the device project PXI chas
-
HP desktop with a HDD normal computer. Win Vista 64-bit Windows. But the question is generic for another one with Win7 and another with XP. The problem is that I want to do is to replace the hard drive with a new fresh Plus unit. I want to keep exa
-
My iPad syncs with a 500 error message. What can I do about it?
Can't my notebooks
-
How do you print your story please help me