Skip to content

Instantly share code, notes, and snippets.

@petrhnilica
petrhnilica / flexibee-evidencies.sql
Created March 9, 2018 18:44 — forked from Vitexus/flexibee-evidencies.sql
SQL Queries For Each FlexiBee evidence
This file has been truncated, but you can view the full file.
############################################ analyza-nakupu ###########################################################
/* centralServer LOG*/ select hodnota from cssetting where klic = $1
/* centralServer DETAIL*/ parameters: $1 = 'ACCESS_CONTROL_ALLOW_ORIGIN'
/* centralServer LOG*/ select a.attname from pg_class c join pg_attribute a on a.attrelid = c.oid join pg_type t on t.oid = a.atttypid where relname = 'csuzivatel' and a.attnum > 0 and not a.attisdropped order by a.attnum
/* centralServer LOG*/ SELECT max(dbversion) FROM dbversion WHERE needreimport = 't'