Hello.
I have a table called TABLE_CFD
Fields are
CFD_CODE
CFD_TYPE
CFD_NAME
The tables holds strings which are grouped into types, each type has 10 strings
and rows are as follows
CODE TYPE NAME
CF00 CUSTOMER Anything
CF01 CUSTOMER Blah
CF02 CUSTOMER Test
CF03 CUSTOMER Howdy
and so on upto CF09
SF00 SUPPLIER Something
SF01 SUPPLIER Owt
SF02 SUPPLIER Somestring
SF03 SUPPLIER thingy
again upto SF09
i want a stored procedure which will accept the type as an input paramter and will return 10 output parameters which contain the values in name field for the given type
im very new to stored procedures, in fact this is pretty much the first i have attempted beyond returning single rows
could someone nudge me in the right direction
I have a table called TABLE_CFD
Fields are
CFD_CODE
CFD_TYPE
CFD_NAME
The tables holds strings which are grouped into types, each type has 10 strings
and rows are as follows
CODE TYPE NAME
CF00 CUSTOMER Anything
CF01 CUSTOMER Blah
CF02 CUSTOMER Test
CF03 CUSTOMER Howdy
and so on upto CF09
SF00 SUPPLIER Something
SF01 SUPPLIER Owt
SF02 SUPPLIER Somestring
SF03 SUPPLIER thingy
again upto SF09
i want a stored procedure which will accept the type as an input paramter and will return 10 output parameters which contain the values in name field for the given type
im very new to stored procedures, in fact this is pretty much the first i have attempted beyond returning single rows
could someone nudge me in the right direction