Click here to Skip to main content
15,893,487 members
Home / Discussions / Database
   

Database

 
AnswerRe: Get Max Pin
Wendelius17-Nov-08 4:50
mentorWendelius17-Nov-08 4:50 
AnswerRe: Get Max Pin
harsha_mec34517-Nov-08 18:32
harsha_mec34517-Nov-08 18:32 
Questionsp_cursoropen - does not return rowcount Pin
Krishnraj16-Nov-08 20:10
Krishnraj16-Nov-08 20:10 
AnswerRe: sp_cursoropen - does not return rowcount Pin
topcatalpha17-Nov-08 2:27
topcatalpha17-Nov-08 2:27 
GeneralRe: sp_cursoropen - does not return rowcount Pin
Krishnraj17-Nov-08 3:14
Krishnraj17-Nov-08 3:14 
AnswerRe: sp_cursoropen - does not return rowcount Pin
Wendelius17-Nov-08 4:47
mentorWendelius17-Nov-08 4:47 
GeneralRe: sp_cursoropen - does not return rowcount Pin
Krishnraj17-Nov-08 19:53
Krishnraj17-Nov-08 19:53 
GeneralRe: sp_cursoropen - does not return rowcount Pin
Wendelius18-Nov-08 4:52
mentorWendelius18-Nov-08 4:52 
No I don't believe that the inner join is the problem. Now you're using fast forward-only cursor.

What happens if you change to keyset-driven cursor:
Exec sp_cursoropen @cursor output, @mainQuery, <code>1,</code> 8196, @rowcount output

or dynamic cursor
Exec sp_cursoropen @cursor output, @mainQuery, <code>2,</code> 8196, @rowcount output


The need to optimize rises from a bad design.

My articles[^]

GeneralRe: sp_cursoropen - does not return rowcount Pin
Krishnraj18-Nov-08 18:16
Krishnraj18-Nov-08 18:16 
GeneralRe: sp_cursoropen - does not return rowcount Pin
Wendelius19-Nov-08 4:11
mentorWendelius19-Nov-08 4:11 
QuestionDatabase Update issue Pin
AndieDu16-Nov-08 16:38
AndieDu16-Nov-08 16:38 
AnswerRe: Database Update issue Pin
Wendelius16-Nov-08 18:01
mentorWendelius16-Nov-08 18:01 
AnswerRe: Database Update issue Pin
Vimalsoft(Pty) Ltd17-Nov-08 20:05
professionalVimalsoft(Pty) Ltd17-Nov-08 20:05 
QuestionUsing Between Condition in CASE Statement Pin
dboy22116-Nov-08 8:07
dboy22116-Nov-08 8:07 
AnswerRe: Using Between Condition in CASE Statement Pin
Wendelius16-Nov-08 9:55
mentorWendelius16-Nov-08 9:55 
GeneralRe: Using Between Condition in CASE Statement Pin
dboy22116-Nov-08 12:21
dboy22116-Nov-08 12:21 
GeneralRe: Using Between Condition in CASE Statement Pin
Wendelius16-Nov-08 12:37
mentorWendelius16-Nov-08 12:37 
QuestionProblem with cursor for all databases Pin
angel domon16-Nov-08 0:58
angel domon16-Nov-08 0:58 
AnswerRe: Problem with cursor for all databases Pin
Wendelius17-Nov-08 7:17
mentorWendelius17-Nov-08 7:17 
QuestionReorder numeric column Pin
AlexeiXX315-Nov-08 11:05
AlexeiXX315-Nov-08 11:05 
AnswerRe: Reorder numeric column Pin
AlexeiXX315-Nov-08 11:26
AlexeiXX315-Nov-08 11:26 
GeneralRe: Reorder numeric column Pin
Blue_Boy15-Nov-08 12:15
Blue_Boy15-Nov-08 12:15 
GeneralRe: Reorder numeric column Pin
AlexeiXX315-Nov-08 13:06
AlexeiXX315-Nov-08 13:06 
GeneralRe: Reorder numeric column Pin
Mycroft Holmes15-Nov-08 23:03
professionalMycroft Holmes15-Nov-08 23:03 
AnswerRe: Reorder numeric column Pin
Wendelius15-Nov-08 22:22
mentorWendelius15-Nov-08 22:22 

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.