execute  logout

Chapter 5: Using Adaptive Server Enterprise Web Services

login

The login method establishes a persistent connection to Adaptive Server Enterprise.

Syntax

login aseServerName userName password

Parameters

Usage

Before a SQL statement or stored procedure can be executed on Adaptive Server Enterprise, a connection must first be established. However, the login method is optional. If you invoke an execute method without first invoking the login method, Adaptive Server Enterprise Web Services automatically establishes a non-persistent connection to Adaptive Server Enterprise. The login method initiates a persistent connection to Adaptive Server Enterprise. The connection is terminated with the logout method. Persistent connections that are inactive for 60 seconds are terminated automatically.





Copyright © 2004. Sybase Inc. All rights reserved. logout

View this book as PDF