Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 7th, 2004, 10:51 PM
shoja shoja is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 shoja User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
end-of-file on communication channel

I use oracle Release 9.0.1.0.1
and i have a view like this:

create or replace view test as
(
select
requests.rqs_no ,
requests.address ,
requests.area_cd ,
unwanted_off.reason,
unwanted_off.status,
case
when unwanted_off.rqs_no is null then 0
when (status in(5,6) ) then 1
when (status =4 and ref_rqs_no in (select rqs_no from unwanted_off where status=6 )) then 1
when (status =3 and ref_rqs_no in (select rqs_no from wanted_off)) then 1
else 0
end chk
FROM
groups,
req_rsn_opr,
reasons,
requests,
unwanted_off
where
requests.off_type=1
and requests.grp_code=groups.groups_code(+)
and requests.main_rsn_opr=req_rsn_opr.rsn_opr_code(+)
and requests.rqs_no=unwanted_off.rqs_no(+)
and unwanted_off.main_reason=reasons.reason_code(+)
);


now :
sql> select rqs_no from test where area_cd=1 and chk=:Parameter;
it works fine but:
sql> select rqs_no,chk from test where area_cd=1 and chk=arameter ;
it show me this error:
ERROR at line 1:
ORA-03113: end-of-file on communication channel

i have to send a parameter for chk because i use formbuilder.
i want to know what is wrong with this view.

best regards.

Reply With Quote
  #2  
Old July 8th, 2004, 09:22 AM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,307 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 28 m 57 sec
Reputation Power: 48
This has nothing to do with your SQL.

There is some type of TWO_TASK failure (SQLNet).
Get your DBA to look for a trace

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > end-of-file on communication channel


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway