Beginners' guide to stored procedures with MySQL?

后端 未结 2 1667
逝去的感伤
逝去的感伤 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条回答
  •  萌比男神i
    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
    

提交回复
热议问题