How to define connection's lifetime in SQLBase

This article explains the commands used to define connection's lifetime in SQLBase.
  • 1401

Introduction

Connection lifetime is the maximum time to keep connection in a connection pool. It is given in seconds. The default value of connection lifetime in SQLBase is 60 seconds. Connection string used to define connection's lifetime in SQLBase have four parameters User id, Data source, password and connection lifetime. Connection string is given below.

Syntax

Data Source=server_add;User Id=user_name;Password=password; Connection Lifetime=120;

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.