oracle-xe

How can I change the SID of an Oracle XE instance

笑着哭i 提交于 2021-02-04 12:12:02
问题 I needed to change the SID of an Oracle XE database (not the Service Name) to match a production database. When I tried searching online, most of the pages were describing changing or adding a service name through tnsnames.ora; that's not what I needed to do. 回答1: The asktom article has the answer, but the formatting and verbosity makes it hard to follow, so here's a summary: [XE_HOME] means where Oracle XE is installed. Normally this is C:\oraclexe\app\oracle\product\10.2.0\server . Make

How can I change the SID of an Oracle XE instance

半世苍凉 提交于 2021-02-04 12:11:49
问题 I needed to change the SID of an Oracle XE database (not the Service Name) to match a production database. When I tried searching online, most of the pages were describing changing or adding a service name through tnsnames.ora; that's not what I needed to do. 回答1: The asktom article has the answer, but the formatting and verbosity makes it hard to follow, so here's a summary: [XE_HOME] means where Oracle XE is installed. Normally this is C:\oraclexe\app\oracle\product\10.2.0\server . Make

Oracle query on String [duplicate]

我的未来我决定 提交于 2020-12-16 05:29:41
问题 This question already has answers here : ORA 00904 Error:Invalid Identifier (2 answers) Closed last month . I want to perform my query on a string in this format, xxxx/xxxx where x is a number. when I perform it using the Oracle interface or my C# application I get this error: ORA-00904: "xxxx/xxxx": invalid identifier I performed this query: SELECT * FROM "My Table" WHERE Field="xxxx/xxxx" 回答1: You should use single quotes aroung SQL character literals like xxxx/xxxx: SELECT * FROM "My Table

Problem in firefox when calling window.open

南笙酒味 提交于 2020-05-12 11:30:11
问题 When i'm calling this code in the link of a chart in apex javascript:window.open('http://google.pt','mywindow','width=400,height=200', 'bReplace=true'); it opens a new window with google page but puts the chart page with a blank page with [object Window] wrote on it How can i maintain the chart page? 回答1: You need to force the expresion to not return a value: javascript:void(window.open(...)) 来源: https://stackoverflow.com/questions/5820180/problem-in-firefox-when-calling-window-open

Problem in firefox when calling window.open

删除回忆录丶 提交于 2020-05-12 11:30:08
问题 When i'm calling this code in the link of a chart in apex javascript:window.open('http://google.pt','mywindow','width=400,height=200', 'bReplace=true'); it opens a new window with google page but puts the chart page with a blank page with [object Window] wrote on it How can i maintain the chart page? 回答1: You need to force the expresion to not return a value: javascript:void(window.open(...)) 来源: https://stackoverflow.com/questions/5820180/problem-in-firefox-when-calling-window-open

Can Oracle Express run with a different runtime or jdk other than the value set by JAVA_HOME

本秂侑毒 提交于 2020-03-04 16:37:10
问题 I've installed Oracle XE. When I ran sqldeveloper.exe against it, sqldeveloper.exe ran "slow" against my local XE database AND remote Oracle database engines. I found this answer: sqldeveloper taking too long to load the content of a DB After I made that fix, sqldeveloper.exe ran pretty dern good against the REMOTE oracle database engine. However, running it against the local XE, it still runs poorly. My machine environment variable to set to a Zulu install and cannot be changed (company

ORA-27101: shared memory realm does not exist

一个人想着一个人 提交于 2020-01-11 02:06:08
问题 i am facing this error when i start the oracle. I checked Oracle Home and SID. everything is set properly. ORA-27101: shared memory realm does not exist please help me to find out the solution. Thanks in advance 回答1: That error generally means there's no Oracle instance (the processes) to connect to. Someone needs to log in and start the instance. 回答2: I've just resolved this issue on Debian. If ORACLE_HOME has a trailing slash, this error appears. If you remove the trailing slash, connection

Difference between VARCHAR2(10 CHAR) and NVARCHAR2(10)

放肆的年华 提交于 2019-12-28 01:49:06
问题 I've installed Oracle Database 10g Express Edition (Universal) with the default settings: SELECT * FROM NLS_DATABASE_PARAMETERS; NLS_CHARACTERSET AL32UTF8 NLS_NCHAR_CHARACTERSET AL16UTF16 Given that both CHAR and NCHAR data types seem to accept multi-byte strings, what is the exact difference between these two column definitions? VARCHAR2(10 CHAR) NVARCHAR2(10) 回答1: The NVARCHAR2 datatype was introduced by Oracle for databases that want to use Unicode for some columns while keeping another

Oracle XE stops working when host name chages

ε祈祈猫儿з 提交于 2019-12-25 11:54:34
问题 It has taken me weeks to solve this so I thought I would share: I am hosting an Apex app on Oracle XE using Google compute CentOS image. I was trying to get a second server going using a snapshot but found that once created I got connect refused. The database was running and I had not changed any firewall rules on centOS or Google Compute so could not understand how it would not work. I spent weeks blaming the two firewalls. 回答1: It turns out the Oracle stores host information in files used

“Access denied” while setting DBMS_XDB.SETHTTPORT

六眼飞鱼酱① 提交于 2019-12-24 13:24:32
问题 I was logged in as a normal user into the database: SQL> connect Enter user-name: myusername Enter passwort: Connected. And then I tried to set the default http port like this: SQL> Exec DBMS_XDB.SETHTTPPORT(3000); But I got the following error message: ERROR at line 1: ORA-31050: Access denied ORA-06512: at "XDB.DBMS_XDB", line 528 ORA-06512: at "XDB.DBMS_XDB", line 667 ORA-06512: at line 1 What was going wrong? Perhaps because i am not an admin user? But how to add an admin user? 回答1: Look