V
vcinquini
I'm doing some maintanence in a application where I've found a lot of
code like this:
strSql = _
"SELECT u.id_usr, u.cd_usr, p.nm_psoa, u.nr_niv_hier_usr" & _
" FROM " & GlobalDB.TABLE_USERS & _
" u, " & GlobalDB.TABLE_PERSONS & _
" p WHERE u.fl_exc_usr = 0 AND p.id_psoa = u.id_psoa" & _
" ORDER BY p.nm_psoa, u.nr_niv_hier_usr"
I'd like to know if vb.net compiler is smart enough to detect this at
compiler time and replace for a unique string resulting from the
concatenation of all strings or the concatenation will occur at run
time?
Thanks in advance
code like this:
strSql = _
"SELECT u.id_usr, u.cd_usr, p.nm_psoa, u.nr_niv_hier_usr" & _
" FROM " & GlobalDB.TABLE_USERS & _
" u, " & GlobalDB.TABLE_PERSONS & _
" p WHERE u.fl_exc_usr = 0 AND p.id_psoa = u.id_psoa" & _
" ORDER BY p.nm_psoa, u.nr_niv_hier_usr"
I'd like to know if vb.net compiler is smart enough to detect this at
compiler time and replace for a unique string resulting from the
concatenation of all strings or the concatenation will occur at run
time?
Thanks in advance