From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | "Anderson, Steven" <steven(dot)anderson(at)dallascityhall(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org, "Lawrence, Don" <don(dot)lawrence(at)dallascityhall(dot)com> |
Subject: | Re: Linked server query problem |
Date: | 2008-12-04 09:00:35 |
Message-ID: | 49379C33.6060605@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Anderson, Steven wrote:
> I have SQL Server 2005 that is linked to Postgresql 8.3.1-1
Upgrade to the latest version in 8.3 at your soonest convenience.
> The following query does not work
>
> SELECT id FROM ALERT.novastar.[public].[point]
>
> Error:
> "SELECT "Tbl1002"."id" "Col1004" FROM "novastar"."public"."point"
> "Tbl1002""
What's this supposed to do? Is "novastar" a database name? That's not
going to work - you'll need to connect to "novastar" and select from
"public.point".
Are you using the MS-SQL "Linked Server" feature? I've never tried it
with non-MS targets.
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2008-12-04 09:02:34 | Re: about privileges on pg_stat_activity columns |
Previous Message | Piotr Foremniak | 2008-12-04 08:41:55 | unstable SELECT performance under load |