DB2データベースクエリのすべての列を表示したいが、特定の列を前面に配置したい。私は怖いDB2クエリーで特定のフィールドとスターを選択するにはどうすればよいですか?
SQL State: 42601
Vendor Code: -104
Message: [SQL0104] Token * was not valid. Valid tokens: (+ - ? : DAY INF NAN RID ROW RRN CASE CAST CHAR DATE DAYS HASH. Cause . . . . . : A syntax error was detected at token *.
Token * is not a valid token. A partial list of valid tokens is (+ - ? : DAY INF NAN RID ROW RRN CASE CAST CHAR DATE DAYS HASH.
This list assumes that the statement is correct up to the token.
The error may be earlier in the statement, but the syntax of the statement appears to be valid up to this point. Recovery . . . :
Do one or more of the following and try the request again: -- Verify the SQL statement in the area of the token *.
Correct the statement. The error could be a missing comma or quotation mark, it could be a misspelled word, or it could be related to the order of clauses.
-- If the error token is <END-OF-STATEMENT>, correct the SQL statement because it does not end with a valid clause.
Processing ended because the highlighted statement did not complete successfully
ありがとう@mustaccioこれは完全に機能しました。 –