Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8094113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:41:28+00:00 2026-06-05T20:41:28+00:00

Can I create tables using Stored Procedures? I am using MySQL. I had searched

  • 0

Can I create tables using Stored Procedures?

I am using MySQL. I had searched the web for instructions on how to create a table using stored procedure, but I didn’t find any results, I just found that you can create temporary tables. Is there any problem if I create tables using stored procedures?

Actually I want to check whether a table exists or not, then I have to create it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:41:30+00:00Added an answer on June 5, 2026 at 8:41 pm

    You can create tables using procedures in mysql.

    delimiter |
    CREATE PROCEDURE SP_CREATE_TABLE_TEST ()
       BEGIN
          CREATE TABLE TEST 
          (
            TestID int(11) default NULL,
            TestName varchar(100) default NULL
          ) 
          ENGINE=InnoDB DEFAULT CHARSET=utf8;
       END;
    
    |
    

    Reference link.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can we create a temporary table from the stored procedure results dynamically? I do
Can i create a table by using only a UITableView without a UITableViewController? Is
Using JavaScript, how do I create an HTML table that can "accept" numeric matrix
I have many tables with identical schemas but different names. Can I create a
I'm trying to learn how to use MySQL stored procedures. MySQL accepted my procedure:
I've got a mySql stored procedure that looks like this-- delimiter | create procedure
Compare the following stored procedures: CREATE PROCEDURE testProc1 AS SELECT * INTO #temp FROM
I want to implode a query result using , inside my mysql stored procedure.
I need to create database (+schema, data, procedures, roles) using procedure/function - when I
I am using MySQL 5.0. I have table with following structure and data. CREATE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.