Author: codertutor_3o6d0o

SQLPlus commands

The most important commands available in SQL * Plus are: ACCEPT – used to read a variable input DEF (DEFINE) – allow you to declare a variable DESC (DESCRIBE) – lists the attributes of objects EDIT – opens an editor EXIT...

SQLPlus Substitution variables

Substitution variables are used to store temporary values. For variables of type character or date is mandatory quoting. Substitution variables can occur in a condition WHERE, in the ORDER BY clause, in the name of a table. Syntax SELECT &column FROM...

Ruby tutorial

Ruby is a dynamic, object-oriented programming language known for its simplicity and elegance. Developed by Yukihiro Matsumoto in the mid-1990s, Ruby was designed to be both enjoyable for programmers and highly productive. It combines elements from several programming languages, including Perl,...

Ruby Exceptions

Ruby Exceptions The Ruby exceptions syntax and example. Exceptions syntax begin --Ruby code rescue --Ruby code end Exceptions example begin puts 'Start block' raise 'Raise Error!' puts 'End block' rescue puts 'Exception Handling with rescue' begin puts 'Block in exception' end...

Ruby Blocks

Ruby Blocks The Ruby blocks syntax and example. Blocks syntax block_name{ -- Ruby code } --or do -- Ruby code end Blocks example def test_block puts "Method A" yield puts "Method B" yield 123 puts "Method C" yield "abc" end test_block...