db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Wagner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TORQUE-305) Insert with a Select Subquery
Date Wed, 13 Nov 2013 09:45:24 GMT
Michael Wagner created TORQUE-305:
-------------------------------------

             Summary: Insert with a Select Subquery
                 Key: TORQUE-305
                 URL: https://issues.apache.org/jira/browse/TORQUE-305
             Project: Torque
          Issue Type: Improvement
    Affects Versions: 4.0
            Reporter: Michael Wagner


It would be nice if the torque criteria api would support inserts with a given sub query like
the following:

INSERT INTO table_a (column_a_value, column_b_value, column_c_value)
  SELECT
    /* Literal number values with column aliases */
    1 AS column_a_value,
    2 AS column_b_value,
    column_c_value
  FROM table_b 
  WHERE ...;



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message