Skip to content

Commit

Permalink
Create the table with ORGANIZE BY ROW so it can be alter (IBM#53)
Browse files Browse the repository at this point in the history
Create the table with ORGANIZE BY ROW so it can be alter

Signed-off-by: mingpangwei <[email protected]>

Signed-off-by: mingpangwei <[email protected]>
  • Loading branch information
mingpangwei authored Oct 27, 2022
1 parent 2d9f0d9 commit d04e241
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@
"\n",
"drop_object(\"LINREG.GSTEST_STD\", \"TABLE\", ibm_db_conn, verbose = True)\n",
" \n",
"sql = \"CREATE TABLE LINREG.GSTEST_STD AS (SELECT * FROM LINREG.GSTEST) WITH DATA\"\n",
"sql = \"CREATE TABLE LINREG.GSTEST_STD AS (SELECT * FROM LINREG.GSTEST) WITH DATA ORGANIZE BY ROW\"\n",
"stmt = ibm_db.exec_immediate(ibm_db_conn, sql)\n",
"print (\"Table LINREG.GSTEST_STD was created.\")\n",
"\n",
Expand Down

0 comments on commit d04e241

Please sign in to comment.