Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Apending to a Query Result

This is a discussion on Apending to a Query Result within the Oracle Apps forums, part of the Enterprise Solutions category; Hi Friends, Is it possible to append text to a column result within the query itself? The way our system is, I need it to return the result wrapped in ...

Go Back   Geeks Talk > Enterprise Solutions > Oracle Apps
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 05-16-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 984
Thanks: 155
Thanked 420 Times in 201 Posts
rijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nice
Smile Apending to a Query Result

Hi Friends,


Is it possible to append text to a column result within the query itself?

The way our system is, I need it to return the result wrapped in the CDATA tag. The below doesn't work, but should illustrate the idea on line 4:


1. SELECT
2. COLUMN_ONE,
3. COLUMN_TWO AS NEW_USERNAME,
4. '<![CDATA[' + DECRYPT_CHAR(PASSWORD_COLUMN_NAME,'SOME_KEY') + ']]>' as NEW_PASSWORD
5. FROM
6. DBSCHEMA.TABLE
7. WHERE
8. COLUMN_ONE = 'SOME_VALUE'


Thanks in advance............
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-17-2009
Junior Member
 
Join Date: Sep 2009
Location: Pruthvi
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sunpraveen is on a distinguished road
Re: Apending to a Query Result

Try the below. The rest of the select statement stays the same!

'<![CDATA[' || DECRYPT_CHAR(PASSWORD_COLUMN_NAME,'SOME_KEY') || ']]>' as NEW_PASSWORD

HTH,

Regards,

Praveen
Reply With Quote
Reply

  Geeks Talk > Enterprise Solutions > Oracle Apps

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
No result in trial playback tina37 Rational Robot 0 02-18-2008 04:14 AM
Result analysys Guru Chawla LoadRunner 1 01-24-2008 12:29 PM
Query to get rank result beharavenkata Database General 3 12-31-2007 04:51 AM
How to relate validation result to output result? pravinspatil QTP 3 11-22-2007 01:04 AM
Techmahindra result xbubai Suggestions & Feedback 8 12-25-2006 10:47 PM


All times are GMT -4. The time now is 01:20 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved