lib/plsql/subprogram_call.rb
## Next methods adds declaration in DECLARE block
Next methods adds declaration in DECLARE block
Next methods adds declaration in DECLARE block
def add_variable_declaration(name, type, options = {})
      variable_name = options[:output_variable] ? 'o_' : 'l_'
      variable_name << name.to_s << ' ' << type.to_s.upcase
      variable_name << ' := '<< options[:value].to_s if options[:value]
      variable_name << ";\n"
      @declare_sql << variable_name
    end
def add_variable_declaration ( name , type , options = { } ) variable_name = options [ :output_variable ] ? 'o_' : 'l_' variable_name << name . to_s << ' ' << type . to_s . upcase variable_name << ' := ' << options [ :value ] . to_s if options [ :value ] variable_name << ";\n" @declare_sql << variable_name end
Next methods adds declaration in DECLARE block
Next methods adds declaration in DECLARE block
name
<not_specific>
type
<not_specific>
options
<not_specific>