if a parameter is not send to a stored procedure what type
of identifier is to be used in Stp and if that parameter is
not feed to the a query inside the Stp how to validate with
out useing IF condition

Answer Posted / amey

sql will throw error for not getting value to parameter.
reference object is null.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to modify an existing stored procedure in ms sql server?

536


What is store procedure? How do they work? When do you use?

513


What is sql server used for?

556


What are the tools available in market as an alternative to sql server reporting services?

88


what changed between the previous version of sql server and the current version? : Sql server database administration

520






What are statistics?

570


Explain the steps needed to create a scheduled job?

525


Why I have to use stored procedures?

598


What is indexing and its types?

530


What should be the fill factor for indexes created on tables? : sql server database administration

626


Can You Use A Stored Procedure To Provide Data To An Ssrs Report?

109


why would you call update statistics? : Sql server database administration

577


How to find table changes in sql server?

663


Can group by be used without aggregate functions?

479


Explain primary key, foreign key and unique key?

546