cancel
Showing results for 
Search instead for 
Did you mean: 

No error message with CREATE TABLE IF NOT EXISTS and invalid value for OWNER

0 Kudos
1,915

In a database where there is NO user with the name TW, statement #1 gives the expected error User ID 'TW' does not exist but statement #2 does not produce any error at all.

Statement #1 CREATE TABLE "TW"."ONE_Table" ("ID" INTEGER)

Statement #2 CREATE TABLE IF NOT EXISTS "TW"."ONE_Table" ("ID" INTEGER)

I would expect them to both throw the expected error message.

Am I missing some subtlety or is this a bug?

Accepted Solutions (1)

Accepted Solutions (1)

MarkCulp
Participant

This looks like a bug.

Answers (1)

Answers (1)

chris_keating
Product and Topic Expert
Product and Topic Expert

This has been fixed as Engineering Case 818012 and will be provided in an upcoming software update 17.0 Build 4934 or newer.