THEN && END – in shell and pl/sql

Most block constructs need an “End …” since they don’t use “{” for blocks.
Most conditionals need a “Then” , since they don’t use “{” for blocks.

Applicable to most stored procedure and shell scripts.

1) First, let’s internalize these simple, approximate rules. You will get ahead, since many people don’t even notice these simple patterns.

2) When we have the resources and the need, we can list the exceptions, but don’t need to memorize 100% or even 80%. Just memorize some.

3) When we have more resources and need, we try to memorize more.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s