Can you give an example of Stored Procedure?
Answer Posted / jyothi
user defines sp...
say i want to select some values based on parameter
create PROCEDURE GetEmployeeDetails
-- Add the parameters for the stored procedure here
@sno int,
-- Insert statements for procedure here
select *from emp where sno=@sno
END
GO
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is filter index?
System requirements for sql server 2005 express edition?
What is b tree index?
What are null values in ms sql server?
Why use sub query in sql server and list out types of sub queries?
How to check status of stored procedure in sql server?
What is factless fact table? : sql server analysis services, ssas
What is the difference between cartesian product and cross join?
Explain Normalization and DE normalization
Can you name some of the dml commands in sql?
How to use values from other tables in update statements in ms sql server?
What is single-user mode and what are the steps you should follow to start sql server in single-user mode?
How many types of built in functions are there in sql server 2012?
How would you use user_constraints table in DB?
How to add a new dsn with the odbc driver for sql server?