Login Register


SQL Error Help ! filter_list
Author
Message
SQL Error Help ! #1
I really need help, this is what is happening.

I am getting this error when inserting a query into the SQL tab of a database, it only adds 2 tables when it is supposed to add more, but the error is stopping it?

Screenshot:
http://gyazo.com/b62b31137708228beb791ed6c8ad01ea

Query im inserting:
http://pastebin.com/rMJeA0Xb

Software: MySQL
Software version: 5.1.68-cll - MySQL Community Server (GPL)

If you can help me out, I'd really appreciate, thanks!
Help me out by clicking these links, thanks!
Link1 | Link2 | Link3 | Link4

Reply

RE: SQL Error Help ! #2
Looks like you're importing too many fields into your table.
Your table has 6 fields. You're trying to import 9 fields.

I could be wrong. Sad

Reply

RE: SQL Error Help ! #3
But other people have also used this query like a couple of months ago.
Help me out by clicking these links, thanks!
Link1 | Link2 | Link3 | Link4

Reply

RE: SQL Error Help ! #4
Notice the error begins from the Nely entry, which indicates to me the error is before that. The second value has no note added, see below.

Code:
(2, 13, 'e', '94.197.11.24', 'fill this')

Failing that you can add quotes around every value and remove unnecessary quotes around 'fe' and 'ID', 'userID', 'type', 'ip' and 'note'.

Reply

RE: SQL Error Help ! #5
(05-09-2013, 11:30 PM)Geo Wrote: The second value has no note added, see below.

Code:
(2, 13, 'e', '94.197.11.24', 'fill this')

Failing that you can add quotes around every value and remove unnecessary quotes around 'fe' and 'ID', 'userID', 'type', 'ip' and 'note'.

So add quotes around the numbers and remove the quotes not needed for fe and what you said?

Ill try this later when my web host is back up, thanks!
Help me out by clicking these links, thanks!
Link1 | Link2 | Link3 | Link4

Reply

RE: SQL Error Help ! #6
(05-09-2013, 11:31 PM)Ronnie Wrote:
(05-09-2013, 11:30 PM)Geo Wrote: The second value has no note added, see below.

Code:
(2, 13, 'e', '94.197.11.24', 'fill this')

Failing that you can add quotes around every value and remove unnecessary quotes around 'fe' and 'ID', 'userID', 'type', 'ip' and 'note'.

So add quotes around the numbers and remove the quotes not needed for fe and what you said?

Ill try this later when my web host is back up, thanks!

The first option of filling the note should work, but yeah that's what I mean.

Reply

RE: SQL Error Help ! #7
(05-09-2013, 11:33 PM)Geo Wrote:
(05-09-2013, 11:31 PM)Ronnie Wrote:
(05-09-2013, 11:30 PM)Geo Wrote: The second value has no note added, see below.

Code:
(2, 13, 'e', '94.197.11.24', 'fill this')

Failing that you can add quotes around every value and remove unnecessary quotes around 'fe' and 'ID', 'userID', 'type', 'ip' and 'note'.

So add quotes around the numbers and remove the quotes not needed for fe and what you said?

Ill try this later when my web host is back up, thanks!

The first option of filling the note should work, but yeah that's what I mean.

What do you mean by filling the note?
Im new to SQL
Help me out by clicking these links, thanks!
Link1 | Link2 | Link3 | Link4

Reply

RE: SQL Error Help ! #8
(05-09-2013, 11:44 PM)Ronnie Wrote:
(05-09-2013, 11:33 PM)Geo Wrote:
(05-09-2013, 11:31 PM)Ronnie Wrote: So add quotes around the numbers and remove the quotes not needed for fe and what you said?

Ill try this later when my web host is back up, thanks!

The first option of filling the note should work, but yeah that's what I mean.

What do you mean by filling the note?
Im new to SQL

The note field is empty in the second set of values (second set of brackets) ... it is set as '' whereas in others it includes data such as 'Nely' or whatever. Here is what it should be, I changed the missing note to USERNAME for example purposes.

Code:
INSERT INTO `fe` (`ID`, `userID`, `type`, `ip`, `note`) VALUES (1,12,'e','110.175.100.136','Auspride018'),(2,13,'e','94.197.11.24','USERNAME'),(3,8,'f'​,'50.138.30.101','Nely'),(4,8,'f','50.55.247.24','Brittany'),(5,8,'f','98.94.78.​64','channa'),(6,8,'f','108.210.196.40','Hector'),(7,8,'f','70.100.180.240','Kim​mie'),(8,8,'f','50.33.227.18','Karissa'),(9,8,'f','108.214.117.105','Lilla');

You see?

Reply

RE: SQL Error Help ! #9
(05-09-2013, 11:49 PM)Geo Wrote:
(05-09-2013, 11:44 PM)Ronnie Wrote:
(05-09-2013, 11:33 PM)Geo Wrote: The first option of filling the note should work, but yeah that's what I mean.

What do you mean by filling the note?
Im new to SQL

The note field is empty in the second set of values (second set of brackets) ... it is set as '' whereas in others it includes data such as 'Nely' or whatever. Here is what it should be, I changed the missing note to USERNAME for example purposes.

Code:
INSERT INTO `fe` (`ID`, `userID`, `type`, `ip`, `note`) VALUES (1,12,'e','110.175.100.136','Auspride018'),(2,13,'e','94.197.11.24','USERNAME'),(3,8,'f'​,'50.138.30.101','Nely'),(4,8,'f','50.55.247.24','Brittany'),(5,8,'f','98.94.78.​64','channa'),(6,8,'f','108.210.196.40','Hector'),(7,8,'f','70.100.180.240','Kim​mie'),(8,8,'f','50.33.227.18','Karissa'),(9,8,'f','108.214.117.105','Lilla');

You see?

Bro, I tried alot of shit and cant seem to do it, do you think you can maybe do it for me to get it working?

Ill give you a reward, but I dont know what lol<3
Help me out by clicking these links, thanks!
Link1 | Link2 | Link3 | Link4

Reply

RE: SQL Error Help ! #10
(05-10-2013, 12:50 AM)Ronnie Wrote:
(05-09-2013, 11:49 PM)Geo Wrote:
(05-09-2013, 11:44 PM)Ronnie Wrote: What do you mean by filling the note?
Im new to SQL

The note field is empty in the second set of values (second set of brackets) ... it is set as '' whereas in others it includes data such as 'Nely' or whatever. Here is what it should be, I changed the missing note to USERNAME for example purposes.

Code:
INSERT INTO `fe` (`ID`, `userID`, `type`, `ip`, `note`) VALUES (1,12,'e','110.175.100.136','Auspride018'),(2,13,'e','94.197.11.24','USERNAME'),(3,8,'f'​,'50.138.30.101','Nely'),(4,8,'f','50.55.247.24','Brittany'),(5,8,'f','98.94.78.​64','channa'),(6,8,'f','108.210.196.40','Hector'),(7,8,'f','70.100.180.240','Kim​mie'),(8,8,'f','50.33.227.18','Karissa'),(9,8,'f','108.214.117.105','Lilla');

You see?

Bro, I tried alot of shit and cant seem to do it, do you think you can maybe do it for me to get it working?

Ill give you a reward, but I dont know what lol<3

Yeah, PM me your teamviewer details or host login details.

Reply







Users browsing this thread: 1 Guest(s)