Establishes a connection to a specified server’s SQL processor.
Valid in: | SPD Server |
specifies all the connection information needed to establish the connection to the server’s SQL processor. When a connection is made successfully, a connection, token (contok) is returned to the caller.
A null-terminated string identifying the server’s SQL processor to connect to for this session. The syntax for the string is identical to that used for the SAS PROC SQL pass-through CONNECT statement. For more information about SQL pass-through CONNECT statements, see Specify SQL Options by Using Explicit Pass-Through Code.
Returns a connection token if the connection successfully completes. You must retain the token. Use it in subsequent SPQL library operations that you perform using the connection.