Click here to Skip to main content
16,004,727 members
Home / Discussions / Database
   

Database

 
QuestionTrouble with an SQL statement...maybe syntax related? Pin
frank214-Dec-03 8:24
frank214-Dec-03 8:24 
AnswerRe: Trouble with an SQL statement...maybe syntax related? Pin
Chris Meech9-Dec-03 7:16
Chris Meech9-Dec-03 7:16 
QuestionHow to figure out database type in ADO or ODBC? Pin
CherezZaboro4-Dec-03 8:12
CherezZaboro4-Dec-03 8:12 
AnswerAnyone? Pin
CherezZaboro5-Dec-03 3:04
CherezZaboro5-Dec-03 3:04 
AnswerRe: How to figure out database type in ADO or ODBC? Pin
Mike Dimmick5-Dec-03 4:53
Mike Dimmick5-Dec-03 4:53 
GeneralMS-SQL: Removing all database ownership for one login Pin
Carl Mercier3-Dec-03 15:03
Carl Mercier3-Dec-03 15:03 
GeneralFile retrieval methods Pin
joe.A3-Dec-03 5:01
joe.A3-Dec-03 5:01 
GeneralRe: File retrieval methods Pin
Rob Graham9-Dec-03 4:38
Rob Graham9-Dec-03 4:38 
You can use ado to store the files in a LongText (Memo for Access) or LongBinary field, but the retrieve performance is likely to be poor. A better idea would be to put all the files in a known directory structure, then store the file path in SQL. You could fetch the sequential list of paths quite quickly, then open the appropriate file. This would also simply file maintenace, as modifications to a document would be reflected 'instantly' in the app with no SQL update needed. Changing the sequence would require just modifying a sequence field in the record.

for example: the table could be doc_id int (identity,1,1) , Doc_seq int,
Doc_Name Varchar(255), Doc_Path Varchar(255). I would initially make the doc_seq values increment by 10 or so (leave space for insertions into the sequence. Retrieve with "order by doc_seq" ....




Genius may have its limitations, but stupidity is not thus handicapped. - Elbert Hubbard
GeneralCreating a new database... Pin
Amirjalaly3-Dec-03 2:56
Amirjalaly3-Dec-03 2:56 
GeneralRe: Creating a new database... Pin
Rob Graham9-Dec-03 4:45
Rob Graham9-Dec-03 4:45 
GeneralRows Pin
Anonymous2-Dec-03 9:36
Anonymous2-Dec-03 9:36 
GeneralRe: Rows Pin
Colin Angus Mackay3-Dec-03 15:27
Colin Angus Mackay3-Dec-03 15:27 
GeneralAdding numbers in Access DB displaying the results via ASP page Pin
Petu1-Dec-03 10:14
Petu1-Dec-03 10:14 
GeneralMSDE Configuration Tool Pin
Rocky Moore1-Dec-03 9:44
Rocky Moore1-Dec-03 9:44 
QuestionMultiple Result sets ADO.NET?? Pin
Rocky Moore1-Dec-03 6:27
Rocky Moore1-Dec-03 6:27 
AnswerRe: Multiple Result sets ADO.NET?? Pin
Heath Stewart1-Dec-03 8:25
protectorHeath Stewart1-Dec-03 8:25 
GeneralRe: Multiple Result sets ADO.NET?? Pin
Rocky Moore1-Dec-03 9:35
Rocky Moore1-Dec-03 9:35 
GeneralRe: Multiple Result sets ADO.NET?? Pin
Heath Stewart1-Dec-03 10:32
protectorHeath Stewart1-Dec-03 10:32 
GeneralRe: Multiple Result sets ADO.NET?? Pin
Rocky Moore1-Dec-03 21:18
Rocky Moore1-Dec-03 21:18 
GeneralRe: Multiple Result sets ADO.NET?? Pin
Heath Stewart2-Dec-03 2:57
protectorHeath Stewart2-Dec-03 2:57 
GeneralRe: Multiple Result sets ADO.NET?? Pin
Rocky Moore1-Dec-03 23:08
Rocky Moore1-Dec-03 23:08 
General2 tables and a stored procedure Pin
toticow1-Dec-03 2:14
susstoticow1-Dec-03 2:14 
GeneralRe: 2 tables and a stored procedure Pin
Mike Dimmick1-Dec-03 3:17
Mike Dimmick1-Dec-03 3:17 
GeneralMonitor bandwidth usage Pin
Paul Watson1-Dec-03 0:52
sitebuilderPaul Watson1-Dec-03 0:52 
GeneralRe: Monitor bandwidth usage Pin
Rocky Moore1-Dec-03 6:24
Rocky Moore1-Dec-03 6:24 

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.