Answers for "PGSQL dynamic table name"

SQL
0

PGSQL dynamic table name

EXECUTE format('SELECT count(*) FROM %I '
   'WHERE inserted_by = $1 AND inserted <= $2', tabname)
   INTO c
   USING checked_user, checked_date;
Posted by: Guest on October-29-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language