DIGIT-ARC read-only archive · snapshot: July 23, 2026

Mysql Help

5 posts · originally from https://geek.digit.in/community/threads/mysql-help.41365/

D
Desi-Tek.com Original post #1
Nov 16, 2006 at 2:13 PM
How to use foreign key and store procedure in mysql? pls post the information with example.

Regards,
Dheeraj
GNUrag
GNUrag #2
Nov 16, 2006 at 2:50 PM
Desi-Tek.com said:
How to use foreign key and store procedure in mysql? pls post the information with example.

Regards,
Dheeraj
First make sure that you are using MySQL 5.x series which now has support for Stored Procedures, Views and Triggers. For foreign keys make sure that your tables are using InnoDB engine.

it wont be wise of us to create examples for you and post here. Please do your homework first, let us know where you are stuck, and then ask.
D
Nov 16, 2006 at 3:06 PM
actually i know how to create view, sp, trigger in ms sql, is it same in mysql? or does it has any syntax difference?
GNUrag
GNUrag #4
Nov 16, 2006 at 3:36 PM
cool, if you already know SQL, then just head over to official MySQL documentation.

read this and try to make sense of it.
*dev.mysql.com/doc/refman/5.1/en/example-foreign-keys.html
*dev.mysql.com/doc/refman/5.1/en/views.html
*dev.mysql.com/doc/refman/5.1/en/stored-procedures.html
*dev.mysql.com/doc/refman/5.1/en/triggers.html

there is almost no syntax differences between various databases.
bukaida
bukaida #5
Nov 27, 2006 at 12:24 PM
How to use foreign key and store procedure in mysql? pls post the information with example.

check this out.
*www.informit.com/articles/article.asp?p=30875&seqNum=8&rl=1