diff --git a/console/src/components/Services/Data/RawSQL/Actions.js b/console/src/components/Services/Data/RawSQL/Actions.js index a6cc0b2e933fc..3733cd6c7079b 100644 --- a/console/src/components/Services/Data/RawSQL/Actions.js +++ b/console/src/components/Services/Data/RawSQL/Actions.js @@ -53,7 +53,7 @@ const executeSQL = isMigration => (dispatch, getState) => { ]; // check if track view enabled if (getState().rawSQL.isTableTrackChecked) { - const regExp = /create (view|table) (\S+)/; + const regExp = /create (view|table) (\S+)/i; const matches = sql.match(regExp); let trackViewName = matches[2]; if (trackViewName.indexOf('.') !== -1) {