Jump to content
We've recently updated our Privacy Statement, available here ×

SQL Server Stored Procs - perhaps I am slow


dogfuel

Recommended Posts

Hello - Using Sql Server stored procs as data provider, the below works:
 dbo.usp_RptComprehensiveLoadReport;1, '2009-Sep-20', '2009-Sep-24'

When I try to pass in Jasper parameters for the date strings (as below), I cannot even retreive field in the query window dbo.usp_RptComprehensiveLoadReport;1, $P{string_BegDate}, $P{string_EndDate} does not work (defaults are valid).nor does:
dbo.usp_RptComprehensiveLoadReport;1, '$P{string_BegDate}', '$P{string_EndDate}'

Am I missing the obvious? Error is Token Parsing Error: Lexical Error at Line 1 Column 3. Encountered "0"(48), after :"\'2" Thanks!



Post Edited by dogfuel at 09/27/2009 15:28
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...