sql server - Incorrect syntax near '?' -


i getting exception incorrect syntax near '?'. query passing 1 parameter activity_report_id

select      a.activity_report_id,report_start,report_end   , voyage_ref,voy_status,vsl_name,charterer_name,cp_date   , appr_days_gross,appr_days_offhire   , appr_days_net,appr_revenue,appr_expense,appr_tce_gross   , appr_tce_gross_daily,appr_exp_daily_pool_fees,comm_pcnt   , appr_comm_amt,appr_tce_net,voy_start_date,voy_end_date   , appr_tce_net_daily,report_start,report_end,net_pool_tce   , daily_net_pool_tce,gross_pool_tce,daily_gross_pool_tce pa_ref_activity_report_dtls inner join pa_ref_activity_report_summary b  on a.activity_report_id=b.activity_report_id a.pool_id=1   , a.activity_report_id=?   , caller_type='activity_report' 


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -