|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Hello friends,
I'm a new comer to this forum. I'm eager to know how to create VIEW/Stored Procedure/Triggers in MySQL. I'm needing some clues. |
|
#2
|
|||
|
|||
|
By the way,
I couldn't set default field as a YEAR value. CREATE TABLE `fg3` ( `PRE` enum('We','Wd','Wm') NOT NULL default 'We', `EYEAR` int(11) NOT NULL default 'YEAR(CURDATE())', `ID` bigint(20) NOT NULL auto_increment, PRIMARY KEY (`PRE`,`EYEAR`,`ID`) ) TYPE=MyISAM; The function which is in a form of bold text above always return 0 whenever I insert a new line. |
|
#3
|
|||
|
|||
|
From my understanding you can no create triggers in the current mySQL. MySQL 5.0 is suppose to support this functionality, but it is currently unstable.
I may be wrong, but jus thought I'd give you my opinion. Ulysses |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > How to create view/sp/trigger in MySQL? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|