Jump to content

Question

Posted (edited)

how can create table on SQL about email.

 

like this


CREATE TABLE IF NOT EXISTS `E-Inquiry` (
`ID` bigint(20) unsigned NOT NULL auto_increment,
`Sender_ID` int(11) unsigned NOT NULL default '0',
`Sender_Name` varchar(30) NOT NULL default '',
`Title` text,
`Message` text,
`Status` tinyint(2) NOT NULL default '0',
`Inquiry_Time` datetime NOT NULL default '0000-00-00 00:00:00',
`Reply` text,
`Reply_Time` datetime NOT NULL default '0000-00-00 00:00:00',
`Reply_Name` varchar(30) NOT NULL default '',
PRIMARY KEY  (`ID`)
) ENGINE=MyISAM;

 

i dunno how to create a table for 

E-Inquiry

 

 

2ezsr9g.jpg

Edited by youtube

9 answers to this question

Recommended Posts

Posted

E-inquiry table i guess is made only by Emistry. so if E-inquiry table is already there then i conclude that there should be no problem on emistry script.

Posted

suyothegreat i change the"E-Inquiry" to "SQL" there no happen

suyothegreat i change the"E-Inquiry" to "SQL"  same error

 

my SQL table is correct or have wrong?

No No No No .. delete the Existing "E-Inquiry" table then Execute this SQL Code

CREATE TABLE IF NOT EXISTS `E-Inquiry` (

`ID` bigint(20) unsigned NOT NULL auto_increment,

`Sender_ID` int(11) unsigned NOT NULL default '0',

`Sender_Name` varchar(30) NOT NULL default '',

`Title` text,

`Message` text,

`Status` tinyint(2) NOT NULL default '0',

`Inquiry_Time` datetime NOT NULL default '0000-00-00 00:00:00',

`Reply` text,

`Reply_Time` datetime NOT NULL default '0000-00-00 00:00:00',

`Reply_Name` varchar(30) NOT NULL default '',

PRIMARY KEY  (`ID`)

) ENGINE=MyISAM;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...