Click here to Skip to main content
15,903,201 members
Home / Discussions / Database
   

Database

 
QuestionInsert not working ?? Pin
scorp_scorp9-Jan-11 20:05
scorp_scorp9-Jan-11 20:05 
AnswerRe: Insert not working ?? Pin
Estys9-Jan-11 23:54
Estys9-Jan-11 23:54 
QuestionDatabase Extraction Help Pin
crain19819-Jan-11 6:24
crain19819-Jan-11 6:24 
AnswerRe: Database Extraction Help Pin
crain19819-Jan-11 10:29
crain19819-Jan-11 10:29 
QuestionRe: Database Extraction Help Pin
Luc Pattyn9-Jan-11 12:18
sitebuilderLuc Pattyn9-Jan-11 12:18 
AnswerRe: Database Extraction Help Pin
crain19819-Jan-11 13:12
crain19819-Jan-11 13:12 
GeneralRe: Database Extraction Help Pin
crain19819-Jan-11 13:13
crain19819-Jan-11 13:13 
GeneralRe: Database Extraction Help Pin
Luc Pattyn9-Jan-11 13:47
sitebuilderLuc Pattyn9-Jan-11 13:47 
A few statements:

1. I don't know why you are storing the file size; you sure don't need it to store or retrieve the file data.

2. If the crypto code is unhappy about the file size or file data, then the size or data are probably wrong and the problem is NOT in encryption.

3. As long as you fail to store and retrieve binary data, it makes no sense to complicate things with encryption/decryption.
First create methods that deal with arbitrary blobs; then add some methods that handles encryption. So start with a text file, think of it as binary data, store it in a blob, retrieve the blob, store it in a new file, and compare both files. And don't mix separate functions into a single method.

4. Don't create a bunch of code, and then discover it doesn't work; you are wasting your time. Write a small bit of code, and check it works absolutely fine. Then add some, test, fix, and repeat.

5. This has been going on since medio December; all it takes is four methods, each less than 20 lines of code.

6. Suggestion: if you need only one field, use ExecuteScalar.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] [My CP bug tracking] Nil Volentibus Arduum
Season's Greetings to all CPians.


GeneralRe: Database Extraction Help Pin
crain19819-Jan-11 15:51
crain19819-Jan-11 15:51 
QuestionStoring images in oracle 9i Pin
noora-m8-Jan-11 18:22
noora-m8-Jan-11 18:22 
AnswerRe: Storing images in oracle 9i Pin
Mycroft Holmes9-Jan-11 11:59
professionalMycroft Holmes9-Jan-11 11:59 
QuestionDatabase server extremely slow and poor performance Pin
vanikanc7-Jan-11 5:05
vanikanc7-Jan-11 5:05 
AnswerRe: Database server extremely slow and poor performance Pin
J4amieC7-Jan-11 5:52
J4amieC7-Jan-11 5:52 
AnswerRe: Database server extremely slow and poor performance Pin
thatraja7-Jan-11 6:47
professionalthatraja7-Jan-11 6:47 
QuestionSQL Jobs stop Pin
vanikanc5-Jan-11 7:56
vanikanc5-Jan-11 7:56 
AnswerRe: SQL Jobs stop Pin
Corporal Agarn5-Jan-11 8:08
professionalCorporal Agarn5-Jan-11 8:08 
AnswerRe: SQL Jobs stop Pin
Simon_Whale5-Jan-11 22:13
Simon_Whale5-Jan-11 22:13 
QuestionAccess to stored procs on different database servers Pin
vanikanc5-Jan-11 5:00
vanikanc5-Jan-11 5:00 
AnswerRe: Access to stored procs on different database servers Pin
DoctorMick5-Jan-11 6:14
DoctorMick5-Jan-11 6:14 
GeneralRe: Access to stored procs on different database servers Pin
vanikanc5-Jan-11 6:48
vanikanc5-Jan-11 6:48 
GeneralRe: Access to stored procs on different database servers Pin
Corporal Agarn5-Jan-11 7:48
professionalCorporal Agarn5-Jan-11 7:48 
GeneralRe: Access to stored procs on different database servers Pin
vanikanc5-Jan-11 7:56
vanikanc5-Jan-11 7:56 
GeneralRe: Access to stored procs on different database servers Pin
vanikanc5-Jan-11 8:22
vanikanc5-Jan-11 8:22 
GeneralRe: Access to stored procs on different database servers Pin
Corporal Agarn5-Jan-11 9:10
professionalCorporal Agarn5-Jan-11 9:10 
GeneralRe: Access to stored procs on different database servers Pin
vanikanc5-Jan-11 9:19
vanikanc5-Jan-11 9: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.