![]() They are not tokens, they are effectively equivalent to whitespace. This is a sequence of three commands, one per line (although this is not required more than one command can be on a line, and commands can usefully be split across lines).Īdditionally, comments can occur in SQL input. INSERT INTO MY_TABLE VALUES (3, 'hi there') Tokens are normally separated by whitespace (space, tab, newline), but need not be if there is no ambiguity (which is generally only the case if a special character is adjacent to some other token type).įor example, the following is (syntactically) valid SQL input: Which tokens are valid depends on the syntax of the particular command.Ī token can be a key word, an identifier, a quoted identifier, a literal (or constant), or a special character symbol. The end of the input stream also terminates a command. A command is composed of a sequence of tokens, terminated by a semicolon ( “ ”). ![]() ![]() SQL input consists of a sequence of commands. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |