title: How do I create a new customer segment in Websphere Commerce using only DB2 database queries?
body: <p>How can I add a new customer segment using only the database?  I know how to create customer segments in CMC, but I'm looking to automate the process of adding, say, hundreds of user segments by writing a script to do it for me.  However, I can't find any information on how to create a new customer segment using only DB2 database queries. </p>
  
  <p>Is there a way to create a new customer segment using nothing but DB2 database queries?</p>