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

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -