CASE statement contains a complex conditional construct. If a certain statement is evaluated as true then the search_condition makes sure that the following statement gets executed. If there are no true statements are present then the ELSE clause is executed. An error is generated if there is no statement.
There are three following statements to execute a DBPAK in the stored procedure. These are the following steps.
1) In the browser hierarchy double click on the Query widget
2) After clicking it try finding insertProc resource in the Resource editor
3) Edit the insertProc resource.
These are the properties which a cursor has Assensitive, Read-only, Non-Scrollable. Assensitive is used either to perform a copy or not to perform a copy. When Read only function is used it is not updatable. It can scroll only in one direction and it cannot skip tables.
Cursors are supported by procedures, functions and triggers. Syntax of the cursors is embedded in SQL. Cursor should be declared before declaring handles. Before declaring cursors it is imperative to declare variables and conditions.
A RETURN statement is used to terminate the execution of a stored function. This inturn returns a value of expr to the function caller. In a stored function there should be at least a single return statement. If there exists multiple functions it can have multiple exit points.
Webmaster 23rd of May 2012
Tell us what you feel about Stored Procedure Interview Questions and Answers
All comments will be published after review. No login or registration is required to post a comment on Stored Procedure Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
So start sharing your thoughts regarding Stored Procedure Interview Questions and Answers
Thank you.
Loften Pierce (1 Comment) 22nd of February 2011
A question concerning Stored procedure Q & A - why, under:
Interview Categories - Database programming - MS SQL programming are referenced to PHP? I was interested in seeing T-SQL statements? Just wondering?