Database Server Character Set select * From nls_database_parameters, which is derived from props $ and represents the character set of the database.
Client Character Set environment select * From nls_instance_parameters, which is from V $ parameter,
| Connection or async string1 | string2Concat same as Concat (string1, string2)Initcap upper the first letter of all words in the string. initcap (string1)Instr: locate the substring, index from 1 instr (string1, substring2)Length: returns the
To allow PL/SQL functions to return multiple rows of data, a ref cursor or a data set must be returned. Ref cursor is limited to the data that can be selected from the query. The entire set must be specific before it can be returned. Oracle 9i
1. CharA fixed-length string is a string that is stored in the database with spaces filled with insufficient digits. The declaration method is as follows: Char (L). L is the string length. The default value is 1 and the maximum value is 2000. It is
Differences: 1. the length of CHAR is fixed, while the length of VARCHAR2 can be changed. For example, the storage string "abc", for CHAR (20 ), it indicates that the characters you store will occupy 20 bytes (including 17 null characters), while
[Q] how to view database character sets[A] database server Character Set select * From nls_database_parameters, which is derived from props $ and indicates the character set of the database.Client Character Set environment select * From nls_instance_
1. How to view the database Character Set
[A] database server Character Set select * From nls_database_parameters, which is derived from props $ and indicates the character set of the database.
Client Character Set environment select * From
Http://blog.csdn.net/lizhenhuatop/archive/2008/09/27/2986303.aspxFYI
For historical reasons, Oracle had no Chinese character sets (such as oracle6, oracle7, and oracle7.1), but some users used the database since then, and
You can use the us7ascii
First, the grammar
Repalce (STR_SOURCE,STR1,STR2) replaces the STR1 string in Str_source with a str2 string, which is the same as the next when str2 is null or '
Replace (STR_SOURCE,STR1) to remove the str1 string in Str_source
Regexp_replace
1. How to view the database character set
[A] Database server character Set select * from Nls_database_parameters, which originates from props$, is the character set representing the database.
Client Character Set Environment select * from
Some questions about the character set:
Bloggers have recently begun to learn Oracle, have to say that Oracle's content is really too broad, learn it is not only the database itself, many times will involve a variety of operating systems, remember
1. View Oracle Encoding command
Select Userenv (' language ') Nls_lang from dual;
2. The Change Order is as follows
sql> Conn/as sysdba sql> shutdown immediate;Sql> Startup Mountsql> ALTER SYSTEM ENABLE restricted session;sql> ALTER SYSTEM SET
The character set and service side of the Oracle client are consistent, otherwise there will be garbled problems. changing the client character set
To connect to a server, you can query client settings:
SELECT * from V$nls_parameters;
Set
Oracle
[Q] How to view the database character set
[A] Database server character Set select * from Nls_database_parameters, which originates from props$, is the character set representing the database.
Client Character Set Environment select * from
1. view the database Character Set
Database Server Character Set select * from nls_database_parameters, which is derived from props $ and represents the character set of the database.Client Character Set environment select * from
1. How to view the database Character Set [A] database server Character Set select * from nls_database_parameters, which is derived from props $ and indicates the character set of the database.Client Character Set environment select * from
According to the official oracle documentation, the database character set cannot be changed after it is created. Therefore, it is important to consider which character set to use at the beginning of design and installation. For Databases
According
ORACLE does not support direct return of table type like MSSQL. Therefore, you must first create a custom type. The nested table is used here ). 1234567891011121314151617181920212223242526272829303132333435363738394041 -- NestedTableC
ORACLE does
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.