( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0009415736{main}( ).../index.php:0
20.10574720896Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.515614255384Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.515814255328Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.515814255704Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.515814255704Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.516014255800Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.516514295720require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.521714593408GKTemplate->__construct( ).../component.php:31
100.528814762784GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.529614807640require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0009415736{main}( ).../index.php:0
20.10574720896Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.515614255384Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.515814255328Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.515814255704Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.515814255704Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.516014255800Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.516514295720require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.521714593408GKTemplate->__construct( ).../component.php:31
100.532014935584GKTemplateMenu->getMenuType( ).../gk.framework.php:85
mysql add foreign key 外键
Logo
Print this page

mysql add foreign key 外键

{codecitation class="brush:sql" width="500px"}
-- -------------------------------------------------------------------------------------------
ALTER TALBE tbl_choix_examen
ADD PRIMARY KEY (choix_examen_id);
-- -------------------------------------------------------------------------------------------
ALTER TABLE `tbl_choix_examen` ADD PRIMARY KEY ( `choix_examen_id` )
-- -------------------------------------------------------------------------------------------
ALTER TABLE `ilci`.`tbl_choix_examen` ADD PRIMARY KEY ( `choix_examen_id` )
ALTER TABLE `tbl_choix_examen` CHANGE `choix_examen_id` `choix_examen_id` INT( 10 ) NOT NULL AUTO_INCREMENT
-- -------------------------------------------------------------------------------------------
ALTER `ilci`.`tbl_choix_examen`
ADD [CONSTRAINT [symbol]] FOREIGN KEY
[index_name] (index_col_name, ...)
REFERENCES tbl_name (index_col_name,...)
[ON DELETE reference_option]
[ON UPDATE reference_option]
-- -------------------------------------------------------------------------------------------
alter table `ilci`.`tbl_choix_examen` add foreign key(choix_examen_stu_id) references tbl_student(stu_id);
-- -------------------------------------------------------------------------------------------
alter table `ilci`.`tbl_choix_examen` add foreign key(choix_examen_emploi_id) references tbl_emploi_du_temps(empl_id);
-- -------------------------------------------------------------------------------------------
alter table `ilci`.`tbl_choix_examen_temps` add foreign key(emploi_du_temps_id) references tbl_emploi_du_temps(empl_id);
-- -------------------------------------------------------------------------------------------
{/codecitation}

 

Last modified onSunday, 14 October 2012 04:07

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0006415872{main}( ).../index.php:0
20.11234721064Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11234721064Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.287212449296Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.288112473704Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.289112529032Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.289412557856require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.300012993264K2ControllerItem->execute( ).../k2.php:64
90.300012993264K2ControllerItem->display( ).../BaseController.php:710
100.312613718464K2ControllerItem->display( ).../item.php:78
110.312613718464K2ControllerItem->display( ).../controller.php:19
120.317014114832Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.318214135200K2ViewItem->display( ).../ViewController.php:102
140.387217045056K2ViewItem->display( ).../view.html.php:742
150.387317045056K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.389817225256include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 3399 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0006415872{main}( ).../index.php:0
20.11234721064Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11234721064Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.287212449296Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.288112473704Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.289112529032Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.289412557856require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.300012993264K2ControllerItem->execute( ).../k2.php:64
90.300012993264K2ControllerItem->display( ).../BaseController.php:710
100.312613718464K2ControllerItem->display( ).../item.php:78
110.312613718464K2ControllerItem->display( ).../controller.php:19
120.317014114832Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.318214135200K2ViewItem->display( ).../ViewController.php:102
140.387217045056K2ViewItem->display( ).../view.html.php:742
150.387317045056K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.389817225256include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.