Viewing 2 posts - 1 through 2 (of 2 total)
You can form final version of sql string based on if condition, i.e. if @forename is not null
sql = sql +...
August 3, 2006 at 7:17 am
#653080
Square brackets are used to make DBMS understand that do not treat the word as reserved word used by DBMS, if it is a SQL reserved word.
August 3, 2006 at 7:06 am
#653074