Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-27 Thread Wolfgang Schaible
hi Frank, Am Freitag 15 April 2005 11.10 schrieb Frank Schönheit - Sun Microsystems, Inc.: > >>>Strange, all other statements accept strings with mixed case > >> > >>which ones do? > > > > things like 'getByName' (and not all SQL - Satements?) > > Ah, okay, getByName is on a level completely dif

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-15 Thread "Frank Schönheit - Sun Microsystems, Inc."
Hi Wolfgang, >>but don't forget to clean it up later on, to not leak resources: >> oConnection.close() > normally used :-)) good to hear :). This is often forgotton, which then leads to later operations possibly failing, since the previous (still alive) connection locks resources associated with

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-15 Thread Wolfgang Schaible
hi Frank, Am Freitag 15 April 2005 09.15 schrieb Frank Schönheit - Sun Microsystems, Inc.: > Hi Wolfgang, > > 3. Failed query 2: Two visual identical querys, one created > > with the wizard, the other with basic share not the same result > > If "visually identically" means "identically when opene

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-15 Thread Wolfgang Schaible
hi Frank, Am Freitag 15 April 2005 09.13 schrieb Frank Schönheit - Sun Microsystems, Inc.: > Hi Wolfgang, > > > Writing > > > > oQuery.Command = "SELECT * FROM " & "Journal" > > the table (also all other names) was not found. > > with > sQuoteChar = oConnection.getMetaData().getIdentifi

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-15 Thread "Frank Schönheit - Sun Microsystems, Inc."
Hi Wolfgang, > 2. Failed query 1: The MsgBox write the table identifier in Capitals > followed by the chosen name in mixed Upper/lower case: > The query is working after renaming the table name in ALL CAPITALS. It seems that our engine, HSQLDB, is indeed automatically capitalizing all identifier

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-15 Thread "Frank Schönheit - Sun Microsystems, Inc."
Hi Wolfgang, > Writing > > oQuery.Command = "SELECT * FROM " & "Journal" > the table (also all other names) was not found. with sQuoteChar = oConnection.getMetaData().getIdentifierQuoteString try adding the |sQuoteChar| before and after the table name. If you don't have a connect

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-12 Thread Wolfgang Schaible
Am Dienstag 12 April 2005 10.43 schrieb Frank Schönheit - Sun Microsystems, Inc.: > Hi Josh, > > > Well, all quoted identifiers is fine *if* the identifiers come > > from the database, not from the user. And provided that they > > don't get automatically uppercased before being quoted. > > I'm n

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-12 Thread "Frank Schönheit - Sun Microsystems, Inc."
Hi Josh, > Well, all quoted identifiers is fine *if* the identifiers come from the > database, not from the user. And provided that they don't get automatically > uppercased before being quoted. I'm not sure whether I understood Wolfgang's original post right (it seems that two non-native Eng

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-11 Thread Josh Berkus
Frank, > as always, "Trying to be on the safe side, making more DBs happy than > harming others". Or so. If the database (its driver, more precise) tells > OOo that there *is* a quoting character for identifiers, then OOo will > use it. Well, all quoted identifiers is fine *if* the identifiers co

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-11 Thread "Frank Schönheit - Sun Microsystems, Inc."
Hi Josh, > What's the logic behind the query tool generating all-quoted identifiers? as always, "Trying to be on the safe side, making more DBs happy than harming others". Or so. If the database (its driver, more precise) tells OOo that there *is* a quoting character for identifiers, then OOo wi

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-10 Thread Josh Berkus
People: > With Base tool 'Querys' created: > SELECT "idJour", "vonKto" FROM "JOUR" "JOUR" WHERE ( ( "vonKto" = > 'KASSE' ) ) > This select the data. > Twice "JOUR" ? Strange, but works. > All >"< in SQL are unnecessary, the system generates all (the first > comfort in this hard job). What's the l

[dba-dev] Table names Uppercase a must? Strange things

2005-04-10 Thread Wolfgang Schaible
Hi, All tables now created with uppercase names and with new release 1.9.91-1. With Base tool 'Querys' created: SELECT "idJour", "vonKto" FROM "JOUR" "JOUR" WHERE ( ( "vonKto" = 'KASSE' ) ) This select the data. Twice "JOUR" ? Strange, but works. All >"< in SQL are unnecessary, the system gene

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-09 Thread Marc Santhoff
Am Sa, den 09.04.2005 schrieb Wolfgang Schaible um 22:17: > Am Samstag 09 April 2005 21.35 schrieb Marc Santhoff: > > Am Sa, den 09.04.2005 schrieb Wolfgang Schaible um 20:51: > > > Hi, > > > > > > Have table names (UpperLower chars mixed) defined with the tool > > > 'Base', used in Queries and For

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-09 Thread Wolfgang Schaible
Am Samstag 09 April 2005 21.35 schrieb Marc Santhoff: > Am Sa, den 09.04.2005 schrieb Wolfgang Schaible um 20:51: > > Hi, > > > > Have table names (UpperLower chars mixed) defined with the tool > > 'Base', used in Queries and Forms w/o problems. Was happy. > > > > Writing > > > > oQuery.Co

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-09 Thread Wolfgang Schaible
Am Samstag 09 April 2005 20.51 schrieb Wolfgang Schaible: > Hi, > > Have table names (UpperLower chars mixed) defined with the tool > 'Base', used in Queries and Forms w/o problems. Was happy. > > Writing > > oQuery.Command = "SELECT * FROM " & "Journal" > the table (also all other nam

Re: [dba-dev] Table names Uppercase a must? Strange things

2005-04-09 Thread Marc Santhoff
Am Sa, den 09.04.2005 schrieb Wolfgang Schaible um 20:51: > Hi, > > Have table names (UpperLower chars mixed) defined with the tool > 'Base', used in Queries and Forms w/o problems. Was happy. > > Writing > > oQuery.Command = "SELECT * FROM " & "Journal" > the table (also all other

[dba-dev] Table names Uppercase a must? Strange things

2005-04-09 Thread Wolfgang Schaible
Hi, Have table names (UpperLower chars mixed) defined with the tool 'Base', used in Queries and Forms w/o problems. Was happy. Writing oQuery.Command = "SELECT * FROM " & "Journal" the table (also all other names) was not found. Strange, all other statements accept strings with