[#5403] IF EXISTS emulation using THROW doesn't work for SQL Server 2008
This commit is contained in:
parent
b8be759a18
commit
03ae8a3d7d
@ -168,6 +168,7 @@ final class Keywords {
|
||||
static final Keyword K_NULL = keyword("null");
|
||||
static final Keyword K_NULLS_FIRST = keyword("nulls first");
|
||||
static final Keyword K_NULLS_LAST = keyword("nulls last");
|
||||
static final Keyword K_NVARCHAR = keyword("nvarchar");
|
||||
static final Keyword K_OF = keyword("of");
|
||||
static final Keyword K_OFFSET = keyword("offset");
|
||||
static final Keyword K_OLD_TABLE = keyword("old table");
|
||||
@ -193,6 +194,7 @@ final class Keywords {
|
||||
static final Keyword K_PRIMARY_KEY = keyword("primary key");
|
||||
static final Keyword K_PRIOR = keyword("prior");
|
||||
static final Keyword K_RAISE = keyword("raise");
|
||||
static final Keyword K_RAISERROR = keyword("raiserror");
|
||||
static final Keyword K_RECURSIVE = keyword("recursive");
|
||||
static final Keyword K_REFERENCES = keyword("references");
|
||||
static final Keyword K_REGEXP = keyword("regexp");
|
||||
|
||||
@ -79,6 +79,7 @@ import static org.jooq.impl.Keywords.K_AUTO_INCREMENT;
|
||||
import static org.jooq.impl.Keywords.K_BEGIN;
|
||||
import static org.jooq.impl.Keywords.K_BEGIN_CATCH;
|
||||
import static org.jooq.impl.Keywords.K_BEGIN_TRY;
|
||||
import static org.jooq.impl.Keywords.K_DECLARE;
|
||||
import static org.jooq.impl.Keywords.K_DO;
|
||||
import static org.jooq.impl.Keywords.K_ELSE;
|
||||
import static org.jooq.impl.Keywords.K_END;
|
||||
@ -96,10 +97,13 @@ import static org.jooq.impl.Keywords.K_GENERATED_BY_DEFAULT_AS_IDENTITY;
|
||||
import static org.jooq.impl.Keywords.K_IDENTITY;
|
||||
import static org.jooq.impl.Keywords.K_IF;
|
||||
import static org.jooq.impl.Keywords.K_IN;
|
||||
import static org.jooq.impl.Keywords.K_INT;
|
||||
import static org.jooq.impl.Keywords.K_LIKE;
|
||||
import static org.jooq.impl.Keywords.K_LOOP;
|
||||
import static org.jooq.impl.Keywords.K_NULL;
|
||||
import static org.jooq.impl.Keywords.K_NVARCHAR;
|
||||
import static org.jooq.impl.Keywords.K_RAISE;
|
||||
import static org.jooq.impl.Keywords.K_RAISERROR;
|
||||
import static org.jooq.impl.Keywords.K_SERIAL;
|
||||
import static org.jooq.impl.Keywords.K_SERIAL8;
|
||||
import static org.jooq.impl.Keywords.K_START_WITH;
|
||||
@ -3374,6 +3378,16 @@ final class Tools {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user