View Single Post
  #2  
Old 02-06-2007, 08:07 AM
Saggie Saggie is offline
Senior Member
 
Join Date: Jul 2006
Posts: 155
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 18
Saggie is on a distinguished road
Default

You could write

SELECT 'id'
UNION ALL
SELECT id FROM foo
INTO OUTFILE '/path/to/outfile' -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - enabling the output file?
View Single Post
  #2  
Old 02-06-2007, 08:07 AM
Saggie Saggie is offline
Senior Member
 
Join Date: Jul 2006
Posts: 155
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 18
Saggie is on a distinguished road
Default

You could write

SELECT 'id'
UNION ALL
SELECT id FROM foo
INTO OUTFILE '/path/to/outfile' -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote