Question on NpgsqlParameter object

From: "Oliveiros Cristina" <oliveiros(dot)cristina(at)gmail(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Question on NpgsqlParameter object
Date: 2007-05-28 17:36:52
Message-ID: f54607780705281036j9ec0289vd7550e71089f7793@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi, List.

I am not 100% sure if this is the right list, if it isnt please kindly
re-direct me to the proper list.

I would like to see NpgsqlCommand.CommandText value after parameter
substitution. I have a query that is not behaving correctly and I suspect
strongly that it has to do with parameters getting instantiated in
unexpected ways.

How can I have access to query SQL text after parameter substitution ?

I try to look at CommandText Property immediately before calling
ExecuteReader() method, but I get the text with all parameters
unsubstituted.

Any Help/Comments/Advices deeply appreciated

Thanks in advance

Cheers,
Oliveiros

Browse pgsql-interfaces by date

  From Date Subject
Next Message Francisco Figueiredo Jr. 2007-05-28 22:32:12 Res: Question on NpgsqlParameter object
Previous Message Jeroen T. Vermeulen 2007-05-28 08:05:03 Re: C++ postgresql interface in fedora core 5