Combining two Schemas
Hi Experts,
I do have the following requirement.
I have a table which displays values from two schemas. So how can I build a VO with two database connections in ADF 10.1.3.
Pls provide me some examples.
Thanks
User,
An application module has a single db connection. Perhaps you want to create a synonym/view in one of the schemas for the table in the other one?
John
Similar Messages
-
Report creation from two schemas
Hi All,
1. suppose I have 2 databases.
2. one is sample1 and another is sample2
3. now u need to build one report from these two schemas.
4. means u need to take the samp_key from samp_tab from sample1 schema
and also u need to take some measure which is there in sample2 also.
how u will create the report from the two schemas? Is there possibility in the report level or do we have any chances in rpd level?
Can anybody help on this?
Thanks in Adv.You have 2 options:
1) RPD level: bring those 2 tables to BMM layer into one Business model and then put them in the same catalog in presentation layer.
2) Answers level: Use combine with similar request and create the report. -
Combine two date field into one timestamp field
Hello all,
I need help combining two date fields into one timestamp field.
I have separate Date and Milliseconds fields and want to
combine to one Timestamp field can some suggest sql???This is my data
01 JAN 1989 12:01:00.001 AM
this is my insert drag_time is a timestamp field in another schema
INSERT
INTO DRAG (drag_time)
SELECT to_char(drag_time, 'DD MON YYYY HH12:MI:SS')||(drag_second)||to_char(drag_time, ' AM')
FROM sa.drag;
This is the error
ERROR at line 3:
ORA-01855: AM/A.M. or PM/P.M. required -
How to combine two datarows (business component data) in BI Publisher
Hi ,
We are using BI Publisher in Siebel Environment.
We have data coming from two business components (like from 2 diff tables)
a) <?for-each:ssTest1?>
b) <?for-each:ssTest2?>
ssTest1 and ssTest2 are the business components
We need to combine these 2 datarows (a&b) and show the data into a single combined data row for ex like <?for-each:ssTest1ssTest2?> and show all the fields in that.
I'm not sure how we can combine these two data rows into a single combined data row and show the data.
Any help from any one would be apprecated.
Thanks
PV
Edited by: user8633002 on Oct 21, 2010 4:05 PMHi sajid
There was nothing more description about your issue in this site and I found an issue below is mostly like yours
http://www.codeproject.com/Questions/855487/how-to-combine-two-table-value-in-rdlc-report
In the issue above, if you want to show the two other tables in the report, I think you could combine the tables into one datatable joining on key. The link below show an example of a DataSet Helper from Microsoft about combine DataSets. Take note of
the related content for other DataSet Helper examples. And then you could use the datatable in your RDLC.
# HOW TO: Implement a DataSet JOIN helper class in Visual C# .NET
http://support.microsoft.com/kb/326080/en-us
In an alternative way, I think you could create a view in the database which combine your tables and use it in your rdlc.
In addition, your issue is about asp.net and you could get more support in the asp.net forum whose link as below.
http://forums.asp.net
Best Regards
Edward
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. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey. -
Combine two resultset sidebyside in coulmn using mdx
hi i am new to mdx,
i want to combine two select statement resultset (side by side like union) using mdx query,please any body help me to solve this query
first query:
SELECT
{ [Last Year] }
ON COLUMNS,
{ {[Location].[Location].&[7], [Location].[Location].&[12], [Location].[Location].&[11],
[Location].[Location].&[19], [Location].[Location].&[17], [Location].[Location].&[16],
[Location].[Location].&[9], [Location].[Location].&[18] },{[Location].[Location].[All]}}
ON ROWS
FROM [Cube1]
WHERE ( [Measures].[Labour %] )
here [Last Year] is a calculated set
{STRTOMEMBER("[Date].[Month].&["+ cstr(year(now())-2) +"-11-01T00:00:00]"):
(STRTOMEMBER("[Date].[Month].&["+ cstr(year(now())-1) +"-10-01T00:00:00]"))}
2nd query:
WITH MEMBER [Measures].[Budget ] AS IIF(avg([Last Year],IIF(([Measures].[Budget]>0),[Measures].[Budget],null)),
avg([Last Year],IIF(([Measures].[Budget]>0),[Measures].[Budget],null)),0.00),
MEMBER [Measures].[YTD] AS IIF(avg([Last Year], IIF(([Measures].[Labour %]>0),[Measures].[Labour %],null))<>null,
avg([Last Year], IIF(([Measures].[Labour %]>0),[Measures].[Labour %],null)),0.00),
FORMAT_STRING = "Standard",
BACK_COLOR = CASE WHEN [YTD] = 0 THEN /*White*/16777215 /*White*/
WHEN [YTD] <= [Measures].[Budget ] THEN 65408
WHEN [YTD]<= [Measures].[Budget ] +5 THEN 65535
WHEN [YTD]> [Measures].[Budget ] +5 THEN 255
END,
VISIBLE = 1
SELECT
{ [Measures].[YTD], [Measures].[Budget ] }
ON COLUMNS,
{ { [Location].[Location].&[7], [Location].[Location].&[12], [Location].[Location].&[11], [Location].[Location].&[19], [Location].[Location].&[17], [Location].[Location].&[16], [Location].[Location].&[9], [Location].[Location].&[18]
},{[Location].[Location].[All]} }
ON ROWS
FROM [Cube1]
here ==> [Measures].[YTD], [Measures].[Budget ] are calculated member
i want result like in
coulmns===> ytd,budget,nov,dec,jan,feb.,,,,,,,,,,out
rows ====> are only locations and total(average of all locations)
please guide me to get solution like mdx queryHi Vsp,
According to your description, you want to create a calculated member to combine two members, and then set it as Default member, right?
In SQL Server Analysis Services, we can use the script below to create a calculated members.
create member currentcube.[Date].[Day of Week].[weekend]
as
{[Date].[Day of Week].&[6],[Date].[Day of Week].&[7]
Every attribute in a dimension in Microsoft SQL Server Analysis Services has a default member, which you can specify by using the
DefaultMember property for an attribute. This setting is used to evaluate expressions if an attribute is not included in a query. Please refer to the link below to see the detail information about specify a default member.
http://technet.microsoft.com/en-us/library/ms174822(v=sql.105).aspx
Regards,
Charlie Liao
TechNet Community Support -
Hi all,
After my last contribution "Request for Scott Spendolini" I was able to create the scripts to update fields in forms without having to refresh the page. Thanks again to Scott, Carl and the others who helped me solving my problem.
I have another question regarding this however. How do I combine two (or more) values on a form to fill a field with the values, for instance to create a unique Primary-key field?
This is the example: combine the postcode and the house-number (and maybe an extension to the housenumber) in one field 'adrescode'. This uniquely identifies an adress in the Netherlands. I can 'get' the postcode to fill the first part of the adrescode, but how do I modify the scripts to 'get' the housenumber (huisnummer) and - if not left null - the extension to the housenumber?
Here are the scripts I created to far:
in the region source of the page I have the following Javascript:
<script language="JavaScript1.1" type="text/javascript">
function f_P52_getAdrescode ()
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=P52_getAdrescode',0);
get.add('P52_POSTCODE',html_GetElement('P52_POSTCODE').value)
gReturn = get.get();
if(gReturn)
{ html_GetElement('P52_ADRESCODE').value = gReturn }
else
{ html_GetElement('P52_ADRESCODE').value = 'null' }
get = null;
</script>
and in the shared components of the application I have created an process P52_getAdrescode as follows:
declare
l_adrescode varchar2(16);
begin
l_adrescode := :P52_POSTCODE || :P52_HUISNR ;
if :P52_HUISNRTOEVOEGING is null then
NULL ;
else
l_adrescode := l_adrescode ||':'||:P52_HUISNRTOEVOEGING ;
end if ;
htp.prn(l_adrescode);
-- dbms_output.put_line(l_adrescode);
end;
I ran this PL/SQL in the SQL-section of HTMLDB and it does what a expect: combine the values in a new string.
In my page however, it only gets the value of postcode and puts this into the adrescode field.
So my question is: how do I modify the Javascript (I Guess) so that also the fields 'huisnummer' and 'huisnummertoevoeging' end up in the adrescode field?
Thanks for your help,
Jan.Carl, Scott,
I have two pages with exact the same fields and codings (as described before in this Post.
I now have two different named functions and application processes, a javascript an process for each page. They both do the same thing, use the same code except for the page-number (:P52_ and :P92). I tried to make one process to replace both, but ran into problems when I changed the name in the get.add statement.
Changing the get.add from: get.add('P52_POSTCODE',html_GetElement('P52_POSTCODE').value) to: get.add('POSTCODE',html_GetElement('P52_POSTCODE').value) always ends up in what looks like a complete html-(source)dump of the page in the field that has to be updated. Even when I replace the :P52_POSTCODE in the application process as well Changing back the application process and the javascript to so that both javascript and process use the :P52_ again and the function returns the correct value again. What am I doing wrong?
I requested an online-workspace to post the application to it, but have no answer to my request yet, so I can't provide a working example at the moment....
Thanks for your help again,
Jan. -
How do I combine two user accounts into one account?
When we originally set-up our iMac, I set-up two accounts for my wife and I. Since then it has been a royal pain with music and applications sharing. How do I merge the two accounts into one?
I found an answer to this by searching on "merging two accounts" rather than "combining two accounts." BTW, it's a little mini-nightmare if you only use "combine" on both Google and Apple support. At least this post might help others avoid the same fate.
Here's where to go to find the answer: http://discussions.apple.com/message.jspa?messageID=5629676#5629676 -
Can I combine two pdf files by using command lines?
Hi
I always need to combine two pdf files into one in my regular work
Currently, I open one of them, press ctrl+shift+I,
find another file and double click it.
It works but not so efficient since I need to do
this procedure many times everyday
So I'm looking for a better solution
Something like command lines,
for example:
acrobat.exe "combine" "doc1.pdf" "doc2.pdf"
Does acrobat have these functions or not?
Thx &
Best RegardsFile > Combine
-
How can I combine two itunes accounts into one?
How can I combine two itunes accounts into one?
Items purchased from the iTunes Store are permanently associated with the account from which they were originally purchased. Apple provides no way to change this.
However, if you wish to put content from two accounts into a single iTunes library, you can easily do so. Use the command File > Add File (or Folder) to Library. -
I am trying to combine two accounts that I have on iTunes (created separately over the years) so as to then delete/cancel one to only have one active account (with all of my combined purchases, etc. on this combined account).
Is this possible, or is there another way of transfering purchases to one of the accounts and then just deleting the then "empty" one?
Thanks for any advice / inputmethod one from the following support article should do the trick: How to use multiple iPods, iPads, or iPhones with one computer.
-
How do you combine two or more movie clips into one movie clip in iMovie '09
how do you combine two or more movie clips into one movie clip in iMovie '09
First create an iMovie project. Then drag the clips (or portions of clips) that you need into the project.
When finished, use the SHARE menu to share the project. -
Can I combine two iTunes accounts into one?
Hello. I have an iPod touch, but to download and install apps, I have to use my dad's account to download. Is it possible to combine two together into one( I just created an Apple ID. ) thanks for answering!0.0
this Apple article says no:
http://support.apple.com/kb/he37
"I have multiple Apple IDs. Is there a way for me to consolidate them into a single Apple ID?
At this time, Apple IDs cannot be consolidated. " -
How to compare two schemas in Oracle sql developer
Hello,
I need to compare both the data and schemas details (columns etc) between two schemas on different databases (connections).
What is the easiest and most efficient way to do this? Hopefully in Oracle Sql Developer or Sql Plus?
Thanks.In SQL Developer go to Tools -> Schema Diff !
in SQL* Plus you will need to write PL/SQL for this.
Amardeep Sidhu -
Trying to combine two 'lines' to make a 'shape'?
I've been trying for hours to combine two curves I drew with the pencil tool into a shape that I can fill with a color or gradient:
http://img199.imageshack.us/img199/4155/flametests01.png
The top row has the two lines (stroked). When I move them together, I get a pleasing 'flame' shape that I want to use in a logo.
The bottom row shows what happens when the two 'lines' are 'filled', and what happens when the flame is 'filled'. I've tried all manor of grouping, merging, combining....I've lost track at this point....
I think part of my problem is that I assume the pencil tool would draw lines (or perhaps 'paths' is more accurate?)--but it seems to be drawing 'shapes'.
I've tried using the pen tool, but the curves are never as smooth as the ones I drew 'freehand'...
What should I have done / be doing differently?Just drag-select the upper two points with the Direct Select tool and use the KBSC CmdOpt-Shift-J to unite the lines. Do the same at the bottom to complete the shape.
-
Combine two reports in query designer using key figure with sap exit
Hi experts,
i want to combine two reports in query designer using key figure with sap exit
in the report 1 key figure calculation based on the open on key date(0P_DATE_OPEN)
to calculate due and not due in two columns
in report 2 key figure calculate in the time zones using given in variable Grid Width (0DPM_BV0) like due in 1 to 30 days, 31 to 60 days...the due amount based on the open on key date(0P_DATE_OPEN)
to calculate in 1-30, 31-60, 61-90, 91-120, 121-150 and >150 days in 6 columns
now i have requirement like this
not due, 1-30, 31-60, >60, due,1-30, 31-60, >60 in 8 columns
or
not due, due, 1-30, 31-60, 61-90, 91-120, 121-150 and >150 in 8 col
thank youHi Dirk,
you perhaps know my requirement,
for the management to make used in one report,
we have in reporting finacials Ehp3.
Vendor Due Date Analysis - which show due, not due
Vendor Overdue Analysis - show only due and analysis in time grid frame
i want to combine in one report that show NOT DUE, DUE, DUE time frames in grid.
krish...
Maybe you are looking for
-
Can somebody help me. I used to be able to burn with no problem. But now while finishing discs, I get the following message. The Attempt to burn disc failed. The burn failed because of a medium write error.
-
Apple TV 2.0 WILL have Closed Captioning Support
see article from ilounge. Look at the 3rd picture from the bottom. http://www.ilounge.com/index.php/articles/comments/what-to-expect-from-apple-tv- 20-photos-and-details/ this is good news for a lot of people. Now if apple will add more CC movies to
-
CD-R not mounted on the desktop
Sinc ehte CD-R I'm use to use since years are no more mounted on the desktop i think i could have decided, by mistake, to flag the option as default not to mount them If you see a dialog, you can choose an action from the pop-up menu and select "Make
-
I need to open an online presentation
I need to open an online presentation from Safari what application needed for that ?
-
Podcast Authors appear in "Artists" on my Ipod - How can I get rid of that?
I use iTunes to subscribe to podcasts. After synchronizing, the podcasts appear on my Ipod in my "Podcasts"-folder as they should. But the Authors also appear in the "Artists"-folder, which I find very confusing. How can I get rid of that? Ipod Nano