myself> select ' chrishallgren'; is not selecting the contents of
chrisallgren, it's selecting the literal ' chrishallgren'
your select statement is not complete. it should be
Select <fieldsList> from <tableName>
Your statement does not have a from tablename specified.
If you are trying to switch databases then it's
use chrishallgren;
Cal
http://www.calevans.com
-----Original Message-----
From: Chris Hallgren [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 1:47 PM
To: [EMAIL PROTECTED]
Subject: Problem with mysql
ok here is my problem i have redhat 7 i installed mysql via the rpm and i
get the following error
mysql> select chrishallgren;
ERROR 1054: Unknown column 'chrishallgren' in 'field list'
mysql> select ' chrishallgren';
+----------------+
| chrishallgren |
+----------------+
| chrishallgren |
+----------------+
1 row in set (0.00 sec)
for some reason i need a space to select the database is this normal and if
not how do i fix it
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php