Unix Technical Forum

SQL Help, Urgent

This is a discussion on SQL Help, Urgent within the SQL Server forums, part of the Microsoft SQL Server category; --> Situation: I'm relatively new to mysql, but successfully installed, connected, and loaded my resepective Access tables to the server. ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:04 PM
tread
 
Posts: n/a
Default SQL Help, Urgent

Situation:
I'm relatively new to mysql, but successfully installed, connected,
and loaded my resepective Access tables to the server. I also
installed EMS Mysql Manager as a UI to help the learning process. All
works well, and I'm impressed with the speed and flexibility to MS
Access ~ albeit I recognize they were designed for different purposes.

Objective:
The primary table I loaded into MySql has 2.5 MM records: ID, Ticker,
Date, Price; and all works well. My need is to write a QUERY to export
(outfile?) multiple text files. For example, I have 6 years worth of
data, and need to generate 1 file per day that contains all the
Tickers and Prices for that day. Furthermore, I need the text file
name to be the name of the date (e.g. April 4, 1998 with 1000 Tickers
& Prices would result in a file that was named "040498.txt" (either
csv or tab delimited).

Is this possible? If so, can someone please help me in this effort...
the alternative is not pretty.

Thanks in advance!

Trevor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 07:04 PM
Greg D. Moore \(Strider\)
 
Posts: n/a
Default Re: SQL Help, Urgent


"tread" <tcread@pacbell.net> wrote in message
news:42a7bd89.0312031824.4ebd3a14@posting.google.c om...
> Situation:
> I'm relatively new to mysql, but successfully installed, connected,
> and loaded my resepective Access tables to the server. I also
> installed EMS Mysql Manager as a UI to help the learning process. All
> works well, and I'm impressed with the speed and flexibility to MS
> Access ~ albeit I recognize they were designed for different purposes.
>


You'll have better luck probably targetting a MySQL newsgroup. This one is
for Microsoft SQL Server.

Good luck.


> Objective:
> The primary table I loaded into MySql has 2.5 MM records: ID, Ticker,
> Date, Price; and all works well. My need is to write a QUERY to export
> (outfile?) multiple text files. For example, I have 6 years worth of
> data, and need to generate 1 file per day that contains all the
> Tickers and Prices for that day. Furthermore, I need the text file
> name to be the name of the date (e.g. April 4, 1998 with 1000 Tickers
> & Prices would result in a file that was named "040498.txt" (either
> csv or tab delimited).
>
> Is this possible? If so, can someone please help me in this effort...
> the alternative is not pretty.
>
> Thanks in advance!
>
> Trevor



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com