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 advantage of specifying WITH GRANT OPTION in the GRANT command?
What's the purpose of Stored Procedure?
How to create Clustered Primary Key to table?
How many levels of sp nesting is possible?
wat will be the sql query to extract only last 3 records from table supose table hving thousands for records
What are the filtered indexes?
What are the Advantages of using CTE in sql server?
How to create user defined functions with parameters?
What is the difference between left and right outer join?
when u import an excel file into sql if suppose one column has got a date field with system time attached to it what data type u will use in sql to import it in a table? Note: a condition is the excel file has no primary key defined to a column...also u r importing bulk data into sql
How to delete a database in ms sql server?
How to rename an existing table with the "sp_rename" stored procedure in ms sql server?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)