Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

MySQL Crash Cource Please

date posted 13th July 2001 17:43

I would really appreciate if anybody can help me with this:

I am using phpMyAdmin, since it is easy to use and I have installed and used
it before.

For some reason I can not execute the 'all.sql' script that came with the
banner script, so doing it manualy seems the only option. The server is
remotely hosted Cobalt RAQ4.

Here is one of the tables I have to create and if someone can show me how I
will try and do the rest. It's about time I learn how to do this.


CREATE TABLE adclicks (
bannerID mediumint(9) DEFAULT '0' NOT NULL,
t_stamp timestamp(14),
host varchar(255) NOT NULL,
KEY clientID (bannerID)
);


From this I take it that I create a table called 'adclicks' and (?????)
fields.

Now I'm faced with the options in phpMyAdmin. I added some values as I think
they should be (but I bet it's wrong)

Field: Type: Length/Set Attributes Null
Default Extra Primary Index Unique
bannerID MEDIUMINT 9 not null
t_stamp TIMESTAMP 14
host VARCHAR 255 not
null
clientID
????????????????????????????????????????????????????????????????????????????
???????

What does 'KEY' indicate?

What happens to the empty values?
Some of them (in this case 'clientID' will have a value in 'Type'. What do I
set that to if it is not specified?

Any help in this would really be appreciated.

Cheers

Willie Jordaan



Messages by Day
July 31st 2001
July 30th 2001
July 29th 2001
July 28th 2001
July 27th 2001
July 26th 2001
July 25th 2001
July 24th 2001
July 23rd 2001
July 22nd 2001
July 21st 2001
July 20th 2001
July 19th 2001
July 18th 2001
July 17th 2001
July 16th 2001
July 15th 2001
July 14th 2001
July 13th 2001
July 12th 2001
July 11th 2001
July 10th 2001
July 9th 2001
July 8th 2001
July 7th 2001
July 6th 2001
July 5th 2001
July 4th 2001
July 3rd 2001
July 2nd 2001
July 1st 2001


Messages by Month
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000