What is the Alternate for AMPERSAND (&) in oracle???????????
Hi All,
This is my query......
select * from
select 'abc' a from dual union
select 'def' a from dual union
select 'abc & xyz' a from dual
) where a='abc & xyz';
Output should be 'abc & xyz'.
Since I am using '&' it will prompt to enter some value from my keyboard.
Yes, I know, I will get the output either by using set scan off,set define off, set escape on.
what is the Alternate for AMPERSAND (&) in oracle???????????
The value 'abc & xyz' will be passed from the front end and will be passed to the select statement..........
Regards,
Kashyap Varma N
nkvkashyap wrote:
Hi All,
This is my query......
select * from
select 'abc' a from dual union
select 'def' a from dual union
select 'abc & xyz' a from dual
) where a='abc & xyz';
Output should be 'abc & xyz'.
Since I am using '&' it will prompt to enter some value from my keyboard.
Yes, I know, I will get the output either by using set scan off,set define off, set escape on.
what is the Alternate for AMPERSAND (&) in oracle???????????
The value 'abc & xyz' will be passed from the front end and will be passed to the select statement..........
Regards,
Kashyap Varma NI think you are confused. Oracle (i.e. the DB) doesn't care about &. However front-ends like SQL*Plus do: and prompt you for the substitution (unless set define off etc.).
If you are using Java, then pass strings with & with no problem.
Similar Messages
-
What is the alternate for T3ServicesDef.config()
Hi,
In 5.1, I was using
T3ServicesDef.config().getProperty(DBStatic.WEBLOGIC_PORT_IDENTIFIER)
inside my program to get the port where my server is running.
Now it seems I need to use Management APIs.
Could someone please let me know how to do it using new APIs.
I read the documentation posted on this. But that seems to tell me that I
need to get the handle of MBeanHome first, and for that I need to know the
port where weblogic is running.
SushilSushil Goel <[email protected]> wrote in message news:[email protected]...
Sanjeev,
I have two questions about this doc:
1. This document talks about creating my own MBean. I was interested in
using the weblogic MBeans, e.g. ServerRuntimeMBean to find out runtime
configuration. I have been struggling to find out how to get a handle to
this object. The methods exposed by MBeanHome such as getMBeansByType at
least needs a type string supplied and I don't see any documentation
pointing what is the type of these beans. I might be missing something very
basic here. I understand that eventually I need to read the javax.management
specs to get the complete idea. It would be nice if there is some
documentation which doesn't assume knowledge of management specs.Sushil, there seems to be a missing section in this doc, which talks about how MBeans are named and how to tell which type,name strings to use. See below ....
It should say someting like ....
Naming of MBeans
The WebLogic Management API distinguishes between three types of MBeans: Administration, Configuration and Runtime MBeans, as described in the overiew section. All MBeans have a name, a type and a domain. These attributes are reflected in the MBean's JMX Object Name. The Object Name is the unique identifier for a given MBean across all domains. It has the following structure:
<domain name>:Name=<name>,Type=<type>[,<attr>=<value>]...
Name is a name that is unique for a given Domain and a given Type. Examples of type could be Server, WebComponent or JDBCConnectionPoolRuntime. Type is used to distinguish between the various types of MBeans. For instance the value of Type for a Server MBean is :
a.. Server for the Administration MBean,
b.. ServerConfig for the Configuration MBean and
c.. ServerRuntime for the Runtime MBean.
Note that the 'MBean' suffix is removed from the MBean interface name to get the base type of an MBean. And then 'Config' and 'Runtime' suffices are added to the base name to distinguish configuration and runtime mbeans, respectively from administration mbean.
In addition, specific MBean types have additional components...
a.. All runtime and configuration mbeans have a component called 'Location' whose value is the name of the server on which that mbean is located. e.g. 'mydomain:Name=myServlet,Type=ServletRuntime,Location=myserver'
b.. Any mbean which has a child relationship with another parent mbean, has an extra attribute in its objectname '<TypeOfParentMBean>=<NameOfParentMBean>'. e.g. 'mydomain:Name=mylog,Type=Log,Server=myserver'
Package names
All interfaces types for Administration/Configuration mbeans are located in weblogic.management.configuration
All interfaces types for Runtime mbeans are located in weblogic.management.runtime
>
2. This document talks about ISVServer class to create my own entry point. I
don't see this class anywhere. BEA support says that this kind of startup is
no longer supported. Could you please clarify this and point me where I
could find this class and related API doc.
There is no link for this document from the 6.0 documentation page. Until I
came to this group and stumbled upon your earlier post about this doc, I had
no idea about existence of this doc, even when I had asked BEA support
specifically for a 6.0 ISV doc.I will have this fixed. Thanks.
>
Thank,
Sushil
"Sanjeev Chopra" <[email protected]> wrote in message
news:[email protected]...
see http://e-docs.bea.com/wls/docs60/isv/index.html
Sushil Goel <[email protected]> wrote in message
news:[email protected]...
Thanks Viresh,
How do I get handle to the beans in weblogic.management.configuration or
weblogic.management.runtime?
Thanks,
Sushil
"Viresh Garg" <[email protected]> wrote in message
news:[email protected]...
Sushil Goel wrote:
Hi,
In 5.1, I was using
T3ServicesDef.config().getProperty(DBStatic.WEBLOGIC_PORT_IDENTIFIER)
inside my program to get the port where my server is running.
Now it seems I need to use Management APIs.
Could someone please let me know how to do it using new APIs.
I read the documentation posted on this. But that seems to tell methat
I
need to get the handle of MBeanHome first, and for that I need to
know
the
port where weblogic is running.You don't need to specify URL from within the server to do MBean
lookup
and so
you don't need to know of the port.
Viresh Garg
Principal Developer Relations Engineer
BEA Systems
Sushil
[att1.html] -
What is the alternate for OLE object in 10g
Hi all
I am migrating forms 6i to 10g...
They are some ole objects in the forms.
while migrating using form migration tool.... it is giving a message that OLE built in's are obsolete...
What i need to do in 10g to replace OLE's functionality????
Please help in this???
ThanksHello,
<p>The Webutil library has a OLE2 client sode equivalent</p>
Francois -
What is the alternate for flash player for iPad air
Can any body suggest a way out?
Adobe has not made a version of Flash for the iPad.
Kappy explains why. https://discussions.apple.com/message/19446567#19446567
5 Flash Player Alternatives http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
Top 4 browsers supports flash player on iPad and iPhone
http://mashtips.com/flash-player-ios/
Cheers, Tom -
What is the password for 'oracle' user created during XE installation?
Hi,
What is the password for 'oracle' user automatically created when XE is installed?
I installed XE on Linux and it's created under 'oracle' user, but I don't know 'oracle' password. So, I cannot stop TNS listener.
During configuration, it prompted me to enter SYS and SYSADMIN password but it didn't ask me to enter 'oracle' user password.
Please let me know or point me to the document.
Thanks,
NHi Jari,
I tried your suggestion, but it didn't work unfortunately.
When I type (sudo su -oracle) as follows, it still prompts the password. When I hit Enter key w/o anything, it seems to proceed and the prompt shows up in the following line. So, I thought it was successful, but when I checked 'whoami', it's not logged in as 'oracle'.
So, I created the password for 'oracle' and logged in as 'oracle' using a new password. Then, I stopped TNS listener to uninstall XE.
It would be nice if it's documented in XE document somewhere... since it's created by XE installation, I assumed some kind of default password was used.
Thanks,
N -
Hi Guys,
What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10?
I have to write an AP Invoice Aging Report in Discoverer to show all unpaid invoices that have been transferred into GL... Business wants it to match one-to-one with the AP Trial Balance standard report...
Business wants to run the report for any date in a past...
The report has two parameters:
As Of Date - the same as As of Date for the AP Trial Report
Trial Balance Run Date - the date when Trial Balance was run...
Conditions are:
TRUNC(Invoice Date) <=TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
TRUNC(NVL(Payment Date,'01-JAN-5000')) > TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
TRUNC(Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
Distr Accounting Date <= TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
NVL(Distr Creation Date,Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
Show_Flag = 'YES', where:
Show_Flag = CASE WHEN ( NVL(Cancelled Date,'01-JAN-1901') > NVL(:As Of Date,SYSDATE) AND NVL(Inv Amount Aud,0) = 0 ) THEN 'YES' ELSE ( CASE WHEN NVL(Inv Amount Aud,0) = 0 THEN 'NO' ELSE 'YES' END ) END
There is a difference between the logic of my report, and the logic of AP Trial Balance...
Could you please advise what I'm missing?
Thanks,
IanaWhat is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10? You can get the code by opening the report in Reports Builder and get the query.
Or, enable trace/debug as per (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]).
Thanks,
Hussein -
What are the UI components used in oracle adf?
what are the UI components used in oracle adf?
Web.:
- ADF Faces and Trinidad JSF components
http://docs.oracle.com/cd/E28280_01/apirefs.1111/e12419/toc.htm
Desktop:
- MS Excel
http://www.oracle.com/technetwork/developer-tools/adf/overview/index-085534.html
Mobile
- AMX UI Components for Android and iOS
Frank -
What is the use for CREATING VIEW WITH CHECK OPTION?
Dear Legends,
I have a doubt
What is the use for creating view?
A: First Data Integrity, Selecting Particular Columns..
What is the use for creating a view with check option?
A: As per oracle manual I read that its a referential integrity check through views.
A: Enforcing constraints at DB level.
A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??
A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???
Please clear my doubt's Legends
Lots of Thanks....
Regards,
KarthikHi, Karthick,
karthiksingh_dba wrote:
... What is the use for creating view?
A: First Data Integrity, Selecting Particular Columns..Most views are created and used for convenience. A view is a saved query. If the same operations are often done, then it can be very convenient to code those operations once, in a view, and refer to the view rather than explicitly doing those operations.
Sometimes, views are created and used for security reasons. For example, you many want to allow some users to see only certain rows or certain columns of a table.
Views are necessary for INSTEAD OF triggers.
What is the use for creating a view with check option?
A: As per oracle manual I read that its a referential integrity check through views.The reason is integrity, not necessarily referential integrity. The CHECK option applies only when DML is done through the view. It prohibits certain changes. For example, if a user can't see certain rows through a view, the CHECK option keeps the user from creating such rows.
A: Enforcing constraints at DB level.I'm not sure what you mean. Please give an example.
A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??No. Using CHECK OPTION, you can do some inserts and updates, but not others. The columns involved may or may not have constraints in either case.
A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???If you try to violate a constraint, you'll get an error. That happens in views with or without the CHECK OPTION, and also in tables. -
What are the steps involved in configuring Oracle EBSR12 after installation
What are the steps involved in configuring Oracle EBS R12 after installation is complete?
We have an empty oracle EBS R12 installed and up and running. We do not have anything configured.
Please direct me to the documents that can be followed to do initial steps for the application functionality to work.
Thanks,
SRWhat are the steps involved in configuring Oracle EBS R12 after installation is complete?
We have an empty oracle EBS R12 installed and up and running. We do not have anything configured.
Please direct me to the documents that can be followed to do initial steps for the application functionality to work.All Oracle EBS Docs 11i/R12 can be found at:
Oracle Applications Documentation
http://www.oracle.com/technetwork/documentation/applications-167706.html
Thanks,
Hussein -
What is the patfrom_id for linux_x86_64
HI I am trying to find out what is the platform_id for a database running on the linux_x86_64 platform? I do not have a database if this type available to me and need to know as we are looking to use data guard to migrate an existing 10.2.0.3 database running on linux itanium platform (which is platform_id=11).
I have queried the v$transportable_platform view but I am unclear as to which platform_id is for linux_x86_64?
Can anyone please let me know what that is or if you could tell me if it is possible to use dataguard in 10.2.0.3 to migrate from linux itanium to linux x86_64.
Thanks, any help is greatly appreciated.user520056 wrote:
HI I am trying to find out what is the platform_id for a database running on the linux_x86_64 platform? I do not have a database if this type available to me and need to know as we are looking to use data guard to migrate an existing 10.2.0.3 database running on linux itanium platform (which is platform_id=11).
I have queried the v$transportable_platform view but I am unclear as to which platform_id is for linux_x86_64?
Can anyone please let me know what that is or if you could tell me if it is possible to use dataguard in 10.2.0.3 to migrate from linux itanium to linux x86_64.
Thanks, any help is greatly appreciated.Read this:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/standby.htm#i72053
The first one. But you can try if you want. Obviously if you have problems, Oracle Support could say "it's not supported".
John -
What is the meaning of dumping in oracle?
What is the meaning of dumping in oracle?
Also tell me is there any method to dump by user commands?Hi,
Dumping is a format used for storing regular oracle data that is used for transferring data between two databases or servers or within the database i.e export/import.
For dumping user commands you can use user auditing.
http://download.oracle.com/docs/cd/B10501_01/server.920/a96524/c25audit.htm
regards
Jafar -
Hello, everyone.
Here is a question - What is the APEX for? Can it be usable for production? For a pro?
I create an application, but I know nothing about HTML, javascript and other site-made-stuff. But my application is working pretty well. And it scares me. Can I put it in open-WEB? How about security? Strong to hackers? Does it safe enough?
Is anybody using APEX for a PRO? Only APEX, I mean.. Or it's only for home-fun-with-my-database?
Thanks for answers..Hi there
Short & Sweet answers
A.What is the APEX for?
Oracle Application Express (Oracle APEX), formerly called HTML DB, is a rapid web application development tool for the Oracle database. Using only a web browser and limited programming experience, you can develop and deploy professional applications that are both fast and secure.
B.Can it be usable for production? For a pro?
Yes
C.I create an application, but I know nothing about HTML, javascript and other site-made-stuff.
You can learn ...steep learning curve initially...
D.Can I put it in open-WEB?
Depends...
How about security?
http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/sec.htm
Strong to hackers? Does it safe enough?
No system is perfect !
E.
Is anybody using APEX for a PRO? Only APEX, I mean..
Or it's only for home-fun-with-my-database?
Yes
No
Thanks for answers.. -
What is the plan for 64-bit Windows?
The 11G Express Edition Beta installed without warnings or errors on a Windows 7 64-bit virtual machine. However after install, the following error appears multiple times in the alert log:
OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified
O/S-Error: (OS 1) Incorrect function. !
This error is repeats every 10 seconds in the alert log.
I understand that this is most likely because of the 64-bit OS. However, it is almost impossible to buy a Windows system today that is not 64-bit. If the plan is to only provide 11G Express Edition Beta in a 32-bit version for Windows, I think it should at least install and run properly in 32-bit mode on current 64-bit Windows operating systems. Or is a 64-bit version for Windows in the works?
Thanks! It is great to see some progress on 11G Express!
Edited by: user468360 on Apr 13, 2011 12:08 PM
I probably obscured my question with the alert log error code. I changed the subject to my real question: What is the plan for 64-bit Windows?
Since almost all windows systems are rapidly moving to 64-bit, will 11G Express be made available in a package (either 32-bit or 64-bit) which installs and runs correctly on a 64-bit windows system? Should we report 64-bit related bugs seen with the 32-bit install package so they can be fixed or is a 64-bit package coming? Thanks!I don't dispute that you can do the install of 11G Express on a 64-bit Windows OS. It even appears to complete successfully. The database opens and you can connect to it.
However I seriously question if the underlying database processes are running correctly. My alert log is filled with hundreds of the errors that I listed in my original post.
If you have posted that you have a successful install on 64-bit Windows, could you please check your alert log and let us know if you are seeing errors, or if everything is running correctly. The alert log is the main error log for the database. You can find it in C:\OracleXE\app\oracle\diag\rdbms\xe\xe\trace\alert_xe.log. Open this file in notepad and check for errors.
Based on the errors that I am seeing, I ask again: What is the plan for 64-bit Windows? Does anyone from Oracle moderate this forum? Is 11G XE supposed to run correctly on 64-bit Windows, or what is the plan for supporting the almost universal move to 64-bit windows operating systems?
Thanks!
Edited by: user468360 on Apr 18, 2011 4:55 PM -
What are the steps for merging of database files ?
hi
i have 23 datafiles in a tablespace .i want to merge these 23 datafiles into 4 to 5 datafiles.What are the steps for merging of database files
Edited by: mithun on Oct 22, 2011 11:29 PM>
i have 23 datafiles in a tablespace .i want to merge these 23 datafiles into no of
small no of datafiles.What are the steps for merging of database filesYou didn't mention your Oracle version.
See here for creating tablespaces http://www.adp-gmbh.ch/ora/sql/create_tablespace.html.
You can specify as many (or as few) datafiles as you like.
Then create tables in your new tablespace x_old_table_name(s) - you can Google this.
Then select the data from old_table_name(s) into x_old_table_name(s).
Drop old_table_name(s)
Rename x_old_table_name(s) old_table_name(s).
There may be a better way.
Paul... -
What is the key for skinning of paging navbar in 11.1.1.7?
Hi
jdev 11.1.1.7
Know we have pagination in af:table in 11.1.1.7
what is the key for skinning for these word in table navbar:
1-page
2-of
3-of in parathesis and items in paranthesis
4-tooltip of hover on page number inputtext (go to page)
ThanksHi Timo
Thank for your reply
I used http://docs.oracle.com/cd/E28280_01/apirefs.1111/e15862/toc.htm this and find af_table.TIP_LAST_PAGE and others but nothing find for key mentioned in first post and when I use af_table.LABEL_NAVBAR_ROW_RANGE_KNOWN_COUNT=something in resourceBundle,I see in runtime instead of for example (1-20 of 900 Items) ,something.
please help
Maybe you are looking for
-
I changed the password to my ipod but it isn't working and I don't want to restore it. Is there a way of getting rid of the pass word or un-disabling my device?????
-
Problem with next page in Adobe Form
Hi all . I only start work with Adobe Forms so I need your help . My form includes table . My problem : only the first page with data is displayed and I don't see the rest of data . What I need to define in SFP (program ? ) for get all my data pr
-
MIRO--CENVAT CLEARING ACCT NOT APPEARING.
Hi All, In PO ,we are maintaining only JIPC ( cst ) for a tax code, But while GR we are capturing excise( cenavtable), now while doing MIRO cenvat clearing acct is not appearing when we simulate. Is it prerequisit to maintain excise condition in PO s
-
USB flash drive 5times faster with ntfs filesystem?
Hello, I have a weird problem with my USB Voyager GT 16GB flash drive. I formated it in ext2/ext3/xfs/fat32 and then start copying a file >1GB in size. The speed of transfer very quickly drops to 2-4MB/s. That is very slow. And if I format it in ntf
-
Dear experts, As beginner, I am trying to understand from which tables/iViews the data in the IDM UI comes from. I trying to display the user assignments content but I am quite confused: Question1: which sql request can provide this content for my us