MySQL Forums
Forum List  »  Stored Procedures

Re: Does Table Exist
Posted by: Peter Brawley
Date: April 29, 2020 03:25PM

set @sql = concat( "show tables like '", p_tableName, "'" );
prepare stmt from @sql;
execute stmt;
drop prepare stmt;

Options: ReplyQuote


Subject
Views
Written By
Posted
862
April 29, 2020 02:15PM
Re: Does Table Exist
471
April 29, 2020 03:25PM
427
May 04, 2020 02:19AM
456
April 30, 2020 11:16AM
445
May 04, 2020 02:21AM
552
June 11, 2020 11:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.