इस तरह कोशिश करें
SELECT count(*) as cnt FROM pg_tables t where tableowner=current_user
and tablename='Tablename' and schemaname='schemaneme'
if cnt = 0 then (CREATE Table TableName)
इस तरह कोशिश करें
SELECT count(*) as cnt FROM pg_tables t where tableowner=current_user
and tablename='Tablename' and schemaname='schemaneme'
if cnt = 0 then (CREATE Table TableName)