Oracle--pl/sql Chinese garbled solution

The following garbled behavior occurs because Oracle does not support the Chinese character setResolution Steps  1. Open the registry to find the Oracle---"Key_oraclient11g_home---" NLS. LANG modifies the value to simplified Chinese_china. ZHS16GBK,

Oracle TRUNC functions handle date formats, date types are useful for several SQL

Select To_char (sysdate, ' Yyyy-mm-dd hh24:mi:ss ') from dual; --Show Current time2011-12-29 16:24:34Select Trunc (Sysdate, ' year ') from dual; -Interception to year (first day of this year)2011-1-1Select Trunc (sysdate, ' Q ') from dual;

Connect to Linux Server operations Oracle database

1. Connect to a Linux server (enter the IP address of the server)SSH 10.199.94.227When the connection is successful, you will be prompted to enter the password.2. Switch to Operation Oracle databaseSu-oracleA successful switchover prompts an

Restart after installing ORACLE under Linux cannot log on to the database ora-01034:oracle not available

Linux installed the database, after the installation can be used, today, the launch will not be able to use, prompted Oracle not available, and later find information, it is said that the Oracle service is not open. The problem can be solved in the

Backup Oracle user data through the shell and send patrol results to Windows Springboard

background: The production environment has Oracle server, there are several database users, need to back up the database user data through exp, need to patrol the results of database backup.Objective: to perform periodic backups via Linux

[Reprint]oracle's commonly used functions InStr () and substr () functions

In OracleYou can use the InStr function to judge a string to determine whether it contains the specified character.Finds the specified character in a string, returning the position of the specified character that was found.Grammar:InStr

View and modify the Oracle database character set

1. Querying the character set of the Oracle server sideSql> select userenv (' language ')  from dual; USERENV (' LANGUAGE ')----------------------------------------------------American_america. zhs16gbksql>  or

Oracle Advanced Query 2 sub-query

Tag: Group does not produce order by STS first syntax value OraSub-query:A definition is a query that is nested within a query.Subqueries can be present in many places, such as columns, tables, conditions, etc.Grammar:SELECT (sub-query)From

Oracle Learning Note _05_ A complete process for creating table spaces, creating users, and authorizing

dba

First, complete commandSu-//'/u01/app/oracle/oradata/mas/scaninvoice.dbf ' size 200M autoextend on next 100m '/u01/app/oracle/oradata/mas/scaninvoice_tmp.dbf ' size 50m autoextend on next 50m maxsize 20480m extent Management Local;create User

Oracle User Management

dba

First, create a userOverview: In Oracle, to create a new user using the Create USER statement, you typically have DBA (database administrator) permissions to use.Create user username identified by password;Note: Oracle has a problem, the password

Oracle Numeric Date function

Numeric Functionsthe commonly used functions for handling numeric values are as follows : No. Function name meaning 1 Digital  round ( column  |  numbers [. ]) Returns the value

Make batch tools to export content from Oracle database to CSV

Create a new TXT fileThe contents are as follows@echo off sqlplus abc/[email protected] @c:\users\administrator\desktop\abc.sql exitWhen you are finished, change the file suffix to. bat, and the abc.sql is executed when you

Oracle according to the "date" group, other criteria according to pivot row to column. There is only one row for the other data associated with each date condition.

SelectOper_time, Micropay, REFUND from ( Selecttrunc (oper_time) oper_time, class_name, sum (total_fee) Total_fee fromWx_pay_detail GROUP by Trunc (Oper_time), class_name) pivot (sum (total_fee) forClass_nameinch ('Micropay' as

Oracle built-in functions

A String type1 CONCAT (A, B) two field AB connections2 a| | B field connection, you can connect multiple3 Length (char \ varchar2) return string lengths4 LOWER All Letters lowercase5 UPPER All Letters capitalized6 Initcap uppercase, the remaining

Oracle 11g resolves a problem with a temporary table space that is too large

Some databases are in use because some operations will lead to a temporary table space is too large, due to the working mechanism of temporary table space, the temporary table space will not be released after the job is completed.This problem can be

Oracle SQL Trace Usage

Sql_trace is a very good tracking tool provided by Oracle, primarily used to check the database for anomalies, and to track the activity of the database to find the problematic statement.First, overview:Sql_trace is a very powerful tool for Oracle.

Oracle Notes (iv) Simple queries, qualifying queries, sorting data

Oracle Notes (iv) Simple queries, qualifying queries, sorting dataFirst, simple querySQL (structured query Language) Structured Query language is a database query and programming language for accessing data and querying, updating, and managing

Solution to ora-12899 errors in Oracle databases, oracleora-12899

Solution to ora-12899 errors in Oracle databases, oracleora-12899 ORACLE may cause various problems and errors, the ORA-12899 is a problem that occurred some time ago when I imported data to my local machine. but fortunately, this problem has been

Understand the principle of null in depth and the principle of null in Depth

Understand the principle of null in depth and the principle of null in Depth -- Null principle -- oracle always treats null and null strings ''with the same length as 0. For example, ''is null is true,'' = null is false, if a varchar2: = ''is

Common oracle database management system errors (2 ),

Common oracle database management system errors (2 ), Oracle databases always encounter the following problems for new users: I believe everyone has encountered such a problem. To be honest, I have encountered such a problem before, but I am sorry

Total Pages: 2147 1 .... 748 749 750 751 752 .... 2147 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.