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
How do you migrate data from mssql server to azure?
Explain boyce and codd normal form(bcnf)?
what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration
how to invoke a trigger on demand? : Sql server database administration
You are doing log shipping due to some reasons it is failing. How you will proceed from there
How to delete database objects with "drop" statements in ms sql server?
Tell me the difference between clustered and non-clustered index?
Describe and explain about SQL native client?
How can sql injection be stopped? : sql server security
How to call stored procedure using http soap?
Does sql server use t sql?
Does windows server 2016 come with sql server?
Do you know how to make remote connection in database?
What is SQL Azure Fabric?
How will you optimize a stored procedure optimization?