How to use ed in oracle 11g as we do in 10g
Hi,
Anyone can u tell me how to use text editor in oracle 11g as
we do in 10g.
thanks
srinivas
Well, that would be because notepad doesn't exist on *nix - isn't that obvious?
Similar Messages
-
How to use css in oracle forms
Hello, I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have to use CSS in oracle forms.i have tried to search it but no profit.please some one else tell me that how can use css in oracle forms. Thnak You regards aaditya
Hi
As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick). From there you subclass all of you forms items off these libraries.
Regards
Quintin -
How to mask data in oracle 11g database release 1
how to mask data in oracle 11g database release 1
my environment is
Database: 11g release 1
os: AIX 6 (64 bit)
GC:10g release 1DBA-009 wrote:
thx but how i can mask data with above give environment?What does "mask data" mean to you and what is the environment you are referring to?
Telling us that you are using 11.1 helps. But it is far from a complete description of the environment. What edition of the database are you using? What options are installed? What Enterprise Manager packs are licensed? Is any of this changable? Could you license another option for the database or another pack for Enterprise Manager if that was necessary?
What does it mean to you to "mask data"? Do you want to store the data on disk and then mask the data in the presentation layer when certain people query it (i.e. store the patient's social security number in the database but only present ***-**- and the last 4 digits to certain sets of employees)? Do you want to hide entire fields from certain people? Do you want to change the data stored in the database when you are refreshing a lower environment with production data? If so, do you need and/or want this process to be either determinisitic or reversable or both?
Justin -
Can we use hints in oracle 11g version ?
can we use hints in oracle 11g version ? is it working ??
Why do you ask these questions? Have you looked at the SQL Reference Guide and Performance Tuning Guide for your Oracle version - both which covers using hints?
Have you see a statement that is not supported? Or does not work?
Or are you simply doing idle speculation and expecting forum members to spend their free time in answering a basic question where the answer is ridiculously simply to find? -
How to use JPublisher in Jdeveloper 11g?
Hi! I have question. How to use JPublisher in Jdeveloper 11g? Maybe someone can help?
Best regards!Hi! I have question. How to use JPublisher in Jdeveloper 11g? Maybe someone can help?
Best regards! -
How to use iframes in oracle 10g
I have to load two jsp pages in a single html . I have done that thru iframes. But i have to dynamically load the second jsp page in the frame 2 , when the user clicks upon certain details in the frame 1 jsp page. I have wriiten the code of document.iframe in format trigger attribute. It doesn't work. Is there any other way to achieve this. I want to load the frame 2 jsp page dynamically , according to the input i get from frame 1 jsp page.
Hi,
>>Anybody know how to use profiler in oracle 10g
What do you mean "profiler". About Resource Limits/Create Profiles ?
>>i couldn't able to install the enterprise manager console.
What OS ?
>>because i need to trace the execution of a stored procedure.waiting the reply.
Debug ? You can use SQL Developer, TOAD, PLSQL Developer for this purpose.
Cheers -
How to Use Profiler in ORACLE 10g
Hi all,
Anybody know how to use profiler in oracle 10g and also i couldn't able to install the enterprise manager console.is there any tools available for that.because i need to trace the execution of a stored procedure.waiting the reply.
SathishHi,
>>Anybody know how to use profiler in oracle 10g
What do you mean "profiler". About Resource Limits/Create Profiles ?
>>i couldn't able to install the enterprise manager console.
What OS ?
>>because i need to trace the execution of a stored procedure.waiting the reply.
Debug ? You can use SQL Developer, TOAD, PLSQL Developer for this purpose.
Cheers -
How to install wallet in Oracle 11g
Hi All,
Can you please let me know how to install wallet in Oracle 11g and chek if it is installed? Extra cost is involved for liscencing ?
Does it ask for any option while installing Oracle Software?Vinayak C wrote:
Hi All,
Can you please let me know how to install wallet in Oracle 11g and chek if it is installed? Extra cost is involved for liscencing ?
Does it ask for any option while installing Oracle Software?http://docs.oracle.com/cd/E25054_01/network.1111/e10746/asowalet.htm#BABGGBIG -
Tutorial on how to use BI Publisher in 11g
We have not used BI Publisher before and want to evaluate if it helps with any of our business needs. Does anyone know of any good tutorial on how to use bi publisher in obiee 11g?
Thanks.On the home page on the free to register technology network
http://www.oracle.com/technetwork/middleware/bi-publisher/overview/index.html
you will find resources such as
* Oracle BI Publisher Datasheet - a 3 page overview document
* Oracle BI Publisher Overview Presentation - (Recorded Presentation with Sound - 18 min)
* Oracle BI Publisher - Benefits - Flash
* Oracle BI Publisher - Quick Tour - Flash
some sample reports
http://www.oracle.com/technetwork/middleware/bi-publisher/xmlpsamples-099828.html
and a tutorial with screen shots
Getting Started with Oracle BI Publisher 11g
http://st-curriculum.oracle.com/obe/fmw/bi/bip/bip11g/gettingstarted/gettingstarted.htm -
How to create user in Oracle 11g Console Administration through browser
Hi
I installed Oracle 11g on my Windows XP system
then i opened the console through IE 8.0 using the address "https://serversys:1158/em"
then i logged into this console by the username SYS/SYS@orcl as SYSDBA
then i opened the SCHEMA tab
but here i didn't found any link like "USERS" to create/manage users
How can i create the users..?
thanks in advance
jkuser10922309 wrote:
Yes, Hans i am planning to become a DBA from India.Good. If you ever move to North America to become a DBA, let us know. >:)
With the help of your link "admqs_administer_users.htm"
i found that bold "Users" link in "Server" tab bold
but right now i am getting the error "ora-01301: insufficient privilages"
then i granted the 'create user' privilege to SYS
error is coming..If you have properly logged on as SYS, as shown by the 'Logged in as SYS' note in the upper right corner, you should not be getting the 1301. Try logging out and following the steps in the document I gave you starting at chapter 1. -
Hi,
I am not able to resolve the error of
“ORA-12514: TNS:listener does not currently know of service requested in connect descriptor”
Below Link is the indication, related to that error.Hi Surbhi.Gupta,
Thank you for posting in MSND forum.
According to your descriptiom, I suggest you could try the following blog to connect to Oracle from Visual Studio check your issue again.
Reference:
http://blogs.msdn.com/b/kaevans/archive/2009/07/18/connecting-to-oracle-from-visual-studio.aspx
In addition, as you said the error message, I did some research about this error message. So I suggest you could refer then following thread to check your error, maybe you will get some useful message.
http://dba.stackexchange.com/questions/36370/oracle-11g-listener-fails-with-ora-12514-and-ora-12505-errors
However, since this issue is related to the third-party database oracle, so if possible, I suggest you could try to post your issue directly to this Oracle official website:http://www.oracle.com/us/corporate/contact/about-your-account-070507.html
, you will get better support.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Unpredictable problem using XMLTYPE in Oracle 11g?
We recently upgraded from Oracle 10g to Oracle 11g, which caused some of our stored procedures to start acting funny.
Our database stores BLOBs containing XML data in a table. We then asynchronously convert these BLOBs into XMLTYPE objects, and use them to perform operations in our database. This logic started failing when we moved to 11g.
Our original code looked like this:
PROCEDURE submitTpfdd(shipmentDataId IN VARCHAR2) AS
shipmentData XMLTYPE;
csid INTEGER;
shipmentName VARCHAR(128);
gk_namespaces VARCHAR(1024) := 'xmlns:a="http://my.app/1.0.0.0"';
BEGIN
SELECT NLS_CHARSET_ID('UTF8') INTO csid FROM dual;
SELECT XMLTYPE(tf.shipmentData, csid)
INTO shipmentData
FROM SHIPQ.SHIPMENT_FILE tf
WHERE tf.shipment_id = shipmentDataId;
shipmentName := shipmentData.extract('/a:Shipment/shipmentName/text()', gk_namespaces).getStringVal();
... (more logic)
END submitTpfdd;When we switched to 11g, this code started frequently failing with an "unsupported character set" error. It happens about half the time, and it's unpredictable. It will sometimes pass and sometimes fail, even if the same BLOB is being read both times. I haven't been able to reproduce the error with any of XMLTYPE's other constructors.
Has anybody encountered similar behavior with the XMLTYPE in 11g? Should I submit a tracker?I have created a SQL program which can be run independently to reproduce the problem.
DECLARE namespaces constant VARCHAR2(1024) := 'xmlns:a="http://morton.com/"';
CURSOR cursor0(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
CURSOR cursor1(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
CURSOR cursor2(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
CURSOR cursor3(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
CURSOR cursor4(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
CURSOR cursor5(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
CURSOR cursor6(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
CURSOR cursor7(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
CURSOR cursor8(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
CURSOR cursor9(reeves XMLTYPE) IS
SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
bullock
FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
xml_clob CLOB := empty_clob;
xml_blob BLOB := empty_blob;
xml_varchar VARCHAR2(4000);
xml_xmltype XMLTYPE;
warning INTEGER;
dest_offset INTEGER := 1;
src_offset INTEGER := 1;
lang_context INTEGER := 0;
char_set INTEGER := nls_charset_id('UTF8');
BEGIN
dbms_lob.createtemporary(xml_clob, TRUE);
dbms_lob.createtemporary(xml_blob, TRUE);
dbms_lob.OPEN(xml_clob, dbms_lob.lob_readwrite);
dbms_lob.OPEN(xml_blob, dbms_lob.lob_readwrite);
xml_varchar := '<a:hopper xmlns:a="http://morton.com"/>';
dbms_lob.writeappend(xml_clob, length(xml_varchar), xml_varchar);
dbms_lob.converttoblob(xml_blob, xml_clob, dbms_lob.lobmaxsize, dest_offset, src_offset, char_set, lang_context, warning);
xml_xmltype := XMLTYPE(xml_blob, char_set);
FOR daniels IN cursor0(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
FOR daniels IN cursor1(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
FOR daniels IN cursor2(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
FOR daniels IN cursor3(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
FOR daniels IN cursor4(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
FOR daniels IN cursor5(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
FOR daniels IN cursor6(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
FOR daniels IN cursor7(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
FOR daniels IN cursor8(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
FOR daniels IN cursor9(xml_xmltype)
LOOP
CONTINUE;
END LOOP;
END;If someone else could run this program and verify that it acts unpredictably, that would be helpful. I have submitted a metalink tracker but the person who is working the tracker is not able to duplicate the same behavior. -
Using TimesTen with Oracle 11g
In documentation I didn't find any information about supporting by Timesten connects to Oracle 11g. So is Timesten can be connected to Oracle 11g or not? Now I've connected it but I'm not sure in proper work of this pair.
TimesTen 7.0.3 Cache Connect to Oracle supports Oracle 11g on Linux x86 (32-bit).
Additional platforms will be certified in upcoming maintenance release.
What platform are you using?
- Susan -
How to use parameters in oracle SQL script????
Right now I am writing a SQL script to create a schema and build the objects of this schema....
I use a .net winform program to run sqlplus to parse this sql script ...
The problem is that the schema name and the tablespace's location and the sys password must be input by the user, so my SQL script should use these runtime input parameters instead of const parameters....
So, how to use parameter in SQL script ...........
Are there some example scripts in oracle home directory for me to refer to????Hi,
UNISTD wrote:
thanks .....
what's the difference between variable , define, accept in sqlplus ???VARIABLE declares (but does not assign a value to) a bind variable. Unlike substitution variables, bind variables are passed to the back end to be compiled, and they can only be values in certain data types. You can not use a bind vaiable in place of an identifier, so to do something like
CREATE USER &1 ...a bind variable won't work.
"DEFINE x = y" sets the substitution variable &x to have the value y. There is no user interaction (unless x or y happen to contain undefined substtiution variables).
"DEFINE x" shiows the value of the substitution variable &x, or, if it is undefined, raises a SQL*Plus error. I use this feature below.
ACCEPT sets a substitution variable with user interaction.
And if the user miss some parameters in “sqlplus /nolog ssss.sql par1 par2 par5 par6”, how to use default value of the miss parameters??Don't you need a @ befiore the script name, e.g.
sqlplus /nolog @ssss.sql par1 par2 par5 par6Sorry, I don't know of any good way to use default values.
The foloowing works, but, as you can see, it's ugly.
"DEFINE 1" display a message like
DEFINE 1 = "par1" (CHAR)if &1 is defined; otherwise,it will display a SQL*Plus error message like
SP2-035: symbol 1 is UNDEFINEDNotice that the former contains an '=' sign, but the latter does not.
The best way I know to use default values is to run the DEFINE command, save the output to a filee, read the file, and see if it's an error message or not.
So you can use a script like this:
-- This is DEFINE_DEFAULT.SQL
SPOOL got_define_txt.sql
DEFINE &dd_old
SPOOL OFF
COLUMN dd_new_col NEW_VALUE &dd_new
WITH got_define_txt AS
SELECT q'[
@got_define_txt
]' AS define_txt
FROM dual
SELECT CASE
WHEN define_txt LIKE '%=%'
THEN REGEXP_REPLACE ( define_txt
, '.+"
([^"]*)
, '\1'
ELSE '&dd_default'
END AS dd_new_col
FROM got_define_txt
{code}
and start your real script, ssss.sql, something like this:
{code}
DEFINE dd_new = sv1
DEFINE dd_old = 1
DEFINE dd_default = FOO
@DEFINE_DEFAULT
DEFINE dd_new = sv2
DEFINE dd_old = 2
DEFINE dd_default = "Testing spaces in value"
@DEFINE_DEFAULT
{code}
when this finishes running, the substitution variable &sv1 will either have the value you passed in &1 or, if you didn't pass anything, the default value you specified, that is FOO.
Likewise, &sw2 will have the value you passed, or, if you didn't pass anything, the 23-character string 'Testing spaces in value'.
Here's how it works:
Define_default.sql puts the output of the "DEFINE x" command into a column, define_txt, in a query. That query displays either the existing value of the substitution variable indicated by &dd_old or, if it is undefined, the default value you want to use, which is stored in the substitution variable &dd_default. The substitution variable named in &dd_new is always set to something, but that something may be its existing value.
Notice that the paramerters to define_default.sql must be passed as global varibales.
Why didn't I just use arguments, so that we could simply say:
{code}
@DEFINE_DEFAULT sv1 1 FOO
{code}
? Because that would set the substitution variables &1, &2 and &3, which are miost likely the very ones in which you're interested.
I repeat: there must be a better way, but I'm sorry, I don't know what it is.
I usually don't do the method above. Instead, I always pass the required number of parameters, but I pass dummy or plce-holder values.
For example, if I wanted to call ssss.sql, but use defulat vlaues for &1 and &3, then I would say something like:
{code}
@ssss ? par2 ?
{code}
and, inside ssss.sql, test to see if the values are the place holder '?', and, if so, replace them with some real default value. The use has to remember what the special place holder-value is, but does not need to know anything more, and only ssss.sql itself needs to change if the default values change. -
How to use help in oracle 10g XE
Hello,
I just wanted to know how to use help in sql command line in oracle 10g XE
regards,
Sreekanth.Hi thankyou very much for the answer, that web-page is very good but....
I was hoping for answer that would walk me through the help command used in the SQL PLUS like: "help create"
after i have read few manuals i came to know we can use @hlpbld.sql for building help tables it asks me for entering value 1 and 2, after that it exits the prompt and when i re-login i dont see "help command" working...
any comments ot procedure to do this...
Maybe you are looking for
-
I always use Google as my firefox search engine. However i must have accidentally downloaded a file that has now set up search-gol as my search engine and i want to get rid of it. Info to do this strangely doesn't appear anywhere on google searches.
-
Google contacts no longer syncing with iMac
My Google Contacts no longer sync with my iMac running OS X 10.6.8. Several other threads on this, but no answers that work for me. I know Google no longer supports the exchange style sync and I've tried the CardDAV procedures with no success. Can so
-
If someone could help me out with what I'm missing I would be most grateful! Thanks!
-
Is there any good example for writing 8-bits BMP file? Thanks
-
[SOLVED] problems building awesome-git
hi this is my first post. i'm trying to get awesome-git to compile from the aur but everytime i try to do it i get this error: Scanning dependencies of target awesome [ 6%] Building C object CMakeFiles/awesome.dir/awesome.c.o In file included from /t