标签: postgresql common-table-expression
是一种在With语句中添加文本变量的方法吗?
sSQL = 'insert into countries values(DEFAULT,''Chile'') RETURNING id' ; WITH rows AS( sSQL ) SELECT id INTO _id FROM rows;