Click here to Skip to main content
15,886,689 members
Home / Discussions / Database
   

Database

 
QuestionGet Max Pin
Zeyad Jalil16-Nov-08 22:37
professionalZeyad Jalil16-Nov-08 22:37 
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 
Hi Mika,

Below is my query where u find variable @mainQuery. which is my table fetch query with Inner join with 3 tables.

Declare @cursor int, @rowcount int
                  
Exec sp_cursoropen @cursor output,@mainQuery,16,8196,@rowcount output                  
                  
Select @rowcount
                  
Exec sp_cursorfetch @cursor,32,@RowNumber,@PageSize                   
                  
Exec sp_cursorclose @cursor


Do u think that there may be a problem with inner join query?

Thanks for replying...

Krishnraj

GeneralRe: sp_cursoropen - does not return rowcount Pin
Wendelius18-Nov-08 4:52
mentorWendelius18-Nov-08 4:52 
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 

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.