Re: Don't hate the rookie....please help -- simple question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Thu, 28 Apr 2005 15:36:01 -0700, "Erik"
<Erik@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

>I would like to design a database which helps me track some stock information
>which builds daily. I have an Excel file with 500 stock tickers (fixed) and
>dates at top of columns. What is the best way to represent this data? I need
>to calculate and report % change in the Wk EPS values. Do I build a table
>for each date? Or each Ticker? Each day the data will increase and I would
>like to notice trends (i.e. one week or one moth trends). I have read the
>database design documents and help file to no avail...Thank you in advance.
>
>Sample:
> 4/22/05 4/25/2005 4/26/2005 4/27/2005
>Symbol Wk EPS Wk EPS Wk EPS Wk EPS
>UIS 1 4 88 90
>MAT 2 41 41 95

This is a good spreadsheet, but is not properly structured for a
relational table. In a relational database, "Fields are expensive,
records are cheap"; you should certainly NOT store data (dates) in
field names! A tall-thin table is the ticket (ticker?) here:

Symbol TradeDate EPS
UIS 4/22/05 1
UIS 4/25/05 4
UIS 4/26/05 88
UIS 4/27/05 90
MAT 4/22/05 2
MAT 4/25/05 41
MAT 4/26/05 41

<etc>

Symbol and TradeDate could be a joint two-field Primary Key since they
uniquely identify the record.

John W. Vinson[MVP]
.



Relevant Pages

  • Dont hate the rookie....please help -- simple question
    ... I would like to design a database which helps me track some stock information ... I have an Excel file with 500 stock tickers and ...
    (microsoft.public.access.tablesdbdesign)
  • RE: Forms with Options?
    ... 'Cancel' a RuntimeError 3131 and Syntax error shows up. ... If your excel file does not have then, ... spreadsheet to a database, Access will create 2 other error tables. ...
    (microsoft.public.access.formscoding)
  • RE: Forms with Options?
    ... Dim tName As String 'Holds the name of the table to be modified ... If your excel file does not have then, ... spreadsheet to a database, Access will create 2 other error tables. ...
    (microsoft.public.access.formscoding)
  • RE: Forms with Options?
    ... Dim tName As String 'Holds the name of the table to be modified ... If your excel file does not have then, ... spreadsheet to a database, Access will create 2 other error tables. ...
    (microsoft.public.access.formscoding)
  • Re: MS Word/table/font changes
    ... column you want to be in italics and set it to normal. ... A database is not useful for remote work, ... on the portable computer, put in one file the data ... line where I put in blue the cell no. 1 of an Excel file, ...
    (soc.genealogy.computing)