Have a string variable (strObject, will be a table or a view) that needs to be enclosed in single quotes:
strSQL = $"select ObjectType, ObjectName, ColumnName, Affinity, ColumnID
from SysColumns where ObjectName = ${Chr(39) & strObject & Chr(39)}
order by ColumnID asc"$
(In this particular...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.