Click here to Skip to main content
15,911,646 members
Home / Discussions / Database
   

Database

 
AnswerRe: Problem with SELECT query using ADO.NET and C# Pin
Rob Graham26-Sep-06 16:27
Rob Graham26-Sep-06 16:27 
GeneralRe: Problem with SELECT query using ADO.NET and C# Pin
Baz26-Sep-06 21:54
Baz26-Sep-06 21:54 
AnswerRe: Problem with SELECT query using ADO.NET and C# Pin
Edbert P26-Sep-06 18:10
Edbert P26-Sep-06 18:10 
GeneralRe: Problem with SELECT query using ADO.NET and C# Pin
Baz26-Sep-06 21:46
Baz26-Sep-06 21:46 
AnswerRe: Problem with SELECT query using ADO.NET and C# Pin
albCode27-Sep-06 1:05
albCode27-Sep-06 1:05 
QuestionSQL Datetime question Pin
cbrucewilson6426-Sep-06 8:44
cbrucewilson6426-Sep-06 8:44 
AnswerRe: SQL Datetime question Pin
Michael Potter26-Sep-06 9:09
Michael Potter26-Sep-06 9:09 
GeneralRe: SQL Datetime question Pin
cbrucewilson6427-Sep-06 2:36
cbrucewilson6427-Sep-06 2:36 
We had populated the date field using the GetDate() function in SQL during the insert of the record. We were using a datetime type variable in C# to hold the date until we updated the record by calling the SQL statement. When we tried to update the record using the held variable and passing it to the SQL statement to the where clause, it could not find the record to update it.

We resolved the whole issue by changing the way the date field was poulated when it was inserted into the database. We removed the GetDate() function from the SQL and passed a date variable as a string to the datetime type field on the SQL statement. When we updated the record this time, it worked.

Thank you for your help in trying to resolve this.

QuestionRe: SQL Datetime question Pin
Chris Meech26-Sep-06 9:44
Chris Meech26-Sep-06 9:44 
AnswerRe: SQL Datetime question Pin
cbrucewilson6427-Sep-06 2:42
cbrucewilson6427-Sep-06 2:42 
QuestionUpdate schema Pin
Soundman32.226-Sep-06 6:26
Soundman32.226-Sep-06 6:26 
AnswerRe: Update schema Pin
Mike Dimmick26-Sep-06 9:28
Mike Dimmick26-Sep-06 9:28 
Questionmultiple columns in rules Pin
Mridang Agarwalla26-Sep-06 3:58
Mridang Agarwalla26-Sep-06 3:58 
Questiondatareader and dataset Pin
Jax_qqq26-Sep-06 3:39
Jax_qqq26-Sep-06 3:39 
AnswerRe: datareader and dataset Pin
Colin Angus Mackay26-Sep-06 3:44
Colin Angus Mackay26-Sep-06 3:44 
QuestionHow to run the Job Pin
Atul Kharecha25-Sep-06 23:50
Atul Kharecha25-Sep-06 23:50 
AnswerRe: How to run the Job Pin
Dave Kreskowiak27-Sep-06 13:48
mveDave Kreskowiak27-Sep-06 13:48 
QuestionHow ca i remove spaces in my database ? Pin
Bravoone_200625-Sep-06 21:09
Bravoone_200625-Sep-06 21:09 
QuestionIdentity reset Pin
FireOnMoon25-Sep-06 18:35
FireOnMoon25-Sep-06 18:35 
AnswerRe: Identity reset Pin
_AK_25-Sep-06 22:37
_AK_25-Sep-06 22:37 
AnswerRe: Identity reset Pin
Colin Angus Mackay26-Sep-06 0:57
Colin Angus Mackay26-Sep-06 0:57 
QuestionComplicate SQL question...?? anyone know? urgent~~ Pin
campbells25-Sep-06 17:33
campbells25-Sep-06 17:33 
AnswerRe: Complicate SQL question...?? anyone know? urgent~~ Pin
Michael Potter26-Sep-06 5:24
Michael Potter26-Sep-06 5:24 
GeneralRe: Complicate SQL question...?? anyone know? urgent~~ Pin
Michael Potter27-Sep-06 3:14
Michael Potter27-Sep-06 3:14 
AnswerRe: Complicate SQL question...?? anyone know? urgent~~ Pin
ednrgc19-Oct-06 6:29
ednrgc19-Oct-06 6:29 

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.