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

Database

 
GeneralRe: problem in login in sql sever 2005 Pin
astatira29-Sep-07 13:00
astatira29-Sep-07 13:00 
Questionmanage connection to database Pin
dinakatina19-Sep-07 11:31
dinakatina19-Sep-07 11:31 
AnswerRe: manage connection to database Pin
DerekFL20-Sep-07 10:25
DerekFL20-Sep-07 10:25 
QuestionInserting table adding column problem ASP/SQL Pin
hundter19-Sep-07 8:52
hundter19-Sep-07 8:52 
AnswerRe: Inserting table adding column problem ASP/SQL Pin
pmarfleet19-Sep-07 9:37
pmarfleet19-Sep-07 9:37 
GeneralRe: Inserting table adding column problem ASP/SQL Pin
hundter19-Sep-07 10:09
hundter19-Sep-07 10:09 
GeneralRe: Inserting table adding column problem ASP/SQL Pin
pmarfleet19-Sep-07 10:14
pmarfleet19-Sep-07 10:14 
QuestionData Adapter and Updating [modified] Pin
dbrenth19-Sep-07 3:39
dbrenth19-Sep-07 3:39 
Has anyone else noticed that if you update through a data adapter and the row it is updating hasn't changed, that the data adapter will not update the database, but will report that it DID update the database?

I have a program where we tried to change the value of a column from 1.0 to 1. The row says it was modified, the data adapter says it updated the row, but the update trigger on the table was never fired. And in fact the table says it was never changed. (And by the way there are no bugs if I change the value from 1.0 to 2.)

If I run the same update command in generic SQL on the database, it does update the table and the trigger is fired. If I just use a regular ODBCCommand object to run the SQL command everything works just fine.

But apparently the dataadapter wants to scrutinize the data and say "no you didn't really change anything so I'm not going to run the command, BUT I'll tell you that I updated the database, just so you won't worry."

Is there a way to force the data adapter to run the command anyway? Or conversely to have it report that it didn't do anything?

Thanks
Brent






-- modified at 9:45 Wednesday 19th September, 2007

Brent

AnswerRe: Data Adapter and Updating Pin
Michael Potter19-Sep-07 5:35
Michael Potter19-Sep-07 5:35 
GeneralRe: Data Adapter and Updating Pin
dbrenth19-Sep-07 6:06
dbrenth19-Sep-07 6:06 
QuestionView or procedure Pin
samerh19-Sep-07 3:04
samerh19-Sep-07 3:04 
AnswerRe: View or procedure Pin
Pete O'Hanlon19-Sep-07 3:15
mvePete O'Hanlon19-Sep-07 3:15 
Questiongetting Row Count of DataTable in c#.net Pin
piyusgupta19-Sep-07 1:49
piyusgupta19-Sep-07 1:49 
AnswerRe: getting Row Count of DataTable in c#.net Pin
Giorgi Dalakishvili19-Sep-07 2:44
mentorGiorgi Dalakishvili19-Sep-07 2:44 
AnswerRe: getting Row Count of DataTable in c#.net Pin
PIEBALDconsult21-Sep-07 9:51
mvePIEBALDconsult21-Sep-07 9:51 
Questionhow to calculate age from given DOB in sql 2000 Pin
ramyasangeet19-Sep-07 1:16
ramyasangeet19-Sep-07 1:16 
AnswerRe: how to calculate age from given DOB in sql 2000 [modified] Pin
joemonvarghese19-Sep-07 2:05
joemonvarghese19-Sep-07 2:05 
QuestionSQL reporting Service Prob Pin
arnoldpinto8418-Sep-07 22:31
arnoldpinto8418-Sep-07 22:31 
AnswerRe: SQL reporting Service Prob Pin
pmarfleet19-Sep-07 0:22
pmarfleet19-Sep-07 0:22 
GeneralRe: SQL reporting Service Prob Pin
arnoldpinto8419-Sep-07 0:31
arnoldpinto8419-Sep-07 0:31 
GeneralRe: SQL reporting Service Prob Pin
pmarfleet19-Sep-07 0:59
pmarfleet19-Sep-07 0:59 
GeneralRe: SQL reporting Service Prob Pin
arnoldpinto8419-Sep-07 1:35
arnoldpinto8419-Sep-07 1:35 
Questionurgent: can any one plz solve my problem regading SQL Query Pin
mavii18-Sep-07 21:58
mavii18-Sep-07 21:58 
AnswerRe: urgent: can any one plz solve my problem regading SQL Query Pin
arnoldpinto8418-Sep-07 22:13
arnoldpinto8418-Sep-07 22:13 
GeneralRe: urgent: can any one plz solve my problem regading SQL Query Pin
mavii18-Sep-07 22:56
mavii18-Sep-07 22:56 

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.