Guest User

Untitled

a guest
Mar 23rd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. SELECT concat('"',table_schema,'"', '.', '"',table_name, '"') as
  2. table_name
  3. FROM information_schema.columns
  4. WHERE table_schema = 'public' OR table_schema = 'cine' AND
  5. column_name = 'cine_uuid'
  6. GROUP BY table_name, table_schema;
  7.  
  8. DELETE FROM [TABELAS] WHERE cine_uuid = '00000000-0000-0000-0000-000000000000'
Add Comment
Please, Sign In to add comment