![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
CREATE TABLE `transactions` (
`transaction_id` INT NOT NULL AUTO_INCREMENT , `FirstName` VARCHAR( 20 ) , `LastName` VARCHAR( 20 ) NOT NULL , `Email` VARCHAR( 20 ) , `Amount` DOUBLE( 20 ) NOT NULL , `ExtraDetails` VARCHAR( 500 ) , PRIMARY KEY ( `transaction_id` ) ) It doesn't like it for some reason? |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Some reason? Your error message, which we can't see, probably says that there's a problem near so-and-so, and to check your docs.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
Ah it's OK - I worked it would. Shouldn't have a number of characters by the double! Thanks for the reply though!
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
"It doesn't like it for some reason?"
I find it hilarious when people post a statement as a question... how would we know if it likes it or not? Whenever I had to mess around with SQL, it was MySQL using PHPMyAdmin, it usually tells you exactly what's wrong, I liked that. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting the wrong answer | 357mag | C++ | 6 | Jul 4th, 2007 7:18 AM |
| What's wrong with this code? | titaniumdecoy | Python | 25 | Jun 12th, 2006 12:46 PM |
| Is there anything wrong with this code? | elford | Java | 2 | Dec 27th, 2005 8:11 AM |
| What is wrong with this code? | c0ldshadow | Visual Basic .NET | 5 | Dec 5th, 2005 5:37 PM |
| C++ vs. C# --- OOPS wrong thread sorry | Stash | Project Ideas | 0 | Jul 1st, 2005 11:28 AM |