Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

create table with error

--
-- Constraints for table `comment`
--
ALTER TABLE `comment`
  ADD CONSTRAINT `c_fk_comment_product_id` FOREIGN KEY (`product_id`) REFERENCES `product` (`id`) ON DELETE SET NULL ON UPDATE SET NULL;
Source by localhost #
 
PREVIOUS NEXT
Tagged: #create #table #error
ADD COMMENT
Topic
Name
9+1 =