Often I notice many users writing a SQL string like the following:
sql = "SELECT * FROM <tblName> "
sql = sql & "WHERE X = " & <variablename > & ""
Why concatenate the string? If the actual string doesn't change, why
concatenate it?
sql = "SELECT * FROM <tblName> WHERE X = " & <variablename > & ""
seems the better method.
Comments?
sql = "SELECT * FROM <tblName> "
sql = sql & "WHERE X = " & <variablename > & ""
Why concatenate the string? If the actual string doesn't change, why
concatenate it?
sql = "SELECT * FROM <tblName> WHERE X = " & <variablename > & ""
seems the better method.
Comments?
Comment