How will oyu test the stored procedure taking two parameters
namely first name and last name returning full name?
Answers were Sorted based on User's Feedback
create procedure prctrial @firstname char(5),
@lastname char{5}
as
print @firstname+''+@lastname
prctrial Miss,Happy
output....Miss Happy
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / jerry joseph
EXEC ProcedureName 'FirstName', 'LastName'
Is This Answer Correct ? | 2 Yes | 2 No |
What is the use of @@spid?
Can you get second highest salary from the table?
What is join query?
What are triggers? How many triggers you can have on a table? How to invoke a trigger on demand?
How to read 2nd highest sal from EMP table?
what is the difference between openrowset and openquery?
Why use “nolock” in sql server?
What are defaults? Is there a column to which a default can't be bound?
What are relationships and mention different types of relationships in the dbms
What is filestream?
Explain few examples of stored procedure over triggers?
What is difference between primary key and foreign key?