Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 16-11-2006, 02:13 PM   #1 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Mysql Help


How to use foreign key and store procedure in mysql? pls post the information with example.

Regards,
Dheeraj
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-11-2006, 02:50 PM   #2 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default Re: Mysql Help

Quote:
Originally Posted by Desi-Tek.com
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.
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 16-11-2006, 03:06 PM   #3 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: Mysql Help

actually i know how to create view, sp, trigger in ms sql, is it same in mysql? or does it has any syntax difference?
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 16-11-2006, 03:36 PM   #4 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default Re: Mysql Help

cool, if you already know SQL, then just head over to official MySQL documentation.

read this and try to make sense of it.
http://dev.mysql.com/doc/refman/5.1/...eign-keys.html
http://dev.mysql.com/doc/refman/5.1/en/views.html
http://dev.mysql.com/doc/refman/5.1/...rocedures.html
http://dev.mysql.com/doc/refman/5.1/en/triggers.html

there is almost no syntax differences between various databases.
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 27-11-2006, 12:24 PM   #5 (permalink)
In The Zone
 
bukaida's Avatar
 
Join Date: Jul 2005
Location: KOLKATA
Posts: 267
Thumbs up Re: Mysql Help

Quote:
How to use foreign key and store procedure in mysql? pls post the information with example.
check this out.
http://www.informit.com/articles/art...&seqNum=8&rl=1
__________________
Desktop: P-IV 2.4GHz, 512MB DDR, 865GBF Mother Board,
G-Force 5200FX, 17" Samsung flat, WinXp with SP2,
Kaspersky Internet Security 2009.
Laptop:LENOVO 3000 C100 D7 lappy with 2GB DDR2.
bukaida is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by icebags
- by Sujeet

Advertisement




All times are GMT +5.5. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2