Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8652

add parameters in store proc + query manager

$
0
0

hello, i have a store procedure with 2 date parameter(begin and end), from addon tables. I want to execute from query manager, but, i have errors. I tried with :

 

 

/* SELECT FROM dbo.beas_arbzeit T0 */

DECLARE @FechaInicio AS datetime -- also date

DECLARE @FechaFinal AS datetime -- also date

/* WHERE */

SET @FechaInicio = /* T0.anfZeit */ '[%0]'

SET @FechaFinal = /* T0.anfZeit */ '[%1]'

exec dbo.MyProcedureTest @FechaInicio, @FechaFinal

-- FAILED. Error message:  'Document' (RDOC)

 

 

Can you help me ? thanks.


Viewing all articles
Browse latest Browse all 8652

Trending Articles



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