Configure CCL queries to interact with a kdb+ database using a database user name, password, and Database Source Name (DSN).
To set up a connection from within Sybase CEP Engine.
... FROM (DATABASE "Database1" SCHEMA "valuation.ccs" [[SELECT * FROM Stocks WHERE T.symbol=Stocks.symbol]])the database name (Database1) in the database subquery should match the service name in the c8-services.xml file.