13

When I do "Show create view viewName" it does the display the correctly formatted text.

I will like to know if there is any way to format it exactly like "show create table tblName"?

shantanuo
  • 31,689
  • 78
  • 245
  • 403

1 Answers1

16

No.

MySQL stores the view definition in canonical form, so that's what it gives you when you run show create view:

http://dev.mysql.com/doc/refman/5.1/en/show-create-view.html

Ike Walker
  • 64,401
  • 14
  • 110
  • 109