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 to connect to SQL Azure Database by using sqlcmd?
Explain transaction server distributed transaction?
What is catalog views?
Explain Normalization and DE normalization
What is cursors? And what are the different types of cursor?
Do you know exporting and importing utility?
What are the types of subscriptions in SQL Server replication?
Explain the ways to controlling cursor behavior?
What are the steps you will take to improve the performance of a poor performing query?
Can you explain what are commit and rollback in sql?
How to change server name in sql server?
Explain what role entity and relationship play in an ER diagram.
What is the library index called?
how do you test proper tcp/ip configuration windows machine? : Sql server database administration
What is sql server used for?