title: when we use procedure and when we use function?
body: <p>Which two tasks should be created as functions instead of as procedures? (Choose two.)</p>
  
  <p>A.reference host or bind variables in a PL7SQL block of code.</p>
  
  <p>B.tasks that compute and return multiple values to the calling environment.</p>
  
  <p>C.tasks that compute a value that must be returned to the calling environment.</p>
  
  <p>D.tasks performed in SQL that increase data independence by processing complex data analysis      within the Oracle server, rather than by retrieving the data into an application.</p>
  
  <p>whats the answer </p>
  
  <p>and can we reference host or bind variable in function or procedure ? </p>