When SQL Anywhere is serving applications over TDS, it automatically sets relevant database options to values compatible with Adaptive Server Enterprise default behavior. You can change the options for TDS connections at any time.
Prerequisites
There are no prerequisites for this task.
Create a procedure that sets the database options you want.
Set the login_procedure option to the name of the new procedure.
Example
This procedure example changes only the quoted_identifier option from the default setting.
CREATE PROCEDURE my_startup_procedure() BEGIN IF CONNECTION_PROPERTY('CommProtocol')='TDS' THEN SET TEMPORARY OPTION quoted_identifier='Off'; END IF END; |
Run the following command to set the login_procedure option to the name of the new procedure:
SET OPTION login_procedure= 'DBA.my_startup_procedure'; |
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |