Click here to Skip to main content
16,010,394 members
Home / Discussions / Database
   

Database

 
GeneralRe: Design question - returning varying results Pin
Judah Gabriel Himango21-Sep-06 10:00
sponsorJudah Gabriel Himango21-Sep-06 10:00 
GeneralRe: Design question - returning varying results Pin
Scott Serl21-Sep-06 10:27
Scott Serl21-Sep-06 10:27 
GeneralRe: Design question - returning varying results Pin
Judah Gabriel Himango21-Sep-06 18:01
sponsorJudah Gabriel Himango21-Sep-06 18:01 
QuestionRowFilter and Dataset Pin
Itanium21-Sep-06 2:28
Itanium21-Sep-06 2:28 
AnswerRe: RowFilter and Dataset Pin
Stephan Pilz21-Sep-06 21:06
Stephan Pilz21-Sep-06 21:06 
QuestionVisual Query Builder Pin
BadKarma21-Sep-06 2:09
BadKarma21-Sep-06 2:09 
QuestionSQL Server CURSOR Pin
choorakkuttyil21-Sep-06 2:07
choorakkuttyil21-Sep-06 2:07 
AnswerRe: SQL Server CURSOR Pin
_AK_21-Sep-06 3:34
_AK_21-Sep-06 3:34 
choorakkuttyil wrote:
how to declare

DECLARE cursor_name CURSOR
[LOCAL | GLOBAL]
[FORWARD_ONLY | SCROLL]
[STATIC | KEYSET | DYNAMIC | FAST_FORWARD]
[READ_ONLY | SCROLL_LOCKS | OPTIMISTIC]
[TYPE_WARNING]
FOR select_statement
[FOR UPDATE [OF column_name [,...n]]]

opening a cursor:===

OPEN { { [GLOBAL] cursor_name } | cursor_variable_name}

choorakkuttyil wrote:
fetch


FETCH
[ [ NEXT | PRIOR | FIRST | LAST
| ABSOLUTE {n | @nvar}
| RELATIVE {n | @nvar}
]
FROM
]
{ { [GLOBAL] cursor_name } | @cursor_variable_name}
[INTO @variable_name[,...n] ]


choorakkuttyil wrote:
deallocate


DEALLOCATE { { [GLOBAL] cursor_name } | @cursor_variable_name}

Smile | :)

Best Regards,
Apurva Kaushal

AnswerRe: SQL Server CURSOR Pin
Eric Dahlvang21-Sep-06 3:45
Eric Dahlvang21-Sep-06 3:45 
QuestionSQL server 2005 express edition Pin
NituC21-Sep-06 0:20
NituC21-Sep-06 0:20 
AnswerRe: SQL server 2005 express edition Pin
Dave Kreskowiak21-Sep-06 10:34
mveDave Kreskowiak21-Sep-06 10:34 
QuestionAccess Database Pin
V.20-Sep-06 23:48
professionalV.20-Sep-06 23:48 
AnswerRe: Access Database Pin
Rob Graham21-Sep-06 4:46
Rob Graham21-Sep-06 4:46 
GeneralRe: Access Database Pin
V.21-Sep-06 4:57
professionalV.21-Sep-06 4:57 
QuestionReset the Primary KEY Pin
vengaqua20-Sep-06 22:14
vengaqua20-Sep-06 22:14 
AnswerRe: Reset the Primary KEY Pin
Colin Angus Mackay20-Sep-06 22:27
Colin Angus Mackay20-Sep-06 22:27 
AnswerRe: Reset the Primary KEY Pin
Khawar Abbas120-Sep-06 23:59
Khawar Abbas120-Sep-06 23:59 
GeneralRe: Reset the Primary KEY Pin
Colin Angus Mackay21-Sep-06 0:50
Colin Angus Mackay21-Sep-06 0:50 
JokeRe: Reset the Primary KEY Pin
_AK_21-Sep-06 3:36
_AK_21-Sep-06 3:36 
GeneralRe: Reset the Primary KEY Pin
Farhan Noor Qureshi21-Sep-06 7:47
Farhan Noor Qureshi21-Sep-06 7:47 
GeneralRe: Reset the Primary KEY Pin
Dave Kreskowiak21-Sep-06 10:23
mveDave Kreskowiak21-Sep-06 10:23 
QuestionGet hour from date Pin
papa8020-Sep-06 20:51
papa8020-Sep-06 20:51 
AnswerRe: Get hour from date Pin
vicky0000020-Sep-06 22:22
vicky0000020-Sep-06 22:22 
GeneralRe: Get hour from date Pin
papa8021-Sep-06 2:54
papa8021-Sep-06 2:54 
QuestionSQL Procedures help plz... Pin
Aqueel20-Sep-06 18:21
Aqueel20-Sep-06 18:21 

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.