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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

procedure to return muliple rows?

Status
Not open for further replies.

slok

Programmer
Jul 2, 1999
108
SG
I have a table as follows and need a procedure to return,
given a start date, end date, a count of all offences group by demerit code

==
Table stu_offences
OFF_DATETIME NOT NULL DATE
DEMERIT_CODE NOT NULL NUMBER(2)
MOD_DATETIME NOT NULL DATE
MOD_NAME NOT NULL CHAR(30)
stu_NO NOT NULL CHAR(10)
===


How can an procedure return multiple rows since there will
be different offences commited throughout the period?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top