Skip to main content

See values behind parameterized INSERTs

  • October 7, 2014
  • 2 replies
  • 18 views

norbert_krupa
Forum|alt.badge.img+2
Is there any way to see what values were actually passed with a parameterized INSERT? For example;
INSERT INTO t1 (id, col1) VALUES (?, ?)
... is how the transaction appears in the dc_ tables and vertica.log.

2 replies

Oleg_Savkin
Forum|alt.badge.img
  • Participating Frequently
  • October 7, 2014

Can't you use something like

select request from v_monitor.query_requests where request like '%insert%'

to see your insert statement and its values


norbert_krupa
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • October 7, 2014
I think you might be onto something; it looks like dc_requests_* has the values.