Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create View

Status
Not open for further replies.

Crundy

Programmer
Jul 20, 2001
305
GB

I must be going mad! How come I can't create a view?
Code:
mysql> create view testview as select * from userdetails;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'view testview as select * from userdetails' at line 1

C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
 
Oh OK. Looks like Views are only supported in version 5 and up.

C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top