Ok. I am problem with querying my database. When I use the query command "SELECT * FROM TableName", then I have no problem. It shows the results as expected. But when I try to choose a certain field as follows:
"SELECT * FROM TableName WHERE Song Name = 'Ben Stuart - A moment';
It doesnt work. Can someone tell me what the problem is

Query Database
Bramx
Mark.Sch
Giorgi Moniava
"SELECT * FROM TableName WHERE [Song Name] = 'Ben Stuart - A moment';
But the best solution is definitely to remove the space from the column name.
Anonymous34134
One of the fastest solution is to add double quotes around the field name "Song Name" in Where clause. But the common way in database design is to use "SongName"(no space) as Database field's name.
RWP
Over here, the String is not closed with inverted quotes :)
If the problem persists you might want to change Song Name to SongName instead. That would work.
Abhi
Carl Karsten