Db2 Row Value Expression Function In R