Sequence next value into a VIEW
Hi all,
I am getting this error when i try to include sequence value in aview....
please suggest where i am doing wrong or if there is any work around...
CODE
CREATE OR REPLACE FORCE VIEW XREF_DATA_PRODUCT_V_2
XREF_COLUMN_NAME,
VALUE,
ROWID_1
AS
SELECT 'SEBL_01', A.sebl_01, ROWID
FROM XREF_GOMS_STG A
UNION
SELECT CASE
WHEN C.SOMS_01 = 'Engine Parts' THEN 'GOMS_01'
ELSE 'SOMS_01'
END,
c.goms_01,
ROWID
FROM XREF_GOMS_STG C
union
select 'COMMON',odipocsrc.xref_data_sequence.nextval,rowid
from ODIPOCSRC.XREF_GOMS_STG B
ORDER BY 3;
Thanks
Hi,
Why do you want to use a sequnce there? What are you trying to do? Would numbers generated by the analytic ROW_NUMBER function serve your purpose?
Assuming you really need a sequence, you can hide the sequence in a user-defined function, and use the function in the view, like this:
CREATE OR REPLACE FUNCTION seq_x_nextval
RETURN PLS_INTEGER
IS
return_val PLS_INTEGER;
BEGIN
SELECT seq_x.NEXTVAL
INTO return_val
FROM dual;
RETURN return_val;
END seq_x_nextval;
CREATE OR REPLACE VIEW view_x
AS
SELECT danme
, seq_x_nextval AS seq_val
FROM scott.dept;
SELECT *
FROM view_x;Output, when running the query above:
DNAME SEQ_VAL
ACCOUNTING 52
RESEARCH 53
SALES 54
OPERATIONS 55Then, running the same query again:
DNAME SEQ_VAL
ACCOUNTING 56
RESEARCH 57
SALES 58
OPERATIONS 59Edited by: Frank Kulash on Feb 15, 2010 7:42 PM
Similar Messages
-
Best way to get sequence.next value in pl-sql/triggers
Hi,
I want to know the best practice about to get the sequence.next value in pl-sql procedures / triggers from the below two methods.
1. SELECT PRINT_BATCH_SEQ.NextVal INTO PSQNO FROM DUAL;
INSERT INTO TABLE R1TMP VALUES (PSQNO, '12-MAR-06');
2. INSERT INTO TABLE R1TMP VALUES (PRINT_BATCH_SEQ.NextVal, '12-MAR-06');
From the above two statements which one is best with respect to performance / parsing /memory usage.
Kindly give your suggession please.
Thanks,
Riaz.Hi,
Thanks for your immediate reply.
My thought was
1. when we do like this, at the time of insert the cost of the operation will be more and this will lead some performance issue as bulk insert.
2. If we get it from dual and send the value as bind variable, then we can avoid the parsing of the sql.
Please correct me if i am wrong.
thanks,
riaz. -
I need to populate a db field with a value from a sequence I have in my database. When I drag the database function "sequence-next-val" into the middle swim lane and open it the "Add" and "Remove" buttons are ghosted. The labels for "sequence" and "datasource" seem to be ghosted as well. How do I get my sequence in this? I would assume that the "add" button would do what I need if I could get to it.
Thanks,
MarkIf someone else tries sequences in 10.1.2.0.2 here is how I finally got it to work.
Part of my issues are being new and part to BPEL. What I had to do was enter the sequence name in quotes (as expected). Enter the datasource as "jdbc:oracle:thin:mydb/mydbpwd@localhost:1521:ORCL" (again as expected) and then save, deploy and shut down and restart the development PM Server.
It looks like it must be shut down and restarted each time a new sequence is added for it to take effect. This makes it hard to know why the sequence doesn't work when it seems like it is all good. It was odd that the xsl test seemed to work but deployment didn't. But once you restart the PM server it goes. Hope this helps.
Mark -
Fetching next value of a sequence into a variable(TextField)
Hello All,
I have another little issue that i hope someone can resolve.
I need to grab the "nextval" from a sequence, insert it into a text field or variable then read this variable to create a record in two individual tables ( one is for a PK other is the relating FK in another table )
eg:
fetch sequence.nextval into :P1_item1
then
insert into mytable values (:P1_item1, ........ )
insert into myothertable values (somekey, :P1_item1, ........ )
I assume this needs to be in a process somewhere in the application but do not know where or the code to achieve it.
Any help will be much appreciated
Thanks
RobertThanks for your reply. Unfortunately i could not find my answer on the link you sent me.
Any other ideas ? or do u know the code i could use to make this work ? -
Invalid object name for Next value from sequence using sqlserver 2012
Select SequenceName.nextVal into lint from dual ;
Invalid object name error message is coming when using sqlserver 2012
Please helpHello,
Create the sequence and a stored procedure which returns the sequence as follows:
CREATE SEQUENCE mySequence_tinyint AS tinyint
GO
CREATE PROCEDURE Central_CreateSequence
@NextID BIGINT OUTPUT
AS
BEGIN
SET NOCOUNT ON;
SELECT @NextID = NEXT VALUE FOR mySequence_tinyint;
END
GO
In PowerBuilder, run this script:
long ll = -10
DECLARE proc PROCEDURE FOR Central_CreateSequence @NextID = :ll OUTPUT;
EXECUTE proc;
FETCH proc INTO :ll;
CLOSE proc;
IF SQLCA.SQLcode <> 0 THEN
MessageBox("error", SQLCA.sqlerrtext)
END IF
MessageBox("", ll)
I know there can be other ways to return the next value of the sequence...
HTH
Jacob -
Next value of the sequence is lower than the already used value
Hello All
Recently we have done a test migration of a Database from 10.2.0.4 to 11.2.0.2.
The source database was open during the test migration.
We used Datapump utility for this, first we have created the dump files using the EXPDP and then imported to the target DB using IMPDP.
Now we are facing issues with the SEQUENCE as under mentioned
SELECT Max(RegNr) FROM W23AS.werkProstats;
2058292SELECT W23AS.werkRegNr.NEXTVAL FROM Dual;
2058285As you can see the next value of the sequence is lower than the already used value.
Can anybody point out the reason for this.
NOTE : This particular sequence is defined with NOCACHE option.
CREATE SEQUENCE W23AS.werkRegNr START WITH 2000000 NOCACHE;
Thanks InAdvance
Cheers TapasHi Keith
Please find the details as mentioned below
i) You did not migrate the sequences
We migrated the Sequences too.
ii) you migrated the entire schema but these sequences already existed and therefore were not migrated. (ignore error when object exists ).
These sequences were not existing before. -
Add values into view controller 's attribut
Dear All!
I would like store some data in the view controller.
It is a value attribut and has the type java.util.List.
1. How can I add now many values into this attribut
2. How can I get this values again ?
Regards
sasHi Sas,
The list is similar to any value node.
You can add elements like this.
for(int i=0;i<SIZE;i++)
IPrivate<viewname>.I<node>Element ele = wdContext.create<node>Element();
ele.set<attribute>(" "+i);
wdContext.node<node>().addElement(ele);
You can get elements like this:
for(int i=0;i<SIZE;i++)
IPrivate<viewname>.I<node>Element ele = wdContext.node<node>().get<node>().ElementAt(i);
ele.get<attribute>();
wdContext.node<node>().addElement(ele);
regards,
Siva -
Inserting the column values into table from view through procedure!!!
below is my example code
Create or replace procedure test_proc
is
cursor test_cur is
select a.col1 , b.col2, c.col3, d.col4, e.col5
from tableA a, tableB b, tableC c, tableD d, tableE e;
test_cur_rec test_cur%rowtype;
Begin
insert into test_stg ( col1, col2, col3, col4, col5, col6, col7)
Values ( test_cur_rec. col1,
test_cur_rec .col2,
test_cur_rec .col3,
test_cur_rec .col4,
test_cur_rec .col5
-- col6, col7 );
create view test2 (
select f.col6, g.col7 from tableF f,tableG g);
I m trying to insert values into the table test_stg but for col6 and col7 i need to get the data from the view test2.
In simple word, all i need to do is get the 2 columns data from view and insert into a table through procedure. The above code is the example which looks very much like my actual code.
How do i accomplish this task ??well there is joining condition for a, b,c ,d, e tables, i have not mentioned here. The where condition has nothing to do with the other two columns of the view.
There is no relation ship between the these tables the view. The col 6 and 7 i m inserting from view is sysdate timestamp and the job_id number.
so its pretty straight forward insertion into the table from view columns. These two columns has just one row with id number and timestamp. so i need to insert these data into the the table when i run a procedure.
Thank you so much!!! -
How to copy the value of default view textbox into another view textbox
I create one form library and customizing in infopath 2010. on this default view one textbox is placed. in which user will enter his name.
I create another view. in which i also place second textbox. I want when user put his name in default view textbox and save the form . then his name also copy into another view textbox .
Kindly let me know how to do this ?Hi John,
You can achieve in infopath. Steps are below:
Default Text Box (Infopath Field A)
Mirror Text Box (Infopath Field B)
In Mirror Text Box, the default value would be the Field A. The default value you specified by right click on Mirror Text Box --> Properties...
Thanks, -
Can you see a timeline of a sequence you've loaded into the viewer?
Greetings Finalcutters,
OK, another query about how to access an Avid feature in Final Cut --
I find it very useful to edit from one sequence onto another. But I want to be able to do this in a frame-accurate manner. Best would be to have the sequence timeline available when it's loaded in the viewer.
Right now, to edit only part of a sequence onto another, I must load the sequence into the canvas, make in and out points on the timeline, then load it into the viewer, bring up new sequence, and make the edit.
But what if I then want to tweak my in and out points? Groan.
Any ideas, or is this just another thing to tell Apple about in their feedback page?I just started getting this message too. Just started the last couple of days. It doesn't give a time that it was used. All it says that "appleid" was used to sign in to facetime on Macbook. My Macbook is not named "Macbook." It also doesn't correlate to times when computer is being used.
-
Sql Developer 1.5.5 bug with large sequence start values.
We have a small table in our sql server 2005 schema (~700) rows. Its primary key is a bigint. We randomly generate ids for this table (don't ask). We have ids for this table which are larger than 2147483647. (java.lang.Integer.MAX_VALUE). I'm using a Windows 10g instance as the repository:
SQL> select * from v$version
2 ;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Capturing this model works fine.
Converting this model works fine.
When the converted model is "Generated", Sql Developer stops generating the script before the worksheet window is opened with the generated sql. If run from sqldeveloper/bin, this exception is output to the console:
java.lang.Exception: java.util.NoSuchElementException
at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
at oracle.dbtools.migration.workbench.core.GenerateInitiator.launch(GenerateInitiator.java:42)
at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:149)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
at java.awt.Component.processMouseEvent(Component.java:6134)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5899)
at java.awt.Container.processEvent(Container.java:2023)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
at java.awt.Container.dispatchEventImpl(Container.java:2067)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.util.NoSuchElementException
at oracle.dbtools.metadata.persistence.PersistableObjectIterator.next(PersistableObjectIterator.java:131)
at oracle.dbtools.migration.generate.GenerateWorker.generateSequences(GenerateWorker.java:862)
at oracle.dbtools.migration.generate.GenerateWorker.generateIndividualSchema(GenerateWorker.java:456)
at oracle.dbtools.migration.generate.GenerateWorker.generateSchema(GenerateWorker.java:365)
at oracle.dbtools.migration.generate.GenerateWorker.runGenerate(GenerateWorker.java:220)
at oracle.dbtools.migration.workbench.core.ui.GenerateRunner.doWork(GenerateRunner.java:71)
at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.run(AbstractMigrationProgressRunnable.java:161)
at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(MigrationProgressBar.java:569)
at java.lang.Thread.run(Thread.java:619)
A problem row can be viewed by issuing this query against the repository:
select * from md_sequences where seq_start > 2147483647;
We have one row returned. The oracle.dbtools.metadata.persistence.MdSequence class uses a java.lang.Integer value to store the start value for the sequence. The value stored in the repository's MD_SEQUENCE table overflows the Integer type.
Updating the SEQ_START column in the MD_SEQUENCE table fixed our problem. (Well, I can now generate the schema. I may have other problems with the sequence being off).
I've written this post to save someone else the day it took me to diagnose this problem with Sql Developer 1.5.5. At the very least Sql Developer should inform the user that it could not generate the script because of the large sequence start value. It basically swallows any error and terminates script generation without any type of feedback.Update: I was able to recreate the problem!
1. Create a new table (I used TEST).
2. Mark first column af primary key.
3. Save the table.
Notice the name of the primary key index created: (TEST_PK in my case)
4. Edit the table.
5. Under constraints change the name of the primary key constraint.
6. Save the table.
Notice that the index still has its original name.
7. Edit the table.
8. Change something.
9. Attempt to save changes (Fails).
Conclusion:
Either SQL Developer should be aware of indexes with different name than a constraint,
or when SQL Developer changes the name of a constraint with an index, both the constraint and the index should be renamed. -
Passing SQL Server identity attributes values into adf entity objects
Hi all.
I'm using Jdeveloper 10g for developing an ADF Swing application based on MS SQL Server DB.
Does anyone know if it is possible to pass SQL Server identity attributes values into the correspondent attrributes of adf entity objects, like we do with Oracle DB Sequence.
The problem is that i should somhow implement cascade deleting of detail view objects, so i should use the composition association. But since i cant fill the primary key attribute with appropriate value (that is actually a ms sql server db sequence value) i always get
the following exception: oracle.jbo.InvalidOwnerException: JBO-25030 as i try to create a new pair of master/detail objects.
Thanks in advance.
Alex.The approach is good. but i still dont understand how i can address the sql server db sequence (identity field) programmatically...
The code offered
SequenceImpl sequence = new SequenceImpl("PRODUCTS_SEQ",getDBTransaction());
setProdId(sequence.getSequenceNumber());
generates something like this:
select deq_name.nextval from dual
but this syntax works for oracle only... and not for sql server...
Edited by: Timin on Mar 26, 2009 6:34 AM
Edited by: Timin on Mar 26, 2009 10:25 AM -
Html check box pass more than one value into bean
Hi all'
I have group of check box in html , I need to pass more than one value
into bean an ddisplay in jsp
what do i do wrong
private Vector select =new Vector();
private String mybox =null;
public download() {
again();
/* Accessor Methods */
private void addmybox(String name){
select.addElement(name);}
public void setMybox(String name) {
mybox = name;
public String[] getMybox() {
String[] s = new String[select.size()];
select.copyInto(s);
return s;
in my htmli have <%
String[] mybox= format.getMybox();
for (int i=0; i<Mybox.length; i++) {
<%= format.getMybox%>
%>
i got error at <%= format.getMybox[i]%>Hi ram,
thank you, I don't have ideal in my mide .
in my jsp I have
<td> <input type=checkbox name=mybox value=<%= link.getNewNum()%>></td>in my servlet I have something like
String[] checked = request.getParameterValues("mybox");
try {
conn = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433","A#$","RE@89");
conn.setCatalog("sequences");
stmt = conn.createStatement();
for(int i=0; i<checked.length; i++){
String select=checked;
String Sql=" select NewNum, Name, Length, Segment, Sequence";
Sql+=" from Sec04";
Sql+=" where NewNum='"+select+"'";
Sql+=" union";
Sql+=" select NewNum, Name, Length, Segment, Sequence";
Sql+=" from MySec";
Sql+=" where NewNum='"+select+"'";
Sql+=" union";
Sql+=" select NewNum, Name, Length, Segment, Sequence";
Sql+=" from Sec03";
Sql+=" where NewNum='"+select+"'";
Sql+=" union";
Sql+=" select NewNum, Name, Length, Segment, Sequence";
Sql+=" from Sec02";
Sql+=" where NewNum='"+select+"'";
Sql+=" union";
Sql+=" select NewNum, Name, Length, Segment, Sequence";
Sql+=" from Sec01";
Sql+=" where NewNum='"+select+"'";
rs = stmt.executeQuery (Sql);
while(rs.next()) {
String Name = rs.getString("Name");
String Segment =rs.getString("Segment");
String Length = rs.getString("Length");
String Sequence = storeSequenceData(rs.getString("Sequence"));
String SContent = Name + " ," Segment ", "+ Length + "\n" +Sequence ;
now I want
String SContent = Name + " ," +Segment + ", "+ Length + "\n" +Sequence +"\n" + Name+"Segment+","+length+"+"\n" +Name......untill the end
it sees like I need to look st on shipp car. is that right??
Thank you !! -
How can we get the values from the view?
Hi All,
my scenario is i have two fields in my view .one is parameter.and another on is select-options.how can i get the user entered values into my selection screen.?
for the select options i get the values into field-symbol.for parameter i get the value using get_attribute.
can i use like this in select statement.
WHERE SERVICE_ID = ZSD_DD_AUFNRS
AND CRE_DT IN <FS_DATE>.
Regards,
Ravi.Hi Sravan,
when i am using the below code to generate self defined functions i m getting a error .
*Generate an object for self defined functions
DATA: lo_self_functions TYPE REF TO if_salv_wd_function_settings,
*Generate an object for button 'Confirm'
lr_button TYPE REF TO cl_salv_wd_fe_button,
lo_self_function TYPE REF TO cl_salv_wd_function,
l_text type string.
*Set Self-defined functions
*'Confirm' Button
lo_self_functions ?= l_value..
lo_self_function = lo_self_functions->create_function( 'CONFIRM' ).
CREATE OBJECT lr_button.
CLEAR l_text.
l_text = 'Confirm'.
lr_button->set_text( l_text ).
lr_button->set_image_source( '' ).
lr_button->set_image_first( 'X' ).
lo_self_function->set_editor( lr_button ).
Error when processing your request
What has happened?
The URL http://cgslsvr3.cgsl.com:8020/sap/bc/webdynpro/sap/zsdr_cash_work_list/ was not called due to an error.
Note
The following error text was processed in the system CGD : WebDynpro Exception: IDs Can Only Contain Characters of Syntactical Character Set
The error occurred on the application server cgslsvr3_CGD_20 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE of program CX_WD_GENERAL=================CP
Method: CONSTRUCTOR of program CL_WDR_VIEW_ELEMENT===========CP
Method: CONSTRUCTOR of program CL_WD_TOOLBAR_BUTTON==========CP
Method: NEW_TOOLBAR_BUTTON of program CL_WD_TOOLBAR_BUTTON==========CP
Method: IF_SALV_WD_COMP_TABLE_UI~CREATE_TOOLBAR_ITEM of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~CREATE_TOOLBAR_ITEMS of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_TOOLBAR_ITEMS of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_TOOLBAR of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CGD in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server cgslsvr3_CGD_20 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server cgslsvr3_CGD_20 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 110 -u: CT-0024 -l: E -s: CGD -i: cgslsvr3_CGD_20 -w: 0 -d: 20080414 -t: 105835 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
How can i resolve it?
Regards,
Ravi -
How to get distinct values from this view
I had created a view to get to display from 2 tables.But i got duplicate values in this.
Please give any solution for this view code.
CREATE OR REPLACE VIEW TRADEQUOTEHISTORY_VIEW
(BOND_ID, BOND_NAME, COMM_PER_SHARE, QUOTE_DATE_TIME, TYPE,
STOCK_PRICE, BID_PRICE, ASK_PRICE, ACTUAL_HEDGE, SOURCE_ORDER_ID,
SOURCE_ORDER_NAME, NOTES, SIDE_ID, BIDNUKED, ASKNUKED,
REALSTOCK, LAST_UPDATED_DATE)
AS
SELECT bi.bond_id, bi.bond_name,
( (bs.comm_per_share * bi.cv_cnvs_ratio * bs.hedge)
/ (bi.px_pos_mult_factor)
nq.quote_date_time, bi.market_sector_des, nq.stock_price,
nq.bid_price, nq.ask_price, nq.actual_hedge, so.source_order_id,
so.source_order_name, nq.notes, bs.side_id,
( bs.bid_price
+ ( (csv.lastprice - bs.stock_price)
* bi.cv_cnvs_ratio
* bs.hedge
/ bi.px_pos_mult_factor
( bs.ask_price
+ ( (csv.lastprice - bs.stock_price)
* bi.cv_cnvs_ratio
* bs.hedge
/ bi.px_pos_mult_factor
csv.lastprice,
bs.last_updated_date
FROM mtsc_bondinfo bi,
mtsc_basissheet bs,
mtsc_newquoteorder nq,
mtsc_sourceorder so,
mtsc_stock_v csv
WHERE bi.bond_id(+) = bs.bond_id
AND bs.bond_id(+) = nq.bond_id
AND csv.bondid = bs.bond_id
AND so.source_order_id(+) = nq.source_order_id
UNION
SELECT bi.bond_id, bi.bond_name,
( (bs.comm_per_share * bi.cv_cnvs_ratio * bs.hedge)
/ (bi.px_pos_mult_factor)
nq.quote_date_time, bi.market_sector_des, bs.stock_price,
bs.bid_price, bs.ask_price, bs.hedge, so.source_order_id,
so.source_order_name, nq.notes, bs.side_id,
( bs.bid_price
+ ( (csv.lastprice - bs.stock_price)
* bi.cv_cnvs_ratio
* bs.hedge
/ bi.px_pos_mult_factor
( bs.ask_price
+ ( (csv.lastprice - bs.stock_price)
* bi.cv_cnvs_ratio
* bs.hedge
/ bi.px_pos_mult_factor
),csv.lastprice,
bs.last_updated_date
FROM mtsc_bondinfo bi,
mtsc_basissheet bs,
mtsc_newquoteorder nq,
mtsc_sourceorder so,
mtsc_stock_v csv
WHERE bi.bond_id(+) = bs.bond_id
AND bs.bond_id(+) = nq.bond_id
AND csv.bondid = bs.bond_id
AND so.source_order_id(+) = nq.source_order_id
ORDER BY last_updated_date DESC
result is coming like this
BOND_ID BOND_NAME ((BS.COMM_PER_SHARE*BI.CV_CNVS_RATIO*BS.HEDGE)/(BI.PX_POS_MULT_FACTOR)) QUOTE_DATE_TIME MARKET_SECTOR_DES STOCK_PRICE BID_PRICE ASK_PRICE ACTUAL_HEDGE SOURCE_ORDER_ID SOURCE_ORDER_NAME NOTES SIDE_ID (BS.BID_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR)) (BS.ASK_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR)) LASTPRICE LAST_UPDATED_DATE
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 300 300 25 41 STREET MARKET AN 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 300 300 25 41 STREET MARKET fgdf dfgf 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 300 300 25 41 STREET MARKET HGH HHGHF 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 300 300 25 41 STREET MARKET New Notes 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 9 200 200 25 41 STREET MARKET AN 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 9 200 200 25 41 STREET MARKET fgdf dfgf 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 9 200 200 25 41 STREET MARKET HGH HHGHF 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 9 200 200 25 41 STREET MARKET New Notes 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 200 200 25 41 STREET MARKET AN 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 200 200 25 41 STREET MARKET fgdf dfgf 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 200 200 25 41 STREET MARKET HGH HHGHF 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 200 200 25 41 STREET MARKET New Notes 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 89.025 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
Regards
Kishore BBOND_ID BOND_NAME ((BS.COMM_PER_SHARE*BI.CV_CNVS_RATIO*BS.HEDGE)/(BI.PX_POS_MULT_FACTOR)) QUOTE_DATE_TIME MARKET_SECTOR_DES STOCK_PRICE BID_PRICE ASK_PRICE ACTUAL_HEDGE SOURCE_ORDER_ID SOURCE_ORDER_NAME NOTES SIDE_ID (BS.BID_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR)) (BS.ASK_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR)) LASTPRICE LAST_UPDATED_DATE
109 018490AL6 Corp 18871.341129 Corp 27 139 166 87 110 120752.494 120779.494 905 01/08/2007 12:55:26 PM
109 018490AL6 Corp 18871.341129 Corp null null null null 110 120752.494 120779.494 905 01/08/2007 12:55:26 PM
I am not inserting values into newquoteorder,but i got values from that table ask,bid,stock values, it shows that values as null
Maybe you are looking for
-
Garage Band '11: pop-up error forces me to power off-on. Message states that info will be sent to Apple. I never hear back from anyone about this. Second prob: Fan sometimes comes on, runs high speed, then slowly runs down and stops running.
-
Populating a calculated value on a Wizard generated Tabular Form
Hi I have created a wizard generated tabular form, the form works great by itself. However I also have a requirement to populate the column "Updated By" which will contain the :APP_USER and this needs to be done whenever any value is changed on the u
-
Move backed up music into new itunes
I backed up my itunes to an external hard drive when computer crashed, but cant figure out how to move into itunes all at once. I can only do it one by one.
-
Why can't we have simple pro rata billing?
I've been a BT Broadband customer for ten years, and I am sick of these sales packages with their prefabricated bandwidth allowances and telephone or TV options. It seems to me that the BT Broadband sales strategists have a philosophy more appropriat
-
Need a Jbutton object with TWO text labels??
Hi I have a major problem I need to create a JButton object that takes two string as argument MyButtonClass(String a, String b); I do not have a clue how to do this... the reason I need this is that I have ttf(true type font) file each character refe