Application Developer Question:

Can we give DML statements inside a function?