Click here to Skip to main content
15,898,222 members
Home / Discussions / Database
   

Database

 
GeneralRe: Working with Access2007 Attachments in C# Pin
Paul Conrad21-Sep-08 8:28
professionalPaul Conrad21-Sep-08 8:28 
GeneralRe: Working with Access2007 Attachments in C# Pin
Dg!Mortal21-Sep-08 21:59
Dg!Mortal21-Sep-08 21:59 
GeneralRe: Working with Access2007 Attachments in C# Pin
Paul Conrad22-Sep-08 6:46
professionalPaul Conrad22-Sep-08 6:46 
GeneralRe: Working with Access2007 Attachments in C# Pin
Dg!Mortal23-Sep-08 9:39
Dg!Mortal23-Sep-08 9:39 
QuestionHow can I solve the "The column does not allow nulls" error message? Pin
JUNEYT20-Sep-08 7:36
JUNEYT20-Sep-08 7:36 
AnswerRe: How can I solve the "The column does not allow nulls" error message? Pin
Caio Kinzel Filho20-Sep-08 16:37
Caio Kinzel Filho20-Sep-08 16:37 
GeneralRe: How can I solve the "The column does not allow nulls" error message? Pin
JUNEYT20-Sep-08 19:26
JUNEYT20-Sep-08 19:26 
GeneralRe: How can I solve the "The column does not allow nulls" error message? Pin
Caio Kinzel Filho20-Sep-08 22:48
Caio Kinzel Filho20-Sep-08 22:48 
Hmm...Despite some sintax errors I could notice in the procedure (maybe from when you paste in here), I think you're problem could be the way the procedure is executing the insert.

When you do:
INSERT INTO Customer (Field1,Field2) VALUES (Value1,Value2);
You are addressing the values (Value1,Value2) in the corresponding order as the appear in the field list (Field1,Field2), but as you did:
INSERT INTO Customer VALUES (Value1,Value2);
You are putting the values in the order the fields appear in the table, so if the table has one more column or a column in the wrong order, you could get unwanted results.
Try using the first form of insert. If it did not work, post the table structure to see if we can help you.

Regards

Intelligence is almost useless for those who have nothing else!

Email: caiokf@gmail.com

GeneralHere is the table structure [modified] Pin
JUNEYT20-Sep-08 23:33
JUNEYT20-Sep-08 23:33 
GeneralRe: How can I solve the "The column does not allow nulls" error message? Pin
Wendelius21-Sep-08 0:02
mentorWendelius21-Sep-08 0:02 
GeneralRe: How can I solve the "The column does not allow nulls" error message? Pin
JUNEYT21-Sep-08 1:02
JUNEYT21-Sep-08 1:02 
GeneralRe: How can I solve the "The column does not allow nulls" error message? Pin
Wendelius21-Sep-08 1:10
mentorWendelius21-Sep-08 1:10 
AnswerRe: How can I solve the "The column does not allow nulls" error message? Pin
nelsonpaixao21-Sep-08 14:02
nelsonpaixao21-Sep-08 14:02 
QuestionSQL Server 2005 Installation Error Pin
Afaak20-Sep-08 2:24
Afaak20-Sep-08 2:24 
QuestionHi ,how to give permission to stored procedure Pin
Sneha Bisht20-Sep-08 0:12
Sneha Bisht20-Sep-08 0:12 
AnswerRe: Hi ,how to give permission to stored procedure Pin
Harvey Saayman20-Sep-08 0:22
Harvey Saayman20-Sep-08 0:22 
GeneralRe: Hi ,how to give permission to stored procedure Pin
Colin Angus Mackay21-Sep-08 2:05
Colin Angus Mackay21-Sep-08 2:05 
AnswerRe: Hi ,how to give permission to stored procedure Pin
nelsonpaixao21-Sep-08 14:06
nelsonpaixao21-Sep-08 14:06 
QuestionError 21001, error while writing triggers Pin
v1i9n6o7d19-Sep-08 20:44
v1i9n6o7d19-Sep-08 20:44 
AnswerRe: Error 21001, error while writing triggers Pin
Caio Kinzel Filho20-Sep-08 16:41
Caio Kinzel Filho20-Sep-08 16:41 
AnswerRe: Error 21001, error while writing triggers Pin
Wendelius21-Sep-08 9:30
mentorWendelius21-Sep-08 9:30 
QuestionException Handling Pin
Padma N19-Sep-08 20:17
Padma N19-Sep-08 20:17 
AnswerRe: Exception Handling Pin
Ashfield21-Sep-08 21:20
Ashfield21-Sep-08 21:20 
QuestionsqlExpress insertion problem Pin
Essampro19-Sep-08 12:46
Essampro19-Sep-08 12:46 
AnswerRe: sqlExpress insertion problem Pin
Caio Kinzel Filho20-Sep-08 16:47
Caio Kinzel Filho20-Sep-08 16: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.