Stored Procedure in MySql 5.0

Hello,
I want to create a stored procedure in Mysql5.0 that want to return a ResultSet(that is a select statemet returining multiple values).How can I write this.Can any body provide a sample code to me.
I want to read that Result set values in my java code.Please provide that code also.
Bipin.V

http://java.sun.com/docs/books/tutorial/jdbc/basics/storedprocedures.html
http://dev.mysql.com/doc/refman/5.0/en/connector-j-usagenotes-basic.html
Or, you can google "jdbc mysql stored procedure".

Similar Messages

  • ABAP proxy to Stored procedure on MySQL sync

    Hi,
    I have one question regarding above scenario. Scenario is like this: user will run sync scenario from some ABAP report, which will connect to PI through ABAP proxy, execute some stored procedure on MySQL server, get data back and update some Z-table in SAP.
    My concern is beacuse of stored procedure and some weird situations. Stor.procedure selects data and immediately after does update on same data. What I happend in my situation. I ran it for the first time, with debugger, ABAP proxy made call and returned data, but because of compiling and debugging, I lost connection and I LOST DATA, because stored procedure made select and update and I don't have this data anymore. Is there any chance to restart this kind of process? I know this will not happend usually, but want to be sure.
    thx
    Edited by: Mario Slopar on Sep 6, 2011 10:58 AM

    I lost connection and I LOST DATA, because stored procedure made select and update and I don't have this data anymore. Is there any chance to restart this kind of process?
    Mario - Try the tcode - SXMB_MONI to check the message that was sent from SAP to PI, as you say you lost the connection in between while debugging the failed message will be listed after you run the above Tcode. You will be able to restart the message from the same screen.
    Also, i presume that the scenario is a synchronous one - SAP<->PI<->SQL, i would suggest you try and decouple the systems involved by making calls Asynchronous(depending on the business needs ofcourse)
    Regards,
    Chen

  • How to retrive data through stored procedure in mysql from remote machine?

    Hello everybody,
    I am having problem in accessing data of mysql through stored procedure. It works fine if I use "jdbc:mysql://localhost:3306/[database name]" instead of "jdbc:mysql://[IP address]:3306/[database name]". The connection is fine for both, but when stored procedure is called the system stops at "stmt.execute();" line in java file while debuging. In case of localhost there is no any problem. The code for connecting procedure is:
    stmt = dbConn.prepareCall("{? = call testing()}"); stmt.registerOutParameter(1, Types.VARCHAR); stmt.execute();
    I have to connect java application running in Windows to the mysql database running in remote machine(RHEL 5).
    I am using "mysql-connector-java-5.1.5-bin.jar", jdk 1.5.0 and remote database Mysql version : 5.0.22.
    There is no exception and application hangs at stmt.execute();
    Can anybody help me with this problem?
    Thank you.

    I got it. its about connection...

  • Stored Procedure in mysql 5.0 failure!

    Hi,
    somebody can help me!
    my database is: mysql-5.0.0a-alpha
    the connection driver is:mysql-connector-java-3.1.1-alpha-bin.jar
    I want to test stored procedure of the new feature in MySQL version 5.0. A
    I can call the stored procedure procPara in Window Console as next show,
    but when I run in procTest.java(shown as next),I get error Messages.
    The error is at the line:
    CallableStatement cs=conn.prepareCall("{call procPara(?)}");
    between checkpoint 1 and checkpoint 2
    your answer is highly appreciated!
    from: Nanfei
    mysql> delimiter //
    mysql>
    mysql> CREATE PROCEDURE procPara(IN name varchar(16))
    -> BEGIN
    -> SELECT note FROM kmdoc where username=name;
    -> END
    -> //
    Query OK, 0 rows affected (0.22 sec)
    mysql> call procPara("John")//
    | note |
    | mysql Manul |
    | Office2000 |
    | PDF |
    | PowerPoint Animation Runtime|
    | Office2003 |
    | Test Title |
    | Say Hello |
    7 rows in set (1.16 sec)
    Query OK, 0 rows affected (1.67 sec)
    mysql>
    procTest.java as following:
    package km;
    import java.sql.*;
    public class procTest{
    public static void main(String[] args)throws Exception {
    String driverConnection="jdbc:mysql://localhost/";
    String catalog="mycatloge";
    String user="myname";
    String psw="mypsw";
    String connDbUserPsw=driverConnection+catalog+"?user="+user+"&password="+psw;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    catch (ClassNotFoundException e) {}
    Connection conn = DriverManager.getConnection(connDbUserPsw);
    System.out.println("checkpoint 1");
    CallableStatement cs=conn.prepareCall("{call procPara(?)}");
    System.out.println("checkpoint 2");
    cs.setString(1,"john");
    java.sql.ResultSet rst=cs.executeQuery();
    while(rst.next()){
    String s=rst.getString(1);
    System.out.println(s);
    Messages:
    checkpoint 1
    java.lang.StringIndexOutOfBoundsException: String index out of range: -9
         at java.lang.String.substring(String.java:1480)
         at com.mysql.jdbc.DatabaseMetaData$TypeDescriptor.<init>(DatabaseMetaData.java:7031)
         at com.mysql.jdbc.DatabaseMetaData.getCallStmtParameterTypes(DatabaseMetaData.java:6615)
         at com.mysql.jdbc.DatabaseMetaData.getProcedureColumns(DatabaseMetaData.java:2637)
         at com.mysql.jdbc.CallableStatement.determineParameterTypes(CallableStatement.java:904)
         at com.mysql.jdbc.CallableStatement.<init>(CallableStatement.java:72)
         at com.mysql.jdbc.Connection.prepareCall(Connection.java:999)
         at com.mysql.jdbc.Connection.prepareCall(Connection.java:978)
         at km.procTest.main(procTest.java:17)
    Exception in thread "main"
    -------------------------------------------------------------------------

    I got the answer from the following Link:
    Use a nightly snapshot of Connector/J 3.1 from
    http://downloads.mysql.com/snapshots.php
    I replace the old connection driver mysql-connector-java-3.1.1-alpha-bin.jar
    with the more new driver mysql-connector-java-3.1-nightly-20040408-bin.jar
    which I believe is not the final one!
    Now ,Stored Procedure with parameter in mysql 5.0 work ok!

  • MySQL/j Stored procedure on Server Failure? is it a bug? workaround?

    Hi all, with the release of SE 6 pending, I thought that this issue should be addressed. As I'm not sure if it's a bug or not, I decided to post in this forum to see if anybody has haad experience with it, has a workaround or any other information that could be usefull.
    The issue:
    MySQL v5.x offers stored procedures. the MySQL/j connector has the ability to call these procedures.
    If you run the stored procedure localy through Java, the stored procedure executes perfectly.
    Once deployed onto a server, and the stored procedures on the same server in a mysql database and "ALL PRIVILAGES" including "EXECUTE ROUTINE" are granted. The stored procedure fails to run.
    The error returned by the mysql/j connector is this :
    "Driver requires declaration of procedure to either contain a 'nbegin' or 'n' to follow argument declaration, or SELECT privilege on mysql.proc to parse column types."
    Here is a link to a MySQL forum about the issue:
    http://forums.mysql.com/read.php?98,67532,67532#msg-67532
    So it appears that it is a java issue.
    Is there a workaround?
    Has anybody successfully been able to use Java with MySQL stored Procedures?? (Pretty sad if we havn't)
    Any help on this topic would be greatly appreciated.
    cheers!

    Yes, I read through the threads, that is Why I cam here after posting back with MySQL trying all the suggeestions, I still can't find the thread from the MySQL/J developer, I did find the one from a MySQL developer though.
    We can't actually change permissions oursevles with our currecnt Servlet host.
    So they changed permissions for us:
    We checked to see if we had permissions, All permissions are granted for the localhost.
    currently not sure how to check them for the '%' assignment
    Our host also tried to drop the procedurees and create them again with the invoker command, but this was also to no avail.
    I was also sure that it was a MySQL issue, but was hoping someobody had another method of a workaround.
    It seems to be something to do with Java wanting the metadata for registering output variables.

  • MySQL Stored Procedure got error in Crystal Reports 9

    Hi,
    I am using MySQL Server 6.0 and mysqlyog and Crystal Reports 9 and ODBC 3.5 and ODBC 5.1. When I create report in CR9 using wizard, I always got an error message "CRW32.exe has encountered problem and needs to be close. bla bla bla..."
    But when I try my odbc connection (DSN) to link in ms access i successfully see the records.
    I also use MS SQL stored procedure in crystal 9 but i got no problem encountered. the only difference is I use OLE DB connection.
    Can any one can tell or explain why an erro message always comes out?

    hi,
    Fields in Stored Procedure does not appear.
    I am now using crystal reports 2008 evaluation copy for 30 days. I am trying to create a stored procedure with parameter, here is my sample Stored Procedure code;
    DELIMITER $$
    DROP PROCEDURE IF EXISTS `puerto`.`SP_FindEmployees`$$
    CREATE DEFINER=`root`@`localhost` PROCEDURE `SP_FindEmployees`(SIDNo VARCHAR(10))
    BEGIN
         SELECT * FROM employees WHERE IDNo=SIDNo;
        END$$
    DELIMITER ;
    when i try to call the procedure in sqlyog here is my sample code;
    CALL sp_findemployees('0000000001')
    it is successfull, but when i try to  connect it with crystal reports 2008 I got no fields in my stored procedure andi got this error message ;
    "Database Connector: 'HY00:[MySQL][ODBC 3.51 Driver][mysqld-5.1.33-community]incorect number of arguments for procedure puerto.sp_findemployees; expected 1, got 0 [Database vendor code: 1318]"
    CR2008 was not asking a parameter values.
    But when I try using stored procedure that i've made in MSSQL, CR2008 asking parameters and succefully created the reports needed.
    My Objective is to make a stored procedure  in MySQL by using select statement and filter it with parameter(s) that I will pass and CR2008 will use this stored procedure.
    i also try the view with this code below and it was successfull in CR2008.
    DELIMITER $$
    DROP VIEW IF EXISTS `puerto`.`ep_employees`$$
    CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ep_employees` AS (SELECT `employees`.`IDNo` AS `IDNo`,`employees`.`FullName` AS `FullName` FROM `employees`)$$
    DELIMITER ;

  • MySQL Stored procedure, INOUT parameter question.

    Hello, I'm trying to run a stored procedure in MySQL 5.0 through the use of Java. Here's what I have:
    Part of my Java code (which is taken from the MySQL Connector/J documentation):
        CallableStatement cStmt = conn.prepareCall("{call demoSp(?, ?)}");                                   
        cStmt.registerOutParameter("inOutParam", Types.INTEGER);
        cStmt.setString(1, "hello");
        cStmt.setInt("inOutParam", 4);
        cStmt.execute();
        System.out.println(cStmt.getInt("inOutParam"));The stored procedure (which has been taken directly from the MySQL Connector/J documentation, PDF format, Page 4)
    CREATE PROCEDURE demoSp(IN inputParam VARCHAR(255), INOUT inOutParam INT)
    BEGIN
        DECLARE z INT;
        SET z = inOutParam + 1;
        SET inOutParam = z;
        SELECT inputParam;
        SELECT CONCAT('zyxw', inputParam);
    ENDI have tested the query in MySQL and the stored procedure does work correctly. The Java code successfuly runs the stored procedure, but the INOUT parameter always returns as 1. This behaviour indicates that when the stored procedure runs, inOutParam is set to 0, regardless of what value it is given in the Java code. Therefore, is the INOUT parameter fully supported? Maybe my Java code is incorrect?
    Thanks in advance for a response.

    I don't see anything obviously wrong with the code. That you are always getting 1 out, suggests the possibility that the input value isn't going in, is defaulting to 0 and 0+ 1 is being returned...
    As a guess, try doing:
    cStmt.setInt(2, 4);instead of:
    cStmt.setInt("inOutParam", 4);It could be that MySQL has some problems with "by name" parameters...
    Alternately, modify the stored procedure to put inOutParam into a table and see what value is being recieved...

  • Fields in Stored Procedure does not appear in Crystal reports 2008.

    hi,
    I am now using crystal reports 2008 evaluation copy for 30 days. I am trying to create a stored procedure with parameter, here is my sample Stored Procedure code;
    DELIMITER $$
    DROP PROCEDURE IF EXISTS `puerto`.`SP_FindEmployees`$$
    CREATE DEFINER=`root`@`localhost` PROCEDURE `SP_FindEmployees`(SIDNo VARCHAR(10))
    BEGIN
         SELECT * FROM employees WHERE IDNo=SIDNo;
        END$$
    DELIMITER ;
    when i try to call the procedure in sqlyog here is my sample code;
    CALL sp_findemployees('0000000001')
    it is successfull, but when i try to  connect it with crystal reports 2008 I got no fields in my stored procedure andi got this error message ;
    "Database Connector: 'HY00:[MySQL][ODBC 3.51 Driver][mysqld-5.1.33-community]incorect number of arguments for procedure puerto.sp_findemployees; expected 1, got 0 [Database vendor code: 1318]"
    CR2008 was not asking a parameter values.
    But when I try using stored procedure that i've made in MSSQL, CR2008 asking parameters and succefully created the reports needed.
    My Objective is to make a stored procedure  in MySQL by using select statement and filter it with parameter(s) that I will pass and CR2008 will use this stored procedure.
    i also try the view with this code below and it was successfull in CR2008.
    DELIMITER $$
    DROP VIEW IF EXISTS `puerto`.`ep_employees`$$
    CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ep_employees` AS (SELECT `employees`.`IDNo` AS `IDNo`,`employees`.`FullName` AS `FullName` FROM `employees`)$$
    DELIMITER ;

    hi,
    Crystal Reports 2008 and MySQL 5 , ODBC driver 3.5 and ODBC driver 5.1.
    I use ODBC connector 3.5 because I got errors in ODBC drivers in 5.1.
    Do you have step by step procedure for creating add command dialog box?
    I try creating the add command dialog box
    here's my sample sql statement i don't know if its correct because no data appearing in my crystal report
    Select * from employees where idno=@IDNo
    in Command Parameter Dialog Box
    Parameter Name = @IDNo
    Prompting Text = @IDNo
    Value Type = String
    DefaultValue = 0
    thanks!

  • How to call stored procedures from java program?

    I have tried to run a program that calls a stored procedure on MySQL
    server version 5.0.17 by using connector/j 5.0, but it always fails on the
    statement: con.preparecall() ,
    have looked on the internet and found out that people can all mysql
    stored procedure all right in their programs, really dont know what's
    wrong with this small peiece of code:
    import java.sql.*;
    public class TestDB {
          // procedure being called is:
         CREATE PROCEDURE `dbsaystorm`.`getsite` ()
         BEGIN
            select  name  from tblsite;
         END
         public static void main(String[] args) {
              try  {
                  //Class.forName("org.gjt.mm.mysql.Driver");
                  Class.forName("com.mysql.jdbc.Driver");
                  Connection con = DriverManager.getConnection("jdbc:mysql://localhost/dbname",
                            "user", "pwd");
           * executing SQL statement here gives perfect correct results:
            // PreparedStatement ps = con.prepareStatement("select name from tblsite");      
            // ResultSet rs =ps.executeQuery();
                  // but in stored procedure way...
                  //it fails here on this prepare call statement:             
                  CallableStatement proc = con.prepareCall("call getsite()");
                  ResultSet rs =proc.executeQuery();                      
                  if (rs == null) return;                                      
                  while (rs.next()){                 
                      System.out.println("site name is: "+ rs.getString(1));                                
                  rs.close();
              } catch (SQLException e) {e.printStackTrace();}
               catch (Exception e) {e.printStackTrace();}         
    }it always gives this exception:
    java.lang.NullPointerException
         at com.mysql.jdbc.StringUtils.indexOfIgnoreCaseRespectQuotes(StringUtils.java:959)
         at com.mysql.jdbc.DatabaseMetaData.getCallStmtParameterTypes(DatabaseMetaData.java:1280)
         at com.mysql.jdbc.DatabaseMetaData.getProcedureColumns(DatabaseMetaData.java:3668)
         at com.mysql.jdbc.CallableStatement.determineParameterTypes(CallableStatement.java:638)
         at com.mysql.jdbc.CallableStatement.<init>(CallableStatement.java:453)
         at com.mysql.jdbc.Connection.parseCallableStatement(Connection.java:4365)
         at com.mysql.jdbc.Connection.prepareCall(Connection.java:4439)
         at com.mysql.jdbc.Connection.prepareCall(Connection.java:4413)
         at saystorm.server.data.database.TestDB.main(TestDB.java:29)
    where have I gone wrong?
    when I commented out the statement that makes the procedure call and call preparedstatement to execute SQL select statement, it gave perfectly correct result.
    it looks like there is no problem with java prog accessing MYSQL server database, but the it seems that it's just java can't call stored procedure stored on the mysql server version 5.
    can it or can't it? if it can, how is that accomplished?

    It is a bug in the driver because it shouldn't be
    returning that exception (null pointer) even if you
    are doing something wrong.
    Are you using the latest version of the driver?
    The stored procedure runs when you run it from the
    gui/command line using a MySQL tool - correct?
    As suggested you should be using the brackets. What
    is the data type of the 'name' field?
    You could try returning another value like one of the
    following
    select 1, name from tblsite;
    select name, 1 from tblsite;
    That might get around the bug
    Additionally try just the following...
    select 'test' from tblsite;yes, the driver used is in connector/j 5.0--the lastest one, and the
    procedure can run correctedly at either command line or GUI mode
    with no problem whatsoever, the returned data type is string type,
    I have not got the chance to test it again with those values you
    suggested, as I have abandoned the laptop I used to write that code
    initately. There have been some other really weird cases happened on
    that computer. I guess that must be something wrong with the JVM
    installed on it, it was upgraded from jre5.0.04 to 06, and to 09.
    something within hte JVM must have been messed up(the only reasonable
    explanation). Because the same code runs correctly on my new laptop,
    using the same environment: jvm 5.0_09, mysql 5.0.18, connector/J 5.0.
    that old laptop really was a nightmare.

  • Confusion when writing Stored Procedure...

    Iam having confusion when writing Stored Procedure.Plz solve my confusion.
    Can we write Stored Procedure using JDBC like the Code I have given.If So,what is the wrong i had made in the Code?.Iam using MySQL 5.0.27.
    If it can't be done with the code that i had written, Iam telling Some steps that I have learned,suggest, whether it is correct or not?
    Step 1:
    Create Stored Procedure in database separately.We can't create stored procedure in JDBC(Am I Right?).
    Step 2:
    After writing Stored procedure call the procedure inside JDBC using preparecall method of callable statement.
    Code:
    try
                  Class.forName(dbDriver).newInstance();
                  out.println("<b>MySQL Driver Loaded Sucessfully </b>"+"<br>");
                  connection=DriverManager.getConnection ("jdbc:mysql://localhost:3306/exportproc? user=root&password=sachin");
                  statement = connection.createStatement();
                  out.println("<b>Statement Created</b>");
                  sql="create procedure exportproc(in name varchar(15),in password varchar(12))"
                          +"begin"
                          +"insert into exportproc values(name,password)"
                          +"end";
                  out.println("<b>Query assigned to sql</b>"+"<br>");
                  statement.executeUpdate("create database exportproc");
                  statement.executeUpdate("use exportproc");
                  statement.executeUpdate(sql);
                  out.println("Table Created");
              }Message was edited by:
    sachindev

    hi,
    create a stored procedure in mysql , i dont know mysql , any way we take your code
    create procedure exportproc(in name varchar(15),in password varchar(12))
                          begin
                          insert into exportproc values(name,password)
                          endprocedure created ....
    now just call in java by using CallableStatement
    ex:
           CallableStatement cs = con.prepareCall("{call exportproc(?,?)}");
             cs.setString (1, "vijay");
             cs.setString (2, "123");
             cs.executeUpdate ();

  • Stored procedure : how to call SP in sender JDBC adapter for mysql

    HI friends ,
    we have JDBC---->XI--
    >SAP  scenario. For some business requirement, we have to call STORED PROCEDURE , please let me know how to call  SP in sender JDBC adapter for mysql .
    Thanks
    mojib

    Hi Mojib,
    Please create a sample stored procedure like this which contains select statement and in communication channel give
    wite stored procedure name only to sql query statment and in update statement write <test>.
    I am executing this stored procedure successfully.
    Create Proc GetResultX As
    Begin
    Select * From TESTX
    End
    Execute statement for stored procedure is :
    Exec GetResultX
    Regards
    Laxmi Bhushan Jha
    Rewards point if found usful
    I have given same answer to one of the same  thread

  • MySQL Stored Procedures

    Title and summary says it all...
    I've read over and over that stored procedures are more
    robust, but I've yet to use one (Knowingly).
    So, if I have query such as
    insert into table (Name,Description) values ('Taco','Do not
    eat at Ma Bell');
    How would that be created/used?
    Also I was reading there are stored procedures for getting
    the next ID available, I forget its name offhand, but perhaps a
    procedure that does
    get next ID
    update that ID (with insert info above)?
    select * (return that record)

    Stored procs are great for performing complex database tasks
    but for simple table inserts, updates, etc. you won't see much
    benefit in using them over just straight SQL queries with cfquery.
    Check out the online reference for mySQL stored procs
    here.
    cheers

  • Calling mysql stored procedure having insert sql commands within cftransaction is not getting rolled back

    Hi,
    cftransaction is working perfectly when all the insert
    updates are called by cfqquery.
    But when there is a mysql stored procedure call with in
    cftrnsaction and that mysql stored procedure is having many inserts
    and updates, cftransaction is not able to roll back insert/updates
    happened in stored procedure.
    I am using InnoDB tables/database of mysql.
    Did anybody faced a similar problem and is it a coldfusion
    bug or mysql bug.
    We checked with Java and java is able to roll back the
    transaction, but coldfusion cftransaction is failing.
    Please help.
    Regards,
    Saikumar

    Mark,
    I believe the syntax of your formatted search is not right. I guess you are trying to get the U_Width from Item Master and the other values from the current form.
    SELECT @Width = T0.U_WTH FROM [dbo].[OITM] T0.WHERE T0.ItemCode = $[$38.1.0]
    EXEC TBC_CHOP @Width, $[$38.U_LINETYPE.0], $[$38.U_LI.0], $[$38.U_LN.0],
    $[$38.U_LD.0], $[$38.U_HI.0], $[$38.U_HN.0], $[$38.U_HD.0], $[$38.U_QTYORD.Number]
    If you see I have added a third parameter which is the Type to the formatted seach field selection $[$Item.Column.Type]
    I have made then all 0 but you may change it as per the col type.  This Type should be 0 for Char type columns, Number for numeric columns and Date for Date type cols
    Suda

  • PHP Mysql Stored Procedure

    Hi,
    In my PHP application I used mysqli_connect to connect with mysql.  I want to use two stored procedure in a single page.  But it shows warning.  Bu when  I closed and reopened the connection after the first excution of the stored procedure it runs fine.  I didn't understand the exaxt issue.  Plase give me a solution as soon as possible... 
    Thanks
    Anju

    Hi,
    In my PHP application I used mysqli_connect to connect with mysql.  I want to use two stored procedure in a single page.  But it shows warning.  Bu when  I closed and reopened the connection after the first excution of the stored procedure it runs fine.  I didn't understand the exaxt issue.  Plase give me a solution as soon as possible... 
    Thanks
    Anju

  • PHP / MySQL / Stored Procedures

    I'm trying to call a stored procedure on my site which uses
    php / mySQL 5.x. I've got the procedure working in the database so
    that when I call it from within a MySQL client it executes and
    returns the results I need, but Dreamweaver doesn't even "see" the
    stored procedure.
    By this I mean If I use the recordset wizard, go to advanced,
    select the relevant database and then expand the Stored Procedures
    tab none are listed.
    Searching through Adobe help, it lists nothing about Stored
    Procedures with PHP/MySQL apart from that MySQL doesn't support
    them. The later versions of MySQL do support Stored Procedures, but
    has anyone got them working with Dreamweaver? If so how!??!!
    Any help much appreciated.

    Talk Rowing wrote:
    > Well thanks for setting me straight - even if you are
    the bearer of bad news.
    > I've filed a feature request as you suggested. Can't
    believe Adobe don't offer
    > this.
    Stored procedures have been available in MySQL only since
    version 5.0,
    which was released in October 2005, one month after
    Dreamweaver 8. It
    would have been nice to include support for stored procedures
    in CS3,
    but no new functionality was added to any of the server-side
    features of
    Dreamweaver. I have my fingers crossed for next time.
    > On another note I don't suppose you could point me in
    the direction of some
    > tutorials on how to create a recordset from a stored
    procedure manually? I've
    > tried google and not come across a lot...
    My server doesn't support MySQL 5.0, so apart from the
    information in
    the MySQL documentation, I don't know a great deal about
    using stored
    procedures:
    http://dev.mysql.com/doc/refman/5.0/en/stored-procedures.html
    One of the problems is that many hosting companies are still
    using older
    versions of MySQL (a lot still offer only 3.23). I'm
    currently in the
    process of moving to a new server with support for both PHP 5
    and MySQL
    5.0. Once I've had time to experiment, I hope to know a lot
    more.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

Maybe you are looking for

  • Also unable to run project.. missing main.html?

    Screenshot of error dialog attached. Any suggestions? All I did was open an AI file and ran project. Thanks, Mark

  • Application Error when launching Bridge (CS3)

    I get this message when trying to launch Bridge - either from within an application, or by itself: 'The exception unknown software exceptoin (0x000000d) occurred in the application at location 0x006866a3. Click on OK to terminate the program Click on

  • Service Entry Deletion after MIRO

    Dear All, After MIRO of service entry sheet, we have option to delete the service entry sheet, although we cannot change the data. A meesage appears when we revoked the entry sheet as "An invoice already exists for this entry sheet" - message 11388.

  • Cannot import DCs, necessary for Web Dynpro use in CAF GP

    Hello! I'm a newbie in SAP technologies. I want to develop a Web Dynpro (WD) application, which will be used as UI in CAF GP. The problem is that I cannot import necessary DCs for this! As I understand, the following ones are necessary to develop a W

  • Apple Mail won't connect to GoDaddy pop server

    Hi all, I have entered all the correct server information to connect to GoDaddy's pop server but Mail won't connect. I can connect to the smtp server without a problem. The same settings work perfectly in Entourage, so my information is correct. Has