Click here to Skip to main content
15,913,773 members
Home / Discussions / Database
   

Database

 
GeneralRe: Setting up SQL Server 2005 Pin
NewbieDude12-Mar-06 18:49
NewbieDude12-Mar-06 18:49 
GeneralRe: Setting up SQL Server 2005 Pin
Chandana Subasinghe12-Mar-06 23:54
Chandana Subasinghe12-Mar-06 23:54 
GeneralRe: Setting up SQL Server 2005 Pin
NewbieDude12-Mar-06 23:56
NewbieDude12-Mar-06 23:56 
AnswerRe: Setting up SQL Server 2005 Pin
Chandana Subasinghe10-Mar-06 7:52
Chandana Subasinghe10-Mar-06 7:52 
AnswerRe: Setting up SQL Server 2005 Pin
Illegal Operation12-Mar-06 18:18
Illegal Operation12-Mar-06 18:18 
QuestionSend a Value in to a Parameter field from Formula fields?(Crystal report) Pin
superdragon9-Mar-06 19:59
superdragon9-Mar-06 19:59 
QuestionHow to include SQLNCLI.1 as a provider that has in-process access in SQLSERVER2005 Pin
kh1219-Mar-06 19:21
kh1219-Mar-06 19:21 
QuestionSQLite and msvc Pin
Waldermort9-Mar-06 18:05
Waldermort9-Mar-06 18:05 
I have never worked with databases before, and my C++ skills are only at the intermediate level. I have been asked to make a program which can store and keep track of students. My first attempt at this involved using Excel to store the data (records are imported from xls files), but this is proving a little more problematic than I care for. I have come to realise that I need a real Database.

I have been advised that SQLite would be ideal in my situation, so I went and downloaded it. Problem is I now have a dll and a lib, with no clue how to use them. I have searched the interent high and low for tutorials or examples showing how to incorporate SQLite into an MSVC project, but I have found nothing.

Could somebody please show me an example of how to use this, preferably in a non-MFC environment.

Also from what I understand there is one main database file which may hold several tables. I'm a little unsure how I should structure this. The end result would hold several thousand students, each divided by year and class. Then for each student I need to be a able to pull a performance record which would hold all the exam results for the students tenure in the school.

Any help with one or both of these matters would be greatly appreciated.

Thankyou
AnswerRe: SQLite and msvc Pin
Waldermort9-Mar-06 23:59
Waldermort9-Mar-06 23:59 
QuestionHigh importance: How to map the data tables in a remote database to local memory? Pin
zhaoyu1629-Mar-06 17:30
zhaoyu1629-Mar-06 17:30 
AnswerRe: High importance: How to map the data tables in a remote database to local memory? Pin
Colin Angus Mackay9-Mar-06 23:33
Colin Angus Mackay9-Mar-06 23:33 
AnswerRe: High importance: How to map the data tables in a remote database to local memory? Pin
Colin Angus Mackay10-Mar-06 6:09
Colin Angus Mackay10-Mar-06 6:09 
GeneralRe: High importance: How to map the data tables in a remote database to local memory? Pin
zhaoyu16210-Mar-06 14:57
zhaoyu16210-Mar-06 14:57 
Question[MySQL + .net] Getting SQL query from MySqlCommand object Pin
Distinctive9-Mar-06 12:34
Distinctive9-Mar-06 12:34 
AnswerRe: [MySQL + .net] Getting SQL query from MySqlCommand object Pin
Colin Angus Mackay10-Mar-06 6:20
Colin Angus Mackay10-Mar-06 6:20 
GeneralRe: [MySQL + .net] Getting SQL query from MySqlCommand object Pin
Distinctive10-Mar-06 11:33
Distinctive10-Mar-06 11:33 
QuestionUpdating a record from a table and returning the updated record. Pin
PeteConc9-Mar-06 8:04
PeteConc9-Mar-06 8:04 
AnswerRe: Updating a record from a table and returning the updated record. Pin
Daniel Santillanes9-Mar-06 8:30
professionalDaniel Santillanes9-Mar-06 8:30 
GeneralRe: Updating a record from a table and returning the updated record. Pin
PeteConc10-Mar-06 0:24
PeteConc10-Mar-06 0:24 
QuestionRetrieve data randomly from SQL Pin
Armando_Ramirez9-Mar-06 6:55
Armando_Ramirez9-Mar-06 6:55 
Questionnet 2 Pin
papa19809-Mar-06 5:38
papa19809-Mar-06 5:38 
QuestionQuick run-down on directories 80, 90, msql.1 vs mssql.2 mssql.3 Pin
LuluSailor9-Mar-06 4:13
LuluSailor9-Mar-06 4:13 
AnswerRe: Quick run-down on directories 80, 90, msql.1 vs mssql.2 mssql.3 Pin
Mike Dimmick9-Mar-06 11:46
Mike Dimmick9-Mar-06 11:46 
QuestionQuestion Pin
Hamid_RT9-Mar-06 3:59
Hamid_RT9-Mar-06 3:59 
AnswerRe: Question Pin
shm5314-Mar-06 7:19
shm5314-Mar-06 7:19 

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.