Jump to content
xisto Community
Sign in to follow this  
eskimmer

Loading File Into Blob Fields To Mysql

Recommended Posts

Saving a resultset into file

Loading File Into Blob Fields To Mysql

 

Hi,

I am newbee to Mysql, so not much aware of the syntax.

I want to copy the resultset of a table into a file like

 

SELECT * INTO OUTFILE 'data.Txt'

FIELDS TERMINATED BY ','

FROM ...

 

But my problem is that the query will be used in a stored procedure and the filename and delimiter will be passed during runtime.

 

Please provide any solution if possible.

 

-question by Sourendra

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.