|
| quote: | Originally posted by UglyDave
just tried:
code:
CREATE TABLE 'tstBB_thread' (
'thread_id' integer(2) PRIMARY KEY,
'thread_starter' varcher(15),
'partOf_forum' integer(2));
pile of crap! |
What version of SQL are you writing this for? The syntax looks totally alien to me, here's what it would look like for MSSQL:
code:
CREATE TABLE tstBB_thread {
thread_id int primary key,
thread_starter varchar(15),
partOf_forum int
}
But yours may work differently. Try your last code, but take out the integer(2) and replace them with just int, and spell varchar right. 
Edit: should be acceptable to add "not null" before the comma on the LAST TWO declarations (starter and partof).
___________________
My party schedule:
2009-02-21 - DJ Attention @ I'm So Popular
2009-06-18 - DJ Annoying @ People Need To Know Where I'll Be
2012-11-32 - DJ Insufferable ɸ Or At Least the Stalkers I Complain About
2048-06-66 - Spastic & Whocares ¶ Although I'm Actually Flattered
9999-45-81 - Tweaker Gimp ☼ I Probably Won't Even Go To This But I Have To Make Sure I Fill Up All The Available Space Here
|