Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

View

Status
Not open for further replies.

emuye

MIS
Aug 23, 2004
41
US
Hi,
I created a view inorder to for me to generate a report using Cr 8.5 and oracle 9i.However, i do not get any data when i run my report.i do not know if i miss something when i create a view.if someone has an idea why i am getting a blank report...pls share ur priceless knowledge.

CREATE OR REPLACE VIEW USEDITEM AS
SELECT DISTINCT Q.IPLINENO,I.IDESCR , P.CPROJNUM
FROM LETPROP L, PROJECT R, PROPPROJ J, PROPOSAL P, PROPITEM Q, BIDLET B, BIDTABS C, ITEMLIST I

WHERE L.LETTING = B.LETTING
AND B.LETTING = C.LETTING
AND P.CSPECYR = I.ISPECYR
AND Q.PRPITEM = I.ITEM
AND L.LCONTID = P.CONTID
AND Q.CONTID = P.CONTID
AND C.VENDOR = L.AVENDOR
AND C.CALL = L.CALL
AND C.LINEFLAG = Q.LINEFLAG
AND C.IPLINENO = Q.IPLINENO
AND B.DATELET = '21-may-04'
AND R.PCN = J.PCN
AND L.LETSTAT = 'A'
GROUP BY I.IDESCR,P.CPROJNUM, Q.IPLINENO,I.ITEM, P.CPROJNUM
ORDER BY P.CPROJNUM
;

view created.
 
Hi,
Can you get data from that view directly in SqlPlus?

[profile]
 
yes, i just used the query i created and got data directly from the database using sqlplus.It is a little bit outrageorus why i could not get data from cr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top