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
What is an inner join?
What is sql server replication? : sql server replication
Tell me the use of keyword with encryption. Create a store procedure with encryption?
How to get a list of columns using the "sp_help" stored procedure in ms sql server?
State the difference between union and union all?
What is the difference between coalesce() & isnull()?
Suppose i have a table that contains 5 columns like col1,col2...colm5.I want to import only two column through BCP utility.How to do same through BCP in sybase.
How to enable/disable indexes?
explain different types of joins? : Sql server database administration
How column data types are determined in a view?
What is a print index?
Explain what is the difference between a local and a global temporary table?
How to join two tables in a single query in ms sql server?
What are extended events in sql server?
What is the difference between index seek vs. Index scan?