Skip site navigation (1) Skip section navigation (2)

Re: Nextval & Currval

From: "Shavonne Marietta Wijesinghe" <shavonne(dot)marietta(at)studioform(dot)it>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Nextval & Currval
Date: 2008-06-10 10:35:20
Message-ID: 00c801c8cae5$aee27f60$0602a8c0@DREAM (view raw or flat)
Thread:
Lists: pgsql-sql
This is the test i did for the connection.

' Connecting to the database
WriteToFile logfilepath, date & " " & time & "isobject(conn) = " & isobject(session("connection")) & vbcrlf , True
if not isobject(session("connection")) then
    Set conn = Server.CreateObject("ADODB.Connection")
    conn.Open "Form_Store_PSQL"
    session("connection") = conn
    WriteToFile logfilepath, date & " " & time & "IF " & conn & vbcrlf , True
else
    set conn = session("connection")
    WriteToFile logfilepath, date & " " & time & "ELSE " & conn & vbcrlf , True
end if


Thank you.

Shavonne Wijesinghe

In response to

Responses

pgsql-sql by date

Next:From: Patrick ScharrenbergDate: 2008-06-10 11:44:05
Subject: Re: returning results from an update for joining other tables
Previous:From: A. KretschmerDate: 2008-06-10 10:29:51
Subject: Re: Nextval & Currval

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group