On 24 Sep 2002, at 16:23, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote:
> For example I would like to select the > password and then the first 6 characters of the > username in the username field (which is of type > varchar). Check the string functions in the documentation: http://www.mysql.com/doc/en/String_functions.html SELECT password, LEFT(username, 6) FROM table_name ... [Filter fodder: SQL] -- Keith C. Ivey <[EMAIL PROTECTED]> Tobacco Documents Online http://tobaccodocuments.org --------------------------------------------------------------------- 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