SQL Server stored procedure with optional parameters but not all optional -


What is possible to create a stored procedure is a parameter that has all the different options, but in at least the parameters Should one be from?

For example, if I have a process that updates the record, then I will have to pass in the record id, and then at least one column has to be updated.

I must check the process to provide at least one additional parameter / column to do this . Why do I want to be a programming language of my choice rather than a stored proc? This logic is the type of investigation that TSQL is not very good; To check this, the syntax will be "icky" and it will slow down.

In addition, the biggest performance gain is running a stored proc you compile SQL. In this situation, because the SQL needs to be dynamically created, you lose that profit, thus, why is it in the form of a stored procedure?

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -