Answer Posted / neethu mohanan
stored procedure is used to write queries,if there is an
error in the query it willnot be saved.In this if there is
any parameters first declare it,and then the query is write.
Each stored procedure could have a name.We can create the
stored procedure for any tables in the database.
create database->create table->stored procedure.
format:
(stored procedure name)
(@parameter1 type(size),@parameter2 type(size))
//(query)
insert into tablename values(@parameter1,@parameter2 )
| Is This Answer Correct ? | 3 Yes | 11 No |
Post New Answer View All Answers
Do you know data definition language, data control language and data manipulation language?
Does partitioning ssd reduce performance?
How to test subquery results with the exists operator?
Do you know query execution plan?
What are page splits? : SQL Server Architecture
You have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem?
Do you know sql server 2008 introduces automatic auditing?
Is the primary key column of a table an index in ms sql server?
Why do we backup Active Directory ?
How important do you consider cursors or while loops for a transactional database?
What are the different authentication modes in sql server? How can it be changed?
What you can do to delete a table without the delete trigger firing?
What is executereader?
Explain about remote stored procedure?
Can you import Microsoft Excel data to SSRS?