Forum     

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

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 15-12-2008, 11:33 AM   #1 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default How to run pl/sql code in mysql


hi,
i am using WAMP Server,I am using mysql query browser for create,updating database,
once i ve studied pl/sql programming in oracle,,
is it possible to run such code in Mysql Database?
sganesh is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 15-12-2008, 01:14 PM   #2 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: How to run pl/sql code in mysql

You cannot use PL in MySQL query browser. PL, actually just parses thhe variables and creates the final SQL statement. You have to send this SQL to the MySQL enegine. What you can do is use PL to output the SQL and then copy-paste the SQL in the MySQL browser.
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 15-12-2008, 08:31 PM   #3 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default Re: How to run pl/sql code in mysql

Quote:
Originally Posted by rohan_shenoy View Post
You cannot use PL in MySQL query browser. PL, actually just parses thhe variables and creates the final SQL statement. You have to send this SQL to the MySQL enegine. What you can do is use PL to output the SQL and then copy-paste the SQL in the MySQL browser.
Hmmm,But how to use pl code to output sql,?
could it be still more clear for me to understand?
sganesh is offline  
Old 15-12-2008, 08:38 PM   #4 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: How to run pl/sql code in mysql

You cannot use WAMP server for perl. You need XAMPP.
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 15-12-2008, 08:43 PM   #5 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default Re: How to run pl/sql code in mysql

No i am not asking about PERL.
i need info about PL/SQL(SQL PLUS) code that we use in oracle!
,The same can be implemented in Mysql or not?
Didn't u get?
sganesh is offline  
Old 15-12-2008, 09:13 PM   #6 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: How to run pl/sql code in mysql

Something of the sort is present in MySQL 5.0 and upwards (N/A in 4.x). They are known as "Stored Procedures and Triggers" in MySQL. For starters, check this article: http://dev.mysql.com/tech-resources/...rocedures.html
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 15-12-2008, 09:18 PM   #7 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default Re: How to run pl/sql code in mysql

ok fien,i ve tried procedures and function in MySQL,
But i Guess pl/sql programming found in oracle ,is really missing in MySQL
sganesh is offline  
Old 15-12-2008, 09:20 PM   #8 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: How to run pl/sql code in mysql

Yeah, the full extent of it is not found in MySQL.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 16-12-2008, 09:18 AM   #9 (permalink)
CAFEBABE
 
chandru.in's Avatar
 
Join Date: Mar 2008
Location: Bangalore
Posts: 474
Default Re: How to run pl/sql code in mysql

pl/sql cannot be found verbatim on any DB server other than Oracle's. PostgreSQL has a similar language called pl/pgSQL. You can have a look at it.
__________________
Chandru

http://tuxychandru.blogspot.com
chandru.in is offline  
Old 16-12-2008, 09:22 AM   #10 (permalink)
Broken In
 
sganesh's Avatar
 
Join Date: Nov 2007
Location: Chennai
Posts: 113
Default Re: How to run pl/sql code in mysql

Thanks to above all!!!
sganesh 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
help in php and mysql Sridhar_Rao Programming 3 27-06-2008 12:14 AM
lock code..not security code magneticme200 Mobiles and Tablets 3 29-12-2007 07:15 PM
php-mysql source code mamann Software Q&A 2 23-07-2007 01:20 AM
Mysql Help Desi-Tek.com Open Source 4 27-11-2006 12:24 PM
SQL & MySQL Trinity QnA (read only) 2 05-07-2005 07:58 PM

 
Latest Threads
- by gforz
- by soumya
- by Sujeet
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:03 PM.


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

Search Engine Optimization by vBSEO 3.3.2