Good Day All,

I seem to be stuck in a fog.  I know the answer is probably easy

Let's say I have a query:

SELECT * FROM myTable;

and it's stored in a file:

getData

Then I can do something like this...

% mysql -A -uuserID -ppassword databaseName < getData

and I'll see output.  That's fine

But what if I'm at the mySQL prompt, how would I get the same file to 
execute?

TIA,

chris oson

---------------------------------------------------------------------
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

Reply via email to