Quantcast
Viewing all articles
Browse latest Browse all 9190

Re: Parameter not accepted in Query Generator

hi, i tried to execute similar query, but, i haved errors. Searching i found this structure.

 

/* SELECT FROM [dbo].[OACP] T0 */

DECLARE @Par AS nvarchar(20)

/* WHERE */

SET @Par = /* T0.Year */ '[%0]'

 

select *

from t1 .............. -- your query

where field = @Par -- change parameters like this


Viewing all articles
Browse latest Browse all 9190

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>