A line in two ranks
Hello
I'm using ODI 11 g.
I use a flat file for the Table mapping. In my flat file values are coming up as below.
A0002NewCampain201
A0002NewCampain202
A0002NewCampain203
A0002NewCampain204
A0003NexCampain301
A0003NexCampain302
Position 1:5-> campgn_no, then 10 characters is campgn_nme, 3 next characters source_code
How to proceed in the Interface to load data from the file Flkat in the P_REC table.
These lines should go in the P_REC table as 2 files.
A0002 NewCampaign 201 202 203 204 null
Null null null A0003 NewCampaign 201 202
Thank you
LM
Hi LM,.
Hope under the will of URL lets you (using pivots)
www.odigurus.com/2012/02/ODI-pivot-rows-to-columns.html
Kind regards
Phanikanth
Tags: Business Intelligence
Similar Questions
-
Draw a line connecting two points in the WPF chart
I'm trying to understand the best way to draw a line between two existing points on my graph in WPF. At first, I thought I had it works fine; I just added another parcel to my graph then given exactly two points for rendering. But I quickly noticed that the app has become surprisingly slow and CPU was quite high (adding other plots does not affect the use of the CPU as long as they have a complete set of points (?)). He wants me if I looked at using the DataToScreen method on the chart but I can't know what the parameters are. The second parameter is simply an IList that tells me a lot. This seems to be the method I want to use for the coordinates of a point on the graph screen.
No one knows what the second parameter is supposed to be for the DataToScreen method? Everything I tried throws an Exception of Argument.
Thank you
DanDataToScreen
will return a screen coordinate in the plot area of a chart of the value of the raw data horizontal and vertical in the given list. The parameter value is aIList
for compatibility with other methods of graphical query such asFindNearestValue
, returnIList
values containing raw data.A concrete example, say you had a graphical configuration with a wide horizontal axis ranging from 0 to 100 and a vertical axis double precision ranging from 10 to 20:
To get the screen coordinates of the value at the center of the two axes, you can call:
graph.DataToScreen(plot, new object[] { 50, 15.0 })
Note that the raw data values corresponding to the type of axes (horizontal
AxisInt32
returns the integer50
and verticalAxisDouble
Gets the value15.0
).You also mentioned a performance issue where "adding other plots does not affect the CPU so that they have a complete set of points". I did a simple test app that adds an array of two points of a chart on each key (for example
graph.Data.Add(new[] { new Point(x1, y1), new Point(x2, y2) });
), but could not reproduce the problem you saw. Could you share the code, you use to draw the connection line? -
Hello!
Is it possible to convert a trace made with the Brush tool a blob in a simple brush trace (a simple vector line - not two lines with a filling in between)? Thank you very much for your help!
No, I don't think.
-
I have problems with the form widget. When I created my forms, I need to leave out the line, one email because my client does not want the message line and two because those who have tried to fill the online form cannot submit because the 'email' box keep rejecting their email address valid. And I just tried to remove the line in my form and it does not allow me to delete or to mark it as not necessary either.
Currently, there is no way around the field email forms of the Muse. Another option is to have a look at Jotforms or another third-party provider of shape that Muse has widgets for.
-
XML from the interlaced lines of two Tables?
I'm trying to generate XML data from interlaced lines of two relational tables that have a common FK, and I can't have enough to get the concept / syntax right. for example:
-----CREATE TABLE A ( PK_A NUMBER , FK NUMBER , C VARCHAR2(100) , D VARCHAR2(100) ) ; CREATE TABLE B ( PK_B NUMBER , FK NUMBER , E VARCHAR2(100) , F VARCHAR2(100) ) ; ... load some data into both tables so B always has one more row than A for the any FK ... FUNCTION Get_XML( FK_In IN a.fk%TYPE ) RETURN XMLType IS TYPE A_Table_Type IS TABLE OF a%ROWTYPE ; TYPE B_Table_Type IS TABLE OF b%ROWTYPE ; TYPE XML_Table_Type IS TABLE OF XMLType INDEX BY PLS_INTEGER ; my_A_Table A_Table_Type ; my_B_Table B_Table_Type ; my_XML_Table XML_Table_Type ; my_Return_XML XMLType ; t NUMBER := 0 ; -- my_A_Table index x PLS_INTEGER := 1 ; -- my_XML_Table index BEGIN SELECT * BULK COLLECT INTO my_A_Table FROM a WHERE ( fk = FK_In ) ; SELECT * BULK COLLECT INTO my_B_Table FROM b WHERE ( fk = FK_In ) ; FOR i IN 1..my_B_Table.COUNT LOOP SELECT XMLElement( "B" , XMLAttributes( my_B_Table(i).E AS "ID" ) ) INTO my_XML_Table( x ) FROM dual ; x := x + 1 ; IF ( t < my_B_Table.COUNT ) THEN t := t + 1 ; SELECT XMLElement( "A" , XMLAttributes( my_A_Table(t).C AS "ID" ) ) INTO my_XML_Table( x ) FROM dual ; x := x + 1 ; END IF ; END LOOP ; SELECT XMLAgg( SELECT * FROM TABLE( my_XML_Table ) INTO my_Return_XML FROM dual ; RETURN my_Return_XML ; END Get_XML ;
The statement "SELECT XMLAgg (... "does not, compile with one" ORA-00936: lack the expression "error." Using an associative array of XMLType is my last attempt to build up interlaced table A / B XML fragments in a single global XML fragment. At first, I just tried to XMLConcat each query results directly in my_Return_XML.
--
AlexHello
I see two problems here:
(1) lack of parentheses around SELECT it and closing XMLAgg:
SELECT XMLAgg( ( SELECT * FROM TABLE( my_XML_Table ) ) ) INTO my_Return_XML FROM dual ;
(2) you cannot use the TABLE function with a type declared for PL/SQL. You must create a SQL type and declare a collection of this type.
Alternatively, you can use SYS. XMLSEQUENCETYPE (varray of XMLType).Anyway, is there a simpler approach?
For example, using a single SELECT statement:SQL*Plus: Release 10.1.0.4.2 - Production on Mar. Mars 30 11:32:08 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connecté à : Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> CREATE TABLE A ( 2 PK_A NUMBER , 3 FK NUMBER , 4 C VARCHAR2(100) , 5 D VARCHAR2(100) 6 ) ; Table créée. SQL> CREATE TABLE B ( 2 PK_B NUMBER , 3 FK NUMBER , 4 E VARCHAR2(100) , 5 F VARCHAR2(100) 6 ) ; Table créée. SQL> INSERT INTO a 2 SELECT level, '1', 'A:VALUE '||to_char(level,'fm09'), 'A:VALUE '||to_char(level,'fm09') 3 FROM dual 4 CONNECT BY level <= 10; 10 ligne(s) créée(s). SQL> INSERT INTO b 2 SELECT level, '1', 'B:VALUE '||to_char(level,'fm09'), 'B:VALUE '||to_char(level,'fm09') 3 FROM dual 4 CONNECT BY level <= 11; 11 ligne(s) créée(s). SQL> commit; Validation effectuée. SQL> set long 500 SQL> set pagesize 50 SQL> variable fk number; SQL> exec :fk := 1; Procédure PL/SQL terminée avec succès. SQL> SELECT xmlagg( 2 xmlelement(evalname(ename), xmlattributes(id)) order by rn 3 ).extract('/*') --< for formatting purpose 4 as xmldoc 5 FROM ( 6 SELECT 2*rownum-1 as rn, 7 'B' as ename, 8 e as id 9 FROM b 10 WHERE fk = :fk 11 UNION ALL 12 SELECT 2*rownum, 13 'A', 14 c 15 FROM a 16 WHERE fk = :fk 17 ); XMLDOC --------------------------------------------------------------------------------
Interlacing is made in the inner query by assigning same ROWNUMs odd and table A to table B.
-
Easy way to extract the line of two-dimensional array?
Y at - it an easy way to extract a two table row Dimensions? I have two lists of table to a dimension that I consider a pine table, where each pin list is a table of numbers. I want to go through it and to extract a line at a time to send in a vi. Currently, I'm looking to do a bit of a long way, and I was wondering if there was an easier way. The long way:
GetArrayBounds (Locals.ArrayOfPinsToTestAtOnce, Locals.BogusString, Locals.ArrayBounds), / / enter the quantity of lines and columns Locals.ArrayBounds
Locals.ElementsPerList = Val (Mid (Locals.ArrayBounds, 1, 1)), //Get number of bowling by list
Locals.NumberOfLists = Val (Mid (Locals.ArrayBounds, 4, 1)), //Extract number lists
SetArrayBounds (Locals.OneRow, "[0]", "[" + Str (Locals.ElementsPerList) + "']" ") //Set table defines for a line chart
< locals.numberofgroups;="" i++="" )="" would="" be="" done="" in="" teststand="" step,="" just="" for="" easy="">
{
< locals.elementsperlist;="" j++)="" also="" would="" be="" done="" in="" teststand="">
Locals.OneRow [j] = ArrayOfPinsToTestAtOnce [j] [i]
PERFORM STEP HERE (Locals.OneRow)
}Thanks for the tips!
In all honesty, I just want to do in LabVIEW. You can try to add to the list in this idea.
-
Straight line between two polar points
Hi all
I created a VI that could be traced a Polar curve according to time-distance formula. The VI has present Mag and target Mag. each with its own angle (Polar form that is (r, theta)). I want to draw a straight line from the current point to the target point. I used the time-distance formula to trace the scale and used the same slope to point the angle. However, I get a curved path as shown in the attachment.
Could someone tell me what formula can be used to draw a straight line from the current point to the target point?
Thank you.
1 convert two polar points in rectangular coordinates.
2. generate the points between the two. You can use the function of ramp or some other methods to generate points.
3 convert points to polar coordinates and draw. Nice straight line!
Of course, the question is why do you want a straight line when you use the polar coordinates? He will not directly be r or theta.
Bruce
-
Thick border line between two columns
Hello all;
I have a requirement where the user must be able to distinguish between two columns hnce asking a thick line, rather than the usual 'by default'.
Everything is 'Default' until then.
I clicked on properties of the 1st column and in the section "Border", I chose "Custom" and made the right wall of the cell in black color.
I see a thick border now, but it has eliminated the 'default' border separating lines. His party make the entire column look like a single cell.
I don't want any change with the exception only of the border of a column of a black line.
Any help is greately appreciated.
Thank you!The column properties-> Options of Style CSS custom (HTML only)-> use custom CSS Style->
the following CSS code
border-right-width: 1px; border-right-color: green;or go with someone with the necessary changes
Appreciate if you score as correct if it works
Published by: Srini VIEREN on December 11, 2012 16:43
-
Hello world
I wrote this little program where iam creating two label and I can drag this label and this works perfectly.
I also try to include a line between this label. I am not getting the correct result because I see my tag, but not the line. (I know that my program is incomplete to separating it from the label, since I can't see the line with label iam not able to proceed)
I am a newbie so my code is perhaps not too professional. Hoping to find a few tips.
Thanks for all your time and help.import java.awt.*; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; import java.awt.geom.Line2D; import javax.swing.*; @SuppressWarnings("serial") public class test extends JFrame implements MouseListener, MouseMotionListener { private JPanel panel = new JPanel(null); private JLabel label1 = new JLabel(); private JLabel label2 = new JLabel(); private int mouseX = 200; private int mouseY = 100; private boolean drag = false; public test() { this.add(panel); panel.setBackground(Color.WHITE); panel.add(label1); label1.setOpaque(true); label1.setBackground(Color.BLUE); label1.setBounds(mouseX, mouseY, 100, 50); label1.addMouseMotionListener(this); label1.addMouseListener(this); panel.add(label2); label2.setOpaque(true); label2.setBackground(Color.RED); label2.setBounds(mouseX + 200, mouseY, 100, 50); label2.addMouseMotionListener(this); label2.addMouseListener(this); } @Override public void mousePressed(MouseEvent e) { if (e.getSource() == label1) { drag = true; } if (e.getSource() == label2) { drag = true; } } @Override public void mouseReleased(MouseEvent e) { drag = false; } @Override public void mouseDragged(MouseEvent e) { if (drag == true) { JComponent jc = (JComponent)e.getSource(); jc.setLocation(jc.getX()+e.getX(), jc.getY()+e.getY()); } } public void mouseMoved(MouseEvent e) {} public void mouseEntered(MouseEvent e) {} public void mouseExited(MouseEvent e) {} public void mouseClicked(MouseEvent e) {} public void paint(Graphics g) { Graphics2D g2 = (Graphics2D) g; Line2D lin = new Line2D.Float(100, 100, 250, 260); g2.draw(lin); super.paint(g2); } public static void main(String[] args) { test frame = new test(); frame.setVisible(true); frame.setSize(600, 400); frame.setResizable(false); frame.setLocationRelativeTo(null); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } }
Outside of the Netbeans IDE is also there another tool that can help in creating faster GUI swing application.public void paint(Graphics g) { super.paint(g); Graphics2D g2 = (Graphics2D) g; Line2D lin = new Line2D.Float(100, 100, 250, 260); g2.draw(lin); }
Also I suggest
public void mousePressed(MouseEvent e) { if (e.getSource() == label1 || e.getSource() == label2) { drag = true; } }
-
All the two ranks (background color)
I want to keep it simple and css. How can I get it works properly for all the other ranks has a yellowish background without leaving space between words.
This is what I have but his producing a strange result.
< ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
" < html xmlns =" http://www.w3.org/1999/xhtml ">
< head >
< meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
< title > Untitled Document < /title >< style type = "text/css" >
* {
margin: 0px;
padding: 0px;
}div #footer {}
height: auto;
background-color: green;
Clear: both;
do-size: 14px;
Width: 800px;
}
div #footer ul {}
margin: 0;
padding: 0;
list-style: none;
}
div #footer li {}
Width: 155px;
Display: inline-block;
text-align: center;
vertical-align: top;
}
/ * horizontal line breaks * /.
{h}
border: 0;
color: #323232;
background-color: #323232;
height: 1px;
Width: 95%;
text-align: center;
}
.even {}
background-color: #FF9;
}
< / style >< / head >
< body >
< div id = "footer" >
< ul >
< class = "even" li > 15/01/2011 < /li >
< class = "even" li > Broadway Brewhouse < /li >
< class = "even" li > new Phila, OH < /li >
< class = "even" li > 22:00 < /li >
< class = "even" li > 330-343-9231 < /li >
< hr / >
< li > 11/06/2011 < /li > < li > Edelwiess Inn < /li > < li > Sugarcreek, OH < /li > < li > 22:00 < /li > < li > 330-852-3750 < /li >
< hr / >
< class = "even" li > 09/04/2011 < /li >
< class = "even" li > Uhrichsville Moose Lodge (open to Public) < /li >
< class = "even" li > Uhrichsville, OH < /li >
< class = "even" li > TBD < /li >
< class = "even" li > 740-922-9098 < /li >
< hr / >
< li > 15/01/2011 < /li > < li > Broadway Brewhouse < /li > < li > new Phila, OH < /li > < li > 22:00 < /li > < li > 330-343-9231 < /li >
< /ul >
< / div >
< / body >
< / html >I do with Tables. But you might be able to adapt this method to the lists using classes "odd" & "same."
Zebra CSS table:
http://ALT-Web.com/demos/CSS-Zebra-table.shtml
Hope this helps,
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
http://ALT-Web.com/
http://Twitter.com/ALTWEB -
How to draw a line between two buttons?
Hello.
I want to do two mobile buttons attached to a line. When changing the position of any button you change in the appearance of the line of course. I know how to draw a line, but after MOUSE_DOWN and I don't know how to remove an old monotube and how this line to appear all the time?
My code
btn2.addEventListener (MouseEvent.MOUSE_DOWN,
mouseDownHandler3);
btn2.addEventListener (MouseEvent.MOUSE_UP, mouseUpHandler3);
btn3.addEventListener (MouseEvent.MOUSE_DOWN, mouseDownHandler3);
btn3.addEventListener (MouseEvent.MOUSE_UP, mouseUpHandler3);
Set a mouse down Manager (the user is dragging)
function mouseDownHandler3(evt:MouseEvent):void {}
var object = evt.target;
We have to limit them by dragging to the area inside the canvas
object.startDrag ();
}
function mouseUpHandler3(evt:MouseEvent):void {}
var obj = evt.target;
obj.stopDrag ();
spisujemy x, y
var x2Pos:Number = btn2.x;
var y2Pos:Number = btn2.y;
var x3Pos:Number = btn3.x;
var y3Pos:Number = btn3.y;
trace (x3Pos);
trace (y3Pos);
var roundObject:Shape = new Shape();
roundObject.graphics.lineStyle (2, 0 x 990000,. 75);
roundObject.graphics.moveTo (x2Pos, y2Pos);
roundObject.graphics.lineTo (x3Pos, y3Pos);
this.addChild (roundObject);
this.removeChild (this.getChildAt (this.numChildren-1));
}Source. FLA: http://www.mediafire.com/?y2tyzz4zxun
Here is a solution that you can adapt for two or more buttons...
var btns:Array = [btn2, btn3]; instances in concert
handlers all btn
function setBtns (): void {}
for (var i = 0; i)
inclinometer [i] .buttonMode = true;
inclinometer [i] .addEventListener (MouseEvent.MOUSE_DOWN, grab);
inclinometer [i] .addEventListener (MouseEvent.MOUSE_UP, drop);
}
}setBtns();
inspired by ECCAS btns lines all while occurs wildfire
function drawLines(e:Event=null):void {}
Graphics.Clear;
graphics.lineStyle (2, 0xFF0000);
((graphics.moveTo(btns[0].x+(btns[0].width/2), btns[0].y+(btns[0].height/2));for (var j = btns.length - 1; j > = 1; j-) {}
((graphics.lineTo(btns[j].x+(btns[j].width/2), btns[j].y+(btns[j].height/2));
}
}managers
function grab(event:MouseEvent):void {}
event.target.startDrag ();
addEventListener (Event.ENTER_FRAME, drawLines);}
function drop(event:MouseEvent):void {}
event.target.stopDrag ();
removeEventListener (Event.ENTER_FRAME, drawLines);}
drawLines();
-
line between two parts of a graph
Hello
I have a problem with my XY graph. Here it is:
-My acquisition is completed on several frequency bands, each band is merged to the curve. It works perfectly as here:
Here, I made the acquisition on 4 strips: 50 k - 100 k. 100 k - 150 k, 150 k-1, 15M and 1, 15M - 11M.
But here's the acquisition even without the 150 k-1, 15 M
You can see the lines in this band. How can I avoid them? (they are also there when I leave a band high frequency to a band of low frequencies, and it's horrible).
Thanks in advance
One pair of NaN will break the line on a XY Chart. You can also trace the parts separately. Only their colors/line types the same kind that they seem to be the same plot. This tip is often used when the color highlighting of the sections of a graph.
-
Line of two-way digital for data asynchronous series using USB-6009?
Hello
I'm rather new to the LabVIEW environment, so I'm a little confused about this.
I have a signal conditioner chip (MAX1452), which I am trying to communicate with via the digital line.
The line is a bidirectional asynchronous, half-duplex serial.
I am currently trying to put up with a USB6009, and basically what I try to do is to write digital data (1 start bit, 8 bits, 1 stop bit, no parity, TTL logic) the smart and read the answer back. Is it possible to reconfigure a digital port on the USB-6009 case between an input and an output?
Or is there a better way for me to implement this?
Thank you.
Hi Gabriel,
It is not possible to simultaneously have a digital line on a product OR be out and a digital input. It is possible using the DAQmx controls, you can create a virtual channel that is a digital output, write data and disable the task. After that, you can try to create a new virtual channel which is a digital input, read the data and disable the task. However, the USB-6009 is a simple device, so it can not support this feature.
Hope this help to get you started,
-
Combine multiple lines into one line (from two tables / result sets)
Hello experts,
I would like to know how to combine multiple lines/records in a single record. Here are the DDL and DML to tables:
create table test_table)
client_name varchar2 (50 char),
login_time timestamp (6).
logout_time timestamp (6).
auto_type varchar2 (10 char)
)
create table root_table)
navigation_time timestamp (6).
client_name varchar2 (50 char),
VARCHAR2 (50 char) nom_du_groupe
)
Insert into test_table
values ("John", TO_TIMESTAMP ('2013-12-05 17:04:01.512 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), TO_TIMESTAMP ('2013-12-05 17:27:31.308 ',' YYYY-MM-DD HH24:MI:SS.) FF'), 'SIMPLE');
Insert into test_table
values ('David', TO_TIMESTAMP ('2013-12-05 06:33:01.308 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), TO_TIMESTAMP ('2013-12-05 06:45:01.112 ',' YYYY-MM-DD HH24:MI:SS.) FF'), 'SIMPLE');
insert into root_table
values (TO_TIMESTAMP ('2013-12-05 17:04:01.512 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'John', "invalid");
insert into root_table
values (TO_TIMESTAMP ('2013-12-05 17:14:22.333 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'John', "GROUP_1");
insert into root_table
values (TO_TIMESTAMP ('2013-12-05 17:27:31.308 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'John', "GROUP_1");
insert into root_table
values (TO_TIMESTAMP ('2013-12-05 06:33:01.308 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), "David", "invalid");
insert into root_table
values (TO_TIMESTAMP ('2013-12-05 06:45:01.112 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'David', 'GROUP_5');
game results test_table
client_name login_time logout_time auto_type John 05/12/2013 5:04:01.512000 PM 05/12/2013 5:27:31.308000 PM SIMPLE David 05/12/2013 6:33:01.308000 AM 05/12/2013 6:45:01.112000 AM SIMPLE root_table result set
navigation_time client_name GroupName 05/12/2013 5:04:01.512000 PM John Not valid 05/12/2013 5:14:22.333000 PM John GROUP_1 05/12/2013 5:27:31.308000 PM John GROUP_1 05/12/2013 6:33:01.308000 AM David Not valid 05/12/2013 6:45:01.112000 AM David GROUP_5 And here is the SQL code I'm writing:
Select a.customer_name, a.login_time, a.logout_time, a.auto_type, Max (b.group_name)
from test_table a, b root_table
where a.customer_name = b.customer_name
Group of a.customer_name, a.login_time, a.logout_time, a.auto_type
As the 'invalid' value is greater than the value "GROUP_1" (based on the number of letter in English), the GroupName is returned as 'invalid '. I want to bring the GroupName based on the navigation_time column in the root_table so that it always returns a valid GroupName. Please help me.
Output current:
Client_name. Login_Time. Logout_Time | Auto_Type | GroupName
--------------------------------------------------------------------------------------------------------------------------------------------
John | 05/12/2013 5:04:01.512000 PM | 05/12/2013 5:27:31.308000 PM | SIMPLE | Not valid
David | 05/12/2013 6:33:01.308000 AM | 05/12/2013 6:45:01.112000 AM | SIMPLE | Not valid
Expected results:
Client_name. Login_Time. Logout_Time | Auto_Type | GroupName
--------------------------------------------------------------------------------------------------------------------------------------------
John | 05/12/2013 5:04:01.512000 PM | 05/12/2013 5:27:31.308000 PM | SIMPLE | GROUP_1
David | 05/12/2013 6:33:01.308000 AM | 05/12/2013 6:45:01.112000 AM | SIMPLE | GROUP_5
Thank you!
Adding INSERT statements, current and planned outputs.
This...
SELECT client_name
login_time,
logout_time,
auto_type,
GroupName
Of
(select a.customer_name,
a.login_time,
a.logout_time,
a.auto_type,
b.group_name,
ROW_NUMBER() over (PARTITION BY a.customer_name, a.login_time, a.logout_time, a.auto_type ORDER BY b.group_name) rn
from test_table a, b root_table
where a.customer_name = b.customer_name)
WHERE rn = 1;
OUTPUT:-
=========
David DECEMBER 5, 13 06.33.01.308000000 AM DECEMBER 5, 13 06.45.01.112000000 AM SIMPLE GROUP_5 John DECEMBER 5, 13 05.04.01.512000000 PM DECEMBER 5, 13 05.27.31.308000000 PM SIMPLE GROUP_1 Thank you
Ann
-
Draw a line between two entities
Hello. I am on the Data Modeler and I use the Visual tool. I want to connect 2 entities with just a line that I can add comments or notes. I can create a relationship of foreign key between 2 entities now, but a primary key is required to do this. Some of my tables do not have primary keys, but I need to put a line between them, with comments or notes saying what relations there are. I know that the software is by default to foreign key relationships via primary keys, but I need to draw my own in there. Any ideas? Thank you!Yes, this is a frequent question on the forum. Once you draw the line, he opens a straight dialogue/property box? On the left, you will see a node called related columns. Click on that. You will see the map with the column name that is generated in the child column field. Click on that column and you'll see that it really is a drop-down selection list, which will show you all the FK "candidate" columns already in the table. One of them will be hopefully the FK column that you want to attach. Pick it up. When you click on apply or OK, the tool will ask you if you want to remove the generated column. Select "Yes".
Note: the drop-down list won't give you the possibility to select the columns having the same exact data type and column PK of the source size. If the column that you want to attach to the is not an exact match, the tool will not let you join her. I had a situation where my PK was a surrogate Number key (9), but the target FK column was Number (6). I had to change the definition of column target in order to define the FK in the model. (So I added a note on the column of this change and why I did it). Unfortunately the model is now synchronized with the Pb of the production. Finally, we must convince the DBA to make the change (unless it's a third-party to which application cases you will have to live with it).
Maybe you are looking for
-
How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config
-
Satellite Pro S300-120 does not start after replacing the CMOS battery
Hello My friends laptop - a S300-120 - was having a few problems. I replaced some parts about this before, including a screen crack with no problems. However, he began to refuse to start saying "out of battery CMOS, Press F1 to enter setup". Of cours
-
IPhoto opens briefly then goes down?
IPhoto open briefly the accident?
-
I do a lot of work in Excel. When I dictate numbers for cell... The PC input text for numbers (for example: two instead of 2). I am sure that there is a command to tell the PC that I'm looking for numbers.
-
I bought a Sansa Fuze a few weeks ago, he began to produce a lot of heat, as soon as I plug it into the system... Now, I updated the firmware... now also it generates heat but not like before is this normal? or should I try contacting the support...