Search Postgresql Archives

Re: double quotes inside VBA string ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you need to use a double quote inside a VB string, you have to write two double quotes (double double quotes!),
so your command will  be something like:

"select * from public.""Customers"""

 

On 5/18/05, Zlatko Matić <zlatko.matic1@xxxxxxxxxxx> wrote:
Hello.
I have a problem when working with MS Access/PostgreSQL.
Namely,  as PostgreSQL syntax uses doble quotes for table names and field names,  when I write it as a string of a pass-through query or Command text of ADO Command object it looks like:
"select * from public."Customers""
and VBA considers that the first quote after public. is the end of statement.

How to solve it ?




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux