What is the difference between Type and Like?

TYPE, you assign datatype directly to the data object while declaring.
LIKE,you assign the datatype of another object to the declaring data object. The datatype is referenced indirectly.

Type is a keyword used to refer to a data type whereas Like is a keyword used to copy the existing properties of already existing data object.

 Mail this post

Technorati Tags: ,

Like this post? Subscribe to my RSS feed and get loads more!