On Fri, 31 Aug 2001, Darrell May wrote:

> I've progressed to determine the syntax for this is a follows (all one
> line of course):
>
> INSERT INTO awol VALUES ( '', 'DEFAULT', 'Fred', \
> 'Fred Flintsone', 'Flintstone', '', '', '', \
> '', '', '', '', '', 'out', '', '', $
>
> and then if placed in a file can be imported as follows:
>
> mysql awol < /opt/groupware/awol/awol.userlist

That's if you were to do it in shell. In perl, you'd use the mysql
driver of the DBI module.

-- 

Charlie Brady                         [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Group        http://www.e-smith.com/
Mitel Networks Corporation            http://www.mitel.com/
Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to