dbTalk Databases Forums  

create table from describe table?

comp.databases.mysql comp.databases.mysql


Discuss create table from describe table? in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
SpreadTooThin
 
Posts: n/a

Default create table from describe table? - 02-01-2012 , 12:47 PM






Can a table be created using data from the DESCRIBE TABLE command?

Reply With Quote
  #2  
Old   
J.O. Aho
 
Posts: n/a

Default Re: create table from describe table? - 02-01-2012 , 02:12 PM






SpreadTooThin wrote:
Quote:
Can a table be created using data from the DESCRIBE TABLE command?

You can create table with the information which is near what the original
table was.

Other methods to know more about the table:
SHOW CREATE TABLE
SHOW INDEX IN



--

//Aho

Reply With Quote
  #3  
Old   
Denis McMahon
 
Posts: n/a

Default Re: create table from describe table? - 02-01-2012 , 04:32 PM



On Wed, 01 Feb 2012 10:47:49 -0800, SpreadTooThin wrote:

Quote:
Can a table be created using data from the DESCRIBE TABLE command?
Everything that you can do is described in the relevant manual.

eg:

http://dev.mysql.com/doc/refman/5.1/en/index.html

which, when you find the one relevant to your specific variant of sql,
will be much more reliable than asking here.

Rgds

Denis McMahon

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.