Re: [GENERAL] Quotation marks in queries

2005-07-20 Thread Tony Caduto
That's a really good point about the create table, you can actually just rename everything in you create table statements before you actually do any data import, then as long as the fields are in the same physical order(does not matter if the names are different) you can output data from the so

Re: [GENERAL] Quotation marks in queries

2005-07-20 Thread Tony Caduto
well, you could always write a little function that would loop through every object and then rename to lower case and replace all spaces with _ underscores. Then in your application code just rename everything accordingly. Once again, even if you are using M$ SQL server it would be a good ide

Re: [GENERAL] Quotation marks in queries

2005-07-20 Thread Martijn van Oosterhout
On Wed, Jul 20, 2005 at 12:43:48PM +0100, teknokrat wrote: > The problem we have is that we want to migrate to postgresql from our > current sql server db, but the problem with caps requiring quotes around > them makes this a far from easy migration. The rule is pretty much, either always quote

Re: [GENERAL] Quotation marks in queries

2005-07-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2005-07-20 12:43:48 +0100: > Tony Caduto wrote: > >The easiest solution is just not to use caps or spaces in your > >table/object names, there is no advantage to doing so. > >People just need to get over the fact that having caps in a name make it > >easier to read. > > > >M

Re: [GENERAL] Quotation marks in queries

2005-07-20 Thread teknokrat
Tony Caduto wrote: The easiest solution is just not to use caps or spaces in your table/object names, there is no advantage to doing so. People just need to get over the fact that having caps in a name make it easier to read. My Test Table should be my_test_table, the naming makes no differe

Re: [GENERAL] Quotation marks in queries

2005-07-14 Thread Russ Brown
Tony Caduto wrote: > The easiest solution is just not to use caps or spaces in your > table/object names, there is no advantage to doing so. > People just need to get over the fact that having caps in a name make it > easier to read. > > My Test Table should be my_test_table, the naming makes no

Re: [GENERAL] Quotation marks in queries

2005-07-14 Thread Peter Fein
Tony Caduto wrote: > The easiest solution is just not to use caps or spaces in your > table/object names, there is no advantage to doing so. > People just need to get over the fact that having caps in a name make it > easier to read. Not to pick nits, but I disagree. Capitalization (CamelCase in p

Re: [GENERAL] Quotation marks in queries

2005-07-14 Thread Tony Caduto
The easiest solution is just not to use caps or spaces in your table/object names, there is no advantage to doing so. People just need to get over the fact that having caps in a name make it easier to read. My Test Table should be my_test_table, the naming makes no difference to the applicat

Re: [GENERAL] Quotation marks in queries

2005-07-14 Thread Russ Brown
you want to insert a > quote in VB. > > Mike > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Martynas > Brijunas > Sent: Thursday, July 14, 2005 3:32 AM > To: pgsql-general@postgresql.org > Sub

Re: [GENERAL] Quotation marks in queries

2005-07-14 Thread Relyea, Mike
artynas Brijunas Sent: Thursday, July 14, 2005 3:32 AM To: pgsql-general@postgresql.org Subject: [GENERAL] Quotation marks in queries Hello, I am a total newbie to PostgreSql, coming from MS Access background. I have a question regarding queries in PostgreSql: why do I need to enclose every f

Re: [GENERAL] Quotation marks in queries

2005-07-14 Thread Gregory S. Williamson
- From: [EMAIL PROTECTED] on behalf of Martynas Brijunas Sent: Thu 7/14/2005 12:31 AM To: pgsql-general@postgresql.org Cc: Subject:[GENERAL] Quotation marks in queries Hello, I am a total newbie to PostgreSql, coming from MS Access background. I have a question regarding queries

[GENERAL] Quotation marks in queries

2005-07-14 Thread Martynas Brijunas
Hello, I am a total newbie to PostgreSql, coming from MS Access background. I have a question regarding queries in PostgreSql: why do I need to enclose every field name and table name in quotation marks like SELECT "Name" From "contacts" That is a major inconvenience when composing a query s