This can not be detected ...
There is an alternative argument in the SQL stored procedure, say How do I avoid writing the 'core' of the query twice? You can try: < for yourself, which is always true, otherwise The parameter is used. id (int) . For the sake of simplicity, say, I have to return a result set with the extra
... and id = @ id , if the argument is not null. If I do not only return the result set
CTE in rescue?
@id If the null query compares your ID column then <>
No comments:
Post a Comment