Can I add named computed columns in access sql query? -
i need make stored procedure sql server work in access, , having serious issue. when try run query in access, asks me parameter named lna, when value column provided in query. if remove name column, query works fine, need column have name can access .net program. can name computed column in sql query in access?
select [idcatalogo], [idarticulo], [ncm], lna=iif(isnull(l.posicion),'*','') [catarticulos] c left join lnaposicionesres5 l on l.posicion = c.ncm ([idcatalogo] = @idcatalogo)
i'm not sure if ms access supports =
syntax. normal way of doing uses as
:
select [idcatalogo], [idarticulo], [ncm], iif(isnull(l.posicion), '*', '') lna . . .
Comments
Post a Comment