Click here to Skip to main content
15,888,351 members
Home / Discussions / Database
   

Database

 
Questionhow to convert dd/mm/yyyy format of date to date month, year Pin
chandra vempati11-Sep-08 7:53
chandra vempati11-Sep-08 7:53 
AnswerRe: how to convert dd/mm/yyyy format of date to date month, year [modified] Pin
Blue_Boy11-Sep-08 8:36
Blue_Boy11-Sep-08 8:36 
AnswerRe: how to convert dd/mm/yyyy format of date to date month, year Pin
Mycroft Holmes11-Sep-08 14:42
professionalMycroft Holmes11-Sep-08 14:42 
AnswerRe: how to convert dd/mm/yyyy format of date to date month, year Pin
dojohansen12-Sep-08 1:48
dojohansen12-Sep-08 1:48 
QuestionMid-cursor UPDATE resets IAsyncResult.IsComplete. How to fix? [modified] Pin
Gregory Gadow11-Sep-08 7:42
Gregory Gadow11-Sep-08 7:42 
AnswerRe: Mid-cursor UPDATE resets IAsyncResult.IsComplete. How to fix? Pin
dojohansen12-Sep-08 1:55
dojohansen12-Sep-08 1:55 
GeneralRe: Mid-cursor UPDATE resets IAsyncResult.IsComplete. How to fix? Pin
dojohansen12-Sep-08 2:05
dojohansen12-Sep-08 2:05 
AnswerResolution found, and BOY, is it an odd one Pin
Gregory Gadow15-Sep-08 4:48
Gregory Gadow15-Sep-08 4:48 
As I said above, the call to EXECUTE PROCESS executes a number of other stored procedures. All of them, like the root procedure, have SET NOCOUNT ON as the first line of code and SET NOCOUNT OFF as the last line of code. Removing these two lines from the sub procedures fixed the problem.

As best we can figure out, the scope of the NOCOUNT flag is global to the original procedure and not to the current procedure, like you would think. The net result was that when the UPDATE in the original procedure was run, the NOCOUNT flag was off and the server obligingly provided feedback that one row had been updated. That was enough for the IAsynchResult object to consider the process done. WTF | :WTF:

So now, everything works just the way we want it to work.
Questionredundant data Pin
harcaype11-Sep-08 3:08
harcaype11-Sep-08 3:08 
AnswerRe: redundant data Pin
Ashfield11-Sep-08 3:15
Ashfield11-Sep-08 3:15 
AnswerRe: redundant data Pin
harcaype11-Sep-08 4:47
harcaype11-Sep-08 4:47 
GeneralRe: redundant data Pin
Ashfield11-Sep-08 8:31
Ashfield11-Sep-08 8:31 
AnswerRe: redundant data Pin
Paul Conrad11-Sep-08 6:32
professionalPaul Conrad11-Sep-08 6:32 
QuestionScheduled jobs problem Pin
annu0811-Sep-08 3:03
annu0811-Sep-08 3:03 
AnswerRe: Scheduled jobs problem Pin
Mycroft Holmes11-Sep-08 14:57
professionalMycroft Holmes11-Sep-08 14:57 
QuestionProblem On Querry help!! Pin
papy-boom11-Sep-08 2:11
papy-boom11-Sep-08 2:11 
AnswerRe: Problem On Querry help!! Pin
Blue_Boy11-Sep-08 2:53
Blue_Boy11-Sep-08 2:53 
QuestionReading Excel cell type with OleDB (MFC) Pin
giangi8310-Sep-08 22:37
giangi8310-Sep-08 22:37 
QuestionUsing Between two Dates. Pin
Rajiya10-Sep-08 21:37
Rajiya10-Sep-08 21:37 
AnswerRe: Using Between two Dates. Pin
Ashfield10-Sep-08 23:12
Ashfield10-Sep-08 23:12 
GeneralRe: Using Between two Dates. Pin
Wendelius11-Sep-08 5:46
mentorWendelius11-Sep-08 5:46 
AnswerRe: Using Between two Dates. Pin
nelsonpaixao11-Sep-08 13:49
nelsonpaixao11-Sep-08 13:49 
QuestionJobs succeeds when executed manually but fails when scheduled Pin
annu0810-Sep-08 21:20
annu0810-Sep-08 21:20 
AnswerRe: Jobs succeeds when executed manually but fails when scheduled Pin
Ashfield10-Sep-08 23:14
Ashfield10-Sep-08 23:14 
GeneralRe: Jobs succeeds when executed manually but fails when scheduled Pin
annu0810-Sep-08 23:31
annu0810-Sep-08 23:31 

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.