Re: problem migratin from ms sql - Mailing list pgsql-novice

From Michael Fuhr
Subject Re: problem migratin from ms sql
Date
Msg-id 20050423053614.GA96734@winnie.fuhr.org
Whole thread Raw
In response to problem migratin from ms sql  (Bruno Depero <bruno.depero@digicar.com>)
List pgsql-novice
On Tue, Apr 19, 2005 at 05:35:05PM +0200, Bruno Depero wrote:
>
> create table #mytable( title_id char(6), total_money_made money ) insert
> into #mytable select title_id, total_money_made=sum( ytd_sales*price )
> from titles group by title_id select * from #mytable drop table #mytable
>
> Of course odbc driver for postgresql reports a syntax error due to the
> table name !

See "Identifiers and Key Words" in the "SQL Syntax" chapter of the
documentation, in particular the discussion of quoted identifiers.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-novice by date:

Previous
From: sandy@informatika.org
Date:
Subject: Base type ...and array of base type
Next
From: Michael Fuhr
Date:
Subject: Re: Base type ...and array of base type