I have this code in visual basic calling a stored procedure:
cmdr.CommandText = "EXEC [DATABASE].[USER].[BOMBA]" & cd_ponto & ",NULL," & ds.Tables("pt_col1").Rows(0).Item("qtde_pt_consumo_med") & ",'" & hr & "'"
But I need to see the values/args that are being passed to the procedure. I'm trying to figure it out by using SQL Server Profiler, but it is not appearing.
What can I do?