Hi Can we create & use cursors in DB2 User defined Functions .?if so, pl do mail me the link examples if possibleThanksThirumaranDB2 & UDB email list listserv db2-l LazyDBA home page