Click here to Skip to main content
15,894,180 members
Home / Discussions / Database
   

Database

 
GeneralRe: Convert a 2008 SQL SERVER MDF info 2005 ! Pin
mrkeivan20-Nov-09 4:54
mrkeivan20-Nov-09 4:54 
GeneralRe: Convert a 2008 SQL SERVER MDF info 2005 ! Pin
Mycroft Holmes20-Nov-09 12:26
professionalMycroft Holmes20-Nov-09 12:26 
AnswerRe: Convert a 2008 SQL SERVER MDF info 2005 ! Pin
Ashfield19-Nov-09 21:23
Ashfield19-Nov-09 21:23 
AnswerRe: Convert a 2008 SQL SERVER MDF info 2005 ! Pin
Shameel19-Nov-09 23:12
professionalShameel19-Nov-09 23:12 
GeneralRe: Convert a 2008 SQL SERVER MDF info 2005 ! Pin
mrkeivan20-Nov-09 4:55
mrkeivan20-Nov-09 4:55 
GeneralRe: Convert a 2008 SQL SERVER MDF info 2005 ! Pin
Shameel20-Nov-09 8:26
professionalShameel20-Nov-09 8:26 
QuestionJoint Venture Booster (3152) Pin
GHULAM SHAHBAZ19-Nov-09 0:14
GHULAM SHAHBAZ19-Nov-09 0:14 
QuestionSeeking advice on setting up a database or data warehouse Pin
MAW3018-Nov-09 14:35
MAW3018-Nov-09 14:35 
I am trying to decide on how to implement the following database for a stock market program for historical data, using SQL Server.

Originally my thoughts were to have data columns with adjusted data (for stock splits) as follows:

Example 1:
DateTime,
DayOpen, DayHigh, DayLow, DayClose, DayVolume,
WeekOpen, WeekHigh, WeekLow, WeekClose, WeekVolume,
MonthOpen, MonthHigh, MonthLow, MonthClose, MonthVolume

But more recently my thoughts are to load the database with only historically real information, with a variable to calculate the split info as follows

Example 2:
DateTime, Open, High, Low, Close, Volume, AdjustmentVariable

I will be storing current needed data in C# datasets and only access historical data when needed (changes such as stock splits, new symbols to track, etc.). Everyday I will update the database with the current data and change the AdustmentVariable as needed when the stock splits, then reload new data to the datasets.

Considering speed, ease of use, memory, etc. what would be the better way to proceed with this.
1. Use the second example using stored procedures, calculate and retrieve data when requested per stock.
2. Use a combination of the two above and calculate data weekly, monthly and retrieve data as needed, will this be memory inefficient with all the unfilled dates during the middle of the week, months.
3. Setup a Data Warehouse which will calculate the data daily after updating and I retrieve as needed.

Any advice will be greatly appreciated,
Michael
AnswerRe: Seeking advice on setting up a database or data warehouse Pin
_Damian S_18-Nov-09 14:50
professional_Damian S_18-Nov-09 14:50 
GeneralRe: Seeking advice on setting up a database or data warehouse Pin
MAW3018-Nov-09 15:17
MAW3018-Nov-09 15:17 
GeneralRe: Seeking advice on setting up a database or data warehouse Pin
_Damian S_18-Nov-09 15:34
professional_Damian S_18-Nov-09 15:34 
GeneralRe: Seeking advice on setting up a database or data warehouse Pin
MAW3018-Nov-09 16:08
MAW3018-Nov-09 16:08 
GeneralRe: Seeking advice on setting up a database or data warehouse Pin
_Damian S_18-Nov-09 16:59
professional_Damian S_18-Nov-09 16:59 
GeneralRe: Seeking advice on setting up a database or data warehouse Pin
T210220-Nov-09 13:05
T210220-Nov-09 13:05 
GeneralRe: Seeking advice on setting up a database or data warehouse Pin
T210220-Nov-09 13:12
T210220-Nov-09 13:12 
AnswerRe: Seeking advice on setting up a database or data warehouse Pin
Mycroft Holmes18-Nov-09 15:31
professionalMycroft Holmes18-Nov-09 15:31 
AnswerRe: Seeking advice on setting up a database or data warehouse [modified] Pin
T210222-Nov-09 12:55
T210222-Nov-09 12:55 
QuestionMDX Calculated Member Pin
led12318-Nov-09 5:49
led12318-Nov-09 5:49 
AnswerRe: MDX Calculated Member Pin
Chris Meech19-Nov-09 8:25
Chris Meech19-Nov-09 8:25 
AnswerRe: MDX Calculated Member Pin
led12323-Nov-09 6:14
led12323-Nov-09 6:14 
QuestionSQL is creating a table instead of a file - whats wrong with my SQL-String Pin
fracalifa18-Nov-09 2:30
fracalifa18-Nov-09 2:30 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
Bassam Saoud18-Nov-09 5:04
Bassam Saoud18-Nov-09 5:04 
GeneralRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
fracalifa18-Nov-09 5:26
fracalifa18-Nov-09 5:26 
GeneralRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
Bassam Saoud18-Nov-09 5:35
Bassam Saoud18-Nov-09 5:35 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
scottgp18-Nov-09 5:47
professionalscottgp18-Nov-09 5:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.