Jump to content

Recommended Posts

Posted

I'm not sure if this has been mentioned in another forum/thread but I haven't been able to find it.

 

Since version 5.0.1. MySQL supports views among other things (as for this writting we have 5.0.45-community), the statement can be as simple as:

 

>CREATE VIEW myTCHuser_myDB.viewname AS SELECT * FROM myTable;

 

The CREATE VIEW statement creates a new view, or replaces an existing one if the OR REPLACE clause is given; if you want the full syntax you can check here:

 

 

Also since version 2.11.0 (August 22, 2007) phpMyAdmin supports creating VIEWS from query results (you can find more on the project page: http://www.phpmyadmin.net/home_page/index.php) so far I have only been able to create it via the SQL script tab. If someone nows how to use the GUI for creating one please post it here :)

 

Hope you find this short post useful.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...