What is the difference between show and display, explain with ex?

Showing Answers 1 - 2 of 2 Answers

Both show & display command use for Debuging purposes. In case of show command we can use variable literal & string.But incase of display command we can only use string & literal.

  Was this answer useful?  Yes

The main difference between Show and Display commands is-
with display command we can display only one variable (or) literal (or) column name at a time.

But with show command we can display any number variables (or) literals (or) columns.


Eg: show $Name #RollNo $DOB
      Display $Name
      Display #RollNo
      Display $DOB
      

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions