From: Adrian Klaver <adrian.klaver@gmail.com>
To: pgsql-sql@postgresql.org, Rehan Saleem <pk_rehan@yahoo.com>
Subject: Re: SQL View to PostgreSQL View
Date: Mon, 27 Feb 2012 06:13:59 -0800
Message-ID: <201202270613.59790.adrian.klaver@gmail.com> (raw)
In-Reply-To: <1330282216.75125.YahooMailNeo@web121605.mail.ne1.yahoo.com>
References: <1330282216.75125.YahooMailNeo@web121605.mail.ne1.yahoo.com>
On Sunday, February 26, 2012 10:50:16 am Rehan Saleem wrote:
> Hi ,
> I am trying to convert sql
> view to postgresql view but i am getting the
> following error i dont know how
> to handle dbo.
> in postgresql and when i remove dbo. from table name then view got created
> but it does not show any data, while this is working perfectly fine in
> sql, here is my code and error details
>
> i am getting this error , how can i fix this.
>
> ERROR: schema "dbo" does not exist
> LINE 15: from dbo.kbsites a inner join dbo.kbsites b on a.chr=b.chr
> ^
>
> ********** Error **********
>
> ERROR: schema "dbo" does not exist
> SQL state: 3F000
> Character: 761
Do you in fact have a schema dbo?
If so can you access the schema and table using some other method, for instance
using psql?
--
Adrian Klaver
adrian.klaver@gmail.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: adrian.klaver@gmail.com, pk_rehan@yahoo.com
Subject: Re: SQL View to PostgreSQL View
In-Reply-To: <201202270613.59790.adrian.klaver@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox