We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8321aae commit aec8251Copy full SHA for aec8251
src/test/java/net/sf/jsqlparser/test/update/UpdateTest.java
@@ -55,4 +55,9 @@ public void testUpdateWithFrom() throws JSQLParserException {
55
public void testUpdateMultiTable() throws JSQLParserException {
56
assertSqlCanBeParsedAndDeparsed("UPDATE T1, T2 SET T1.C2 = T2.C2, T2.C3 = 'UPDATED' WHERE T1.C1 = T2.C1 AND T1.C2 < 10");
57
}
58
+
59
+ @Test
60
+ public void testUpdateWithSelect() throws JSQLParserException {
61
+ assertSqlCanBeParsedAndDeparsed("UPDATE NATION SET (N_NATIONKEY) = (SELECT ? FROM SYSIBM.SYSDUMMY1)");
62
+ }
63
0 commit comments