Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres in operator with comma separated values

select *
from DUALS
where num in (select unnest (string_to_array('1,2', ',')::integer[]))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #postgres #operator #comma #separated #values
ADD COMMENT
Topic
Name
3+3 =