Jump to content

newbie here


Greaser9780

Recommended Posts

I want to create a table with the following:
[color=blue]CREATE TABLE bhd_singles (
clanid int(25) NOT NULL auto_increment,
clan_name varchar(25) NOT NULL default '',
last_battle NOT NULL default '0000-00-00 00:00:00',
wins
losses
streak
rank [/color]
I am not sure what commands to put in to define data on the last four rows. Can somebody help me?
Link to comment
Share on other sites

[quote author=Greaser9780 link=topic=106053.msg423855#msg423855 date=1156844477]
...
wins
losses
streak
rank

I am not sure what commands to put in to define data on the last four rows. Can somebody help me?
[/quote]

[quote author=wildteen88 link=topic=106053.msg423860#msg423860 date=1156845459]
Use INT if those last four rows hold a number.
[/quote]

So, do they hold a number? If so, of what size? If not, what is going to go in each of those fields.

First you help us, then we help you.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.