Yes u r right, but anyways i got it sorted myself. Thanks alot for ur responses
here is the query which i wrote
SELECT a.col1 p_id,
b.t2col p_dtl_id, b.item_id, SUM(b.t2QTY) p_qty, d.item_id, SUM(d.t4colqty) gr_qty
FROM t1 A,
t2 B,
t3 C,
t4 D
WHERE B.COL1 = A.COL1...
Hi Mufasa
Very true i have not provided sample data... Anyways i am providing it now, coz the query does not serve the purpose i am looking for...
Lets say i have four tables namely
T1,T2,T3 AND T4
And their structure is
T1
===
COL1 NUMBER(10), PK
COL2 VARCHAR2(500)
T2
===
T2COL...
Hi Friends
I am trying to achieve a very common business rule, i.e.:
I have following tables:
1) PO_HDR - PO_ID PK
2) PO_DTL - PO_ID FK
3) GRN_HDR - PO_ID FK FROM PO_HDR
4) GRN_DTL - GRN_ID FK
My requirement is to list only those PO's where the po_dtl qty is less than the grn_dtl qty.
Means...
Hi hoinz
the application is in PowerBuilder 9.0, Powerbuilder provides run time packager of its own, which says that it includes the drivers required to connect to oracle, but when i try with those runtimes i get error as OCI.DLL or Ora0803.dll not found, this problem is resolved after...
Hi Friends
This might not be the appropriate forum to post this question but still as its related to oracle 10g database i m posting it here.
I have installed Oracle's free 10g Express edition database on a Machine with Windows XP professional loaded. The database and the related application...
Hello friends,
I need to write a query to compare the quotations recived from various vendors item wise.
Which means that different vendors may give different prices for the same item... i want to find out the least price for each item and assign a rank to it....
I have gone through oracle's...
Hello Friends,
I have a very common requirement but a very difficult problem (at least for me)...
In my application i have a form for generating Requests for Quotations (RFQ's). In the detail part the user will select the Items.
I want to filter ONLY THOSE VENDORS who are supplying ALL THE...
i am trying to create a report which gives the number of complaints recieved lastmonth, thismonth, thisyear, till today per category. the query is:
select distinct category,
decode(reg_date,SUBSTR(ADD_MONTHS(sysdate,-1),4,6),cnt,0) LastMonth,
decode(reg_date,SUBSTR(sysdate,4,6),cnt,0)...
Hi
You can download a trial version of Access to Oracle 1.3 from
http://www.convert-in.com/acc2ora.htm
the demo version transfers only 5 records but if its useful for u, u can buy the license for it, not sure about the cost.
HTH
ARif
HI
FOLLOWING EXAMPLE SHOWS CONNECTING TO ORACLE FROM VB USING ODBC AND OLEDB BOTH
Set cn = New ADODB.Connection
========== ODBC =================
ConString = "Driver={Microsoft ODBC for Oracle};Server=HQTEST;Uid=dgpadc;Pwd=dgpa;"
cn.open constring
======== OLEDB ======================...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.