Find out the character set of a database
Hi,
I need to know the character set of a database. I don't know which command or utility can I use.
Thanks
This forum is for Oracle Repository.
However, connect as system and run
select * from nls_database_parameters
you should see the nls info.
Similar Messages
-
How to find out the roles set for the current session?
Hi,
I wanted to find out the roles set to the current session. Which system view or table gives this info?
Thanks
SeshuSELECT * FROM session_roles
-
How to find out the locale setting in a browser?
In my Java web project, the multi-lingual issue on the JSP pages is handled by JSTL. It works fine so far for any input messages. However, some messages come from the container. It is needed to find out the browser's country and language settings inside of the container. My question is how to find out the settings?
Thanks in advance.
v.Hi, this I found on James' website--see http://www.rf.net/~james/perli18n.html#Q28
Q28. Can web servers automatically detect the language of the browser and display the correct localized page?
A28. Yes. HTTP/1.1 defines the details of how content negotiation works, including language content.
WWW browsers send an Accept-Language request header specifying which languages are preferred for responses. This technique works fairly well, although some versions of Netscape Navigator send an improperly formatted request parameter. Also, switching language preferences in either Navigator or IE 4 doesn't always "take" without first deleting a language hint.
Few sites do content-negotiation on language, and interestingly enough I do not know of any major portals doing this. One site that does is Sun's documentation library at SunDocs. Debian.org does a very nice job of using Apache content negotiation wih languages and also has some nice help info too on Setting the Default Language.
Apache's Content Negotiation features will select the right page to return, whether HTML or image file. Annoyingly, the match logic is very literal, so a browser request for en-us will not match a server entry of en except as a last resort. Any other exact match will win over en, even if en-us was first preference.
There are 2 ways of doing content negotiation with Apache: type or variant maps and multiviews.
Variant Maps
In httpd.conf, disable Options Multiviews if configured and add
AddType type-var var
DirectoryIndex index.var
Then create an index.var file like this:
URI: start; vary="type,language"
URI: index.html.en
Content-type: text/html
Content-language: en-GB
URI: index.html.en
Content-type: text/html
Content-language: en-US
URI: index.html.en
Content-type: text/html
Content-language: en
URI: index.html.fr
Content-type: text/html
Content-language: fr-CA
URI: index.html.fr
Content-type: text/html
Content-language: fr
URI: index.html.es
Content-type: text/html
Content-language: es
Multiviews
The multiviews technique works like this. This does add extra server load, as each content directory must be scanned for the variant document names.
index.html is localized into variant documents such as:
index.html.en (or index.en.html)
index.html.fr
index.html.es
index.html (or index.html.html as a reader has recommended) symlinked to one of the above as the last resort.
Here's an example of http.conf directives for this:
# in httpd.conf
AddLanguage en .en
AddLanguage fr .fr
AddLanguage es .es
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
# Just list the languages in decreasing order of preference.
LanguagePriority en es fr de pt
Options Multiviews
# end of httpd.conf fragment
Starting in Apache 1.2, you may also create documents with multiple language extensions.
O'Reilly's Apache - The Definitive Guide, Chapter 6
ApacheWeek article on Language Negotiation
Another ApacheWeek article on Language Negotiation -
How to find out the process count for a database during a particular window
Hi Team,
I want to find out the maximum process count reached for a database for an interval. Say between 1:00 to 2:00 AM IST. Please help
Database version:11.2.0.2
OS:AIX 6.1Check DBA_HIST_RESOURCE_LIMIT. Your information will be there.
Simialr information is available in DBA_HIST_SYSSTAT.
Look for stat name logons cumulative/logons current - Total number of logons since the instance started/Total number of current logons
You can joing dba_hist_snapshot with snap_id and give begin_interval_time and end_interval_time to know historic process utilization.
Regards,
Sreejith -
How to find out the date when an oracle database is upgraded
Hi,
I would like to know the date when an oracle database is upgraded (for example 10.2.0.4 to 11.2.0.3).
Can you help me to find out these details.
Thanks,
Sarayuuser13312943 wrote:
Hi Ed and SB,
Thanks for your replies. How about this option?
Let us assume I am interested in checking when my database is upgraded to any 11g version.
Will this query help?
select min(first_usage_date) from dba_feature_usage_statistics where version like '11%';
I understand this may not be a generic solution , but with this idea I may be able to build up a query to get the result.
Thanks,
Sarayu
How is it that you or nobody knows when the DB was upgraded?
I would have expected a formal testing & upgrade plan.
Does the organization practice safe software & utilize any source code repository?
Does everyone suffer from amnesia?
How could a MAJOR database upgrade slip by everyone who should care about such a detail? -
How to find out the extension set version in R/3 Enteprise.
Hi all
I have an SAP system with kernel 640 and Basis and abap and other SPs at version 620.
I am trying to install Auto id infrastructure. I have the following questions.
1. With kernel level 640 should i take my system as R/3 4.7 or ECC5.0?
2. How do i find the extension set version (2.00 or 1.10) of my R/3 4.7 system?
Thanks in advance:)
Regards,
HariHi hari,
Ofcourse your system is a R/3 4.7 System and as it is running on 620 stack hence the extension set is 1.10.
for extension set 2.00 the stack level will be 630.
The same can be confirmed at
http://help.sap.com/content/documentation/r3/docu_sbs_r3_470.htm
Please note the following:-
a) SAP R/3 Enterprise Release 4.70 SR1
SAP Technology Components Release 6.20
<b>Extension Set 1.10</b>
b) SAP R/3 and R/3 Enterprise 4.70 SR1
SAP Web Application Server 6.30
<b>Extension Set 2.0</b>
Please update the thread status and reward the useful posts!
Regards,
Prem -
How to find out the DB's characterset??
Hi, how can I find out the character set of the database?
Thanks,
LotharThank you, Cheuk Chau ([email protected])
-
How to find out the best settings for BDT
Hi there.
I am trying to predict a movie rating. I downloaded datasets from IMDb, prepared them. A tried all of the regression algorithms, but the best result is giving Boosted Decision Tree. Now I am dealing with the best settings in this algorithm.
With default, running time was 69 seconds and the mean absolute error was 0.4844, which is quite much I think. So I tried to improve it by changing parameters of the BDT module. I tried to set Leaves per tree to 150 and than experimentaly find
remaining parameters. I've come to Samples per leaf=12, Learning rate=0.04 and
Number of trees=700. Running time was 78 seconds and mean absolute error was 0.4596.
Input of the algorithm is joined matrix with 14 columns (11 features) and 67672 rows splitted into 70:30 (training:testing).
Is there any way how to find out the best setting of Boosted Decision Tree?Yordan's suggestion is correct, though the documentation is a bit outdated.
You can use the single parameter + sweeper mode or define your own custom ranges in the BDT module with the Parameter Range setting
Regards,
aK -
How to find out the set handler for a particular signal?
I have an interesting puzzle to solve. l'm investigating problems with someone else's code and I'd like to get the name of the handler that is set for SEGV. psig shows that the process catches SEGV, however I don't have access to the source code for all the libraries it links against and none of the source code I have sets a handler for SEGV. Is there a way to find out the name of the signal handler that is set for a particular signal in a process? I'm sure the source was compiled with cc -g. Solaris 8
Hello Haritha,
Please follow the path.
Go to RSA1 -> Metadata Repository ->DataStore Objects(ODS) -> Find you DSO(ODS) there and click on that, you will get all the details(Queries, Objects - Char, Key figures, update rules,etc..) related to that particular DSO(ODS), same is the case for Cube as well.
Please assign points. -
How to find out the save as setting information in illustrator cs3?
How to find out the save as setting information in illustrator cs3 through programmatically. I saved the file using the setting like Overprint, EmbedAllFonts, IncludeDocumentThumbnails throgh scripting. But i don't know how to find out the save as setting information(Overprint, EmbedAllFonts, IncludeDocumentThumbnails) whether the checkbox true or not through scripting. Kindly advice me.
Thanks for your response. Some time the operator will set the wrong "save as setting" in the eps file . So i need to check wheather the operator set the correct save as setting or not. If the operator set the wrong save as setting, i need to inform while running the script. So please advice me how to find out the save as setting information of the active document file, and then inform to the operator if any improper "save as setting" occured.
-
How to find out the database-size
Hello,
how can I find out the size of the database.
I created the user as below. I defined the size of the database to 2MB. Now I want to know how much is the size of the database.
CREATE USER oemer
IDENTIFIED BY ...
DEFAULT TABLESPACE system
QUOTA 2M ON system;Actually, since Omer is a veteran poster to the Forms and Reports forums, I doubt that. I think he is making a much more interesting journey: from front-end to back-end.
I'll be a bit more helpful this morning.
Databases are ways of organising disk space to store data. Fundamentally they consist of OS files, data files. The RDBMS handles by grouping them into tablespaces. When we build tables we assign them to a tablespace.
So, the size of the database is the sum of its datafiles. Of course, some tablespaces are used for sorting and holding undo information, so the size of the database for the purposes of persisting data is:
SELECT count(x.tablespace_name) AS total_TS, sum(x.MB) AS total_mb, sum(x.free_mb) AS total_free_mb
FROM ( SELECT t.tablespace_name, sum(d.bytes)/1048576 AS mb, sum(f.bytes)/1048576 AS free_mb
FROM dba_free_space f, dba_data_files d, dba_tablespaces t
WHERE t.contents = 'PERMANENT'
AND d.tablespace_name = t.tablespace_name
AND d.file_id = f.file_id
GROUP BY t.tablespace_name ) x
/The SYSTEM tablespace is special. It is used by Oracle to hold the data dictionary, the definitions of all the objects in the database. It should not be used for storing application objects (it affects the performance, apatrt from anything else). That is why we must not use it as a default tablespace.
CREATE USER oemer
IDENTIFIED BY ...
DEFAULT TABLESPACE ts_users
QUOTA 2M ON ts_users; Cheers, APC -
How to search this value in oracle database to find out the table
Hi expert,
I know there is a value in oracle database, please show me how to search this value in oracle database to find out the table holding this value.
Many Thanks,918440 wrote:
Hi friends,
this question is really practical, I already know there is value from application saved in database, I want to search the whole database to figure out which table the value is contained.write SQL that writes SQL to query every table.
Handle: 918440
Status Level: Newbie
Registered: Mar 2, 2012
Total Posts: 20
Total Questions: 10 (10 unresolved)
why do you waste time here when you NEVER get any answer to any question you post? -
How to find out the size of a database?
I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
Is this possible using simple query?An oracle database consists of data files, redo log files, control files, temporary files. Whenever you say the size of the database this actually means the summation of these files.
select a.data_size+b.temp_size+c.redo_size+d.controlfile_size "total_size in MB"
from
( select sum(bytes)/1024/1024 data_size from dba_data_files ) a,
( select nvl(sum(bytes),0)/1024/1024 temp_size from dba_temp_files ) b,
( select sum(bytes)/1024/1024 redo_size from sys.v_$log ) c,
( select sum(BLOCK_SIZE*FILE_SIZE_BLKS)/1024/1024 controlfile_size from v$controlfile) d;
here
a is megabytes allocated to ALL datafiles
b is megabytes allocated to ALL TEMP files
c is megabytes allocated to ALL redo-logs
d is megabytes allocated to ALL control files
Nimish Garg
Software Developer
*(Oracle & ASP.NET)*
Indiamart Intermesh Limited, Noida
To Get Free Oracle & ASP.NET Code Snippets
Follow: http://nimishgarg.blogspot.com -
How to find out the scructure of OID database
Hello,
I installed the OID on our server, but now I have to have access to the databse. There is no problem, but there are no primary or foreign keys in a database, so I can not find out the relations between the tables in OID-databse.
How can I find it out?
It is very important.
Thanks and regards
HeinrichAn oracle database consists of data files, redo log files, control files, temporary files. Whenever you say the size of the database this actually means the summation of these files.
select a.data_size+b.temp_size+c.redo_size+d.controlfile_size "total_size in MB"
from
( select sum(bytes)/1024/1024 data_size from dba_data_files ) a,
( select nvl(sum(bytes),0)/1024/1024 temp_size from dba_temp_files ) b,
( select sum(bytes)/1024/1024 redo_size from sys.v_$log ) c,
( select sum(BLOCK_SIZE*FILE_SIZE_BLKS)/1024/1024 controlfile_size from v$controlfile) d;
here
a is megabytes allocated to ALL datafiles
b is megabytes allocated to ALL TEMP files
c is megabytes allocated to ALL redo-logs
d is megabytes allocated to ALL control files
Nimish Garg
Software Developer
*(Oracle & ASP.NET)*
Indiamart Intermesh Limited, Noida
To Get Free Oracle & ASP.NET Code Snippets
Follow: http://nimishgarg.blogspot.com -
How to find out the ASCII Values for Spanish character
Hi,
I had an requirement to store Spanish character and also need to fileter the records based on the Spanish character.
Kindly guide me for below.
To filter the Records which contains spanish characters?
To get the ASCII Values for the particular column?
E.g. we can find out the ASCII value of 'a' by using the syntax select ASCII('a') from dual.
But I want to find the ASCII Values for the particular column value. Ie. name.
E.g., Client name is "Suresh", I want to the ASCII Values for entire name of "Suresh".
Kindly do the needful help / Guidance on this.
Thanks,
OraharTo expand on what I said in my first post, you want to do something along these lines:
with t (thename) as
select 'Suresh' from dual
select thename
, substr(TheName, level, 1)
, ascii(substr(thename, level))
from t
connect by level <= length(thename);The output of the above query is:
THENAM S ASCII(SUBSTR(THENAME,LEVEL))
Suresh S 83
Suresh u 117
Suresh r 114
Suresh e 101
Suresh s 115
Suresh h 104
6 rows selected.Note that the WITH statement is only there to simulate a table for this example. With a table, all you do is get rid of the with and substitute the name "t" for the name of your table (also the name of the column to whatever name the column has in your table).
Lastly, I suggest you post your question along with, an example table and the output you'd like to get in the PL/SQL forum. There are people there that will give you all kinds of great ways of solving that problem.
HTH,
John.
Maybe you are looking for
-
We are not able to generate pdf-files.
Hi , I am facing issue to generate pdf files in BI .Can anyone please help me in this. i am getting error "Error while generating pdf" Regards Brijesh Prasad
-
Do you have any idea what went wrong?
Do I have to look for the problem in the hardware or software? Any ideas where to look, and what could have happened?
-
Entourage 2000 - sent emails are not appearing in "sent items" folder
I am using Entourage 200 with POP account. I have the preference for "save copies of sent messages in the Sent Items folder" clicked since I install it a year ago. But a couple of days ago, all my sent emails have vanished. Even new emails I compose
-
Audigy 2 NX digital multichannel supp
Hi,I'm?trying to set up my home theater,And I want to know, if my Audigy 2 NX supports digital output with multichannel support,From what I tried to find out I just got more confused...So my question is simple:Optical or coax... and with?shutting dow
-
How do you tell what week your computer was manufactured?
How can I tell what week my computer was manufactured? My serial number is [..snipped...]. Week 19 translates to what month? Thank you