Skip to content

Table names, quoted and delimited #111

Answered by xnuinside
nurih asked this question in Q&A
Discussion options

You must be logged in to vote

I started to add table_name_delimiters output, but recognized that it will be not correct to use this field for whole table, because for example, this is valid statement:

create table foo.[index] (col1 int);

delimiters [ and ] used only in one name, but other without it
also this will be valid too:
create table foo.[index] ("col1" int);

so I just added 'normalize_names" flag - https://github.com/xnuinside/simple-ddl-parser/pull/114/files

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@nurih
Comment options

@xnuinside
Comment options

@nurih
Comment options

Comment options

You must be logged in to vote
1 reply
@nurih
Comment options

Answer selected by nurih
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants