Click here to Skip to main content
15,914,400 members
Home / Discussions / Database
   

Database

 
GeneralRe: Casting error when passing a strongly typed dataset from a Webservice Pin
dazzler215-Feb-05 20:47
dazzler215-Feb-05 20:47 
Generalprob with sp return value Pin
amalatsliit15-Feb-05 15:55
amalatsliit15-Feb-05 15:55 
GeneralRe: prob with sp return value Pin
Scott Serl16-Feb-05 8:52
Scott Serl16-Feb-05 8:52 
GeneralRe: prob with sp return value Pin
amalatsliit16-Feb-05 15:17
amalatsliit16-Feb-05 15:17 
GeneralRe: prob with sp return value Pin
Scott Serl16-Feb-05 16:25
Scott Serl16-Feb-05 16:25 
GeneralRe: prob with sp return value Pin
amalatsliit16-Feb-05 19:25
amalatsliit16-Feb-05 19:25 
QuestionCould someone answer this? Pin
Tom Wright15-Feb-05 10:51
Tom Wright15-Feb-05 10:51 
AnswerRe: Could someone answer this? Pin
Rob Graham16-Feb-05 16:11
Rob Graham16-Feb-05 16:11 
The answer to your first question is no, it will gladly do nothing gracefully, and if there are any records in the table, it will try to update the TSK2_DATE_TIME field in all of them (failing if they have a unique index or constraint or ar key fields) since there is no "where" clause to select a unique record. I seem to recall that the Execute method does return a long containing the number of records affected, you could check this for 0...


The second should work for most data types, but might fail if the fields are null. There is a nice wrapper class for ADO Here[^] that takes some of the pain away...

Anger is the most impotent of passions. It effects nothing it goes about, and hurts the one who is possessed by it more than the one against whom it is directed.
Carl Sandburg

GeneralRe: Could someone answer this? Pin
Tom Wright17-Feb-05 4:27
Tom Wright17-Feb-05 4:27 
GeneralRe: Could someone answer this? Pin
Rob Graham17-Feb-05 7:54
Rob Graham17-Feb-05 7:54 
GeneralRe: Could someone answer this? Pin
Tom Wright22-Feb-05 7:47
Tom Wright22-Feb-05 7:47 
GeneralADODB Record set Pin
HahnTech15-Feb-05 9:47
HahnTech15-Feb-05 9:47 
GeneralRe: ADODB Record set Pin
Anonymous16-Feb-05 11:46
Anonymous16-Feb-05 11:46 
GeneralData merge Pin
pedros7314-Feb-05 23:41
pedros7314-Feb-05 23:41 
GeneralRe: Data merge Pin
pjholliday15-Feb-05 0:33
pjholliday15-Feb-05 0:33 
GeneralRe: Data merge Pin
pedros7315-Feb-05 3:11
pedros7315-Feb-05 3:11 
GeneralRe: Data merge Pin
numbrel15-Feb-05 9:01
numbrel15-Feb-05 9:01 
GeneralRe: Data merge Pin
pedros7315-Feb-05 9:14
pedros7315-Feb-05 9:14 
GeneralRe: Data merge Pin
numbrel15-Feb-05 10:06
numbrel15-Feb-05 10:06 
GeneralRe: Data merge Pin
pedros7316-Feb-05 4:35
pedros7316-Feb-05 4:35 
GeneralRe: Data merge Pin
numbrel16-Feb-05 5:28
numbrel16-Feb-05 5:28 
Generalcopy database to server Pin
Aviv Halperin14-Feb-05 23:24
Aviv Halperin14-Feb-05 23:24 
GeneralRe: copy database to server Pin
-Dr_X-24-Mar-05 14:33
-Dr_X-24-Mar-05 14:33 
Generalerror: Could not determine which columns uniquely identify the rows for "Table1" Pin
sagmam14-Feb-05 22:59
sagmam14-Feb-05 22:59 
GeneralAll about Updating data thru Dataset Pin
Mahesh167914-Feb-05 18:33
Mahesh167914-Feb-05 18:33 

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.