We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d028cd commit 6d9da2fCopy full SHA for 6d9da2f
src/language/sql/tokens.ts
@@ -303,6 +303,10 @@ export default class SQLTokeniser {
303
}
304
305
306
+ if (i > 0 && i < tokens.length - 2 && tokens[i].value.toLowerCase() === 'for' && tokens[i - 1].type === 'closebracket' && tokens[i + 2].value.toLowerCase() === 'data') {
307
+ goodMatch = false; // data-type with FOR BIT/SBCS/MIXED DATA
308
+ }
309
+
310
if (goodMatch) {
311
const matchedTokens = tokens.slice(i, i + type.match.length);
312
const value = state.content.substring(matchedTokens[0].range.start, matchedTokens[matchedTokens.length - 1].range.end);
0 commit comments