Beginners' guide to stored procedures with MySQL?

后端 未结 2 1668
逝去的感伤
逝去的感伤 2020-12-29 06:56

I\'ve Googled but come up with nothing that I can get my head around.

Are the performance gains from using stored procedures significant?

Would I still want

相关标签:
2条回答
  • 2020-12-29 07:21

    Consider this a gentle introduction to stored procedures in MySQL: http://www.mysqltutorial.org/mysql-stored-procedure-tutorial.aspx

    You sure can create/manage stored procedures in phpMyAdmin.

    0 讨论(0)
  • 2020-12-29 07:25

    I have created one procedure but the time of call this procedure what parameter I can pass to get the output

    CREATE DEFINER=`root`@`localhost` PROCEDURE `A`(
    
    In user_id bigint,
    Out address varchar(250)
    
    )
    BEGIN
    
    select Address into address
    from UserDetail_table
    where User_ID = user_id; 
    
    END
    
    0 讨论(0)
提交回复
热议问题