Comments in Queries

Teradata® Vantage User Guide

prodname
Teradata Vantage
vrm_release
1.0
category
User Guide
featnum
B700-4002-098K

Queries with "@coprocessor"

Comments in queries with "@coprocessor" must have the syntax /* comment */. For example:

SELECT * FROM GLMPredict@coprocessor (
  ON admissions_test PARTITION BY ANY
  ON glm_admissions_model AS model DIMENSION
  USING
  Accumulate ('id', 'masters', 'gpa', 'stats', 'programming', 'admitted')
  Family ('LOGISTIC')     /* Same as BINOMIAL */
  LinkFunction ('LOGIT')  /* Default */
) AS dt;

Queries without "@coprocessor"

Comments in queries without "@coprocessor" can have either the preceding syntax or the syntax -- comment . For example:
SELECT * FROM GLMPredict (
  ON admissions_test PARTITION BY ANY
  ON glm_admissions_model AS model DIMENSION
  USING
  Accumulate ('id', 'masters', 'gpa', 'stats', 'programming', 'admitted')
  Family ('LOGISTIC')     /* Same as BINOMIAL */
  LinkFunction ('LOGIT')  -- Default
) AS dt;