I dont know that part of the coding.....
do you know how to do this coding?
Main Topics
Browse All TopicsI want to retrive the value of UPD_DATE from DQ_MON_TBL_REF_SUBAREA table.
I want to use this command "cmdDB.Parameters("p_dq_mo
I have declare "p_dq_mon_sub_area OUT DQ_MON_TBL_REF_SUBAREA.UPD
Is it possiable or how I can achive that
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
This part I'm connecting to Oracle and passing the value to the Package in oracle.
db = DatabaseFactory.CreateData
cmdDB = db.GetStoredProcCommand(sC
db.AddOutParameter(cmdDB, "p_dq_mon_sub_area", DbType.String, 16)
db.AddOutParameter(cmdDB, "p_status_n", DbType.Int64, 9)
ds = db.ExecuteDataSet(cmdDB)
Th
*********************
O
*************************
PROCEDURE PR_DQ_DISTINCT_SUBJECTAREA
p_dq_mon_sub_area OUT DQ_MON_TBL_REF_SUBAREA.UPD
cur_out OUT SYS_REFCURSOR,
p_status_n OUT NUMBER
)
IS
lv_sql_main VARCHAR(4000) := NULL;
BEGIN
p_status_n := cSUCCESS_RTN;
IF cur_out%ISOPEN THEN
CLOSE cur_out;
END IF;
lv_sql_main := 'SELECT * From DQ_MON_TBL_REF_SUBAREA Order By DQ_SUBJECT_AREA_C DESC';
OPEN cur_out FOR lv_sql_main;
EXCEPTION
WHEN OTHERS
THEN
IF cur_out%ISOPEN THEN
CLOSE cur_out;
END IF;
p_status_n := cFAIL_RTN;
END PR_DQ_DISTINCT_SUBJECTAREA
*****
After
I think you are using the wrong method of the DAL. This line
ds = db.ExecuteDataSet(cmdDB)
is returning a dataset. Either try to explore the dataset(for example, by adding a datagrid to the form and setting the dataset as the datasource to the grid) or see what other methods are available in the DAL. I am not sure what the stored procedure in oracle is returning.
Business Accounts
Answer for Membership
by: CodeCruiserPosted on 2009-10-19 at 01:18:07ID: 25603337
It is possible. Do you get any errors?