Board index » delphi » Oracle and BDE, case sensitive!?
Feijó
![]() Delphi Developer |
Sun, 04 Dec 2005 03:21:15 GMT
|
Feijó
![]() Delphi Developer |
Sun, 04 Dec 2005 03:21:15 GMT
Oracle and BDE, case sensitive!?
using TQuery with RequestLive := True, an stantement like:
select cod, name from table do not work!! I need to use like this: select COD, NAME from TABLE why this happen?? It's a nightware, I have a app runing fine under MSSQL and is this configurable in Oracle server? TIA |
Eric Hil
![]() Delphi Developer |
Sun, 04 Dec 2005 03:31:35 GMT
Re:Oracle and BDE, case sensitive!?Oracle isn't case sensitive. I believe the BDE is when dealing with Oracle. You could swap out the BDE for a different connection layer to eliminate Eric |
Feij
![]() Delphi Developer |
Sun, 04 Dec 2005 03:40:25 GMT
Re:Oracle and BDE, case sensitive!?"Eric Hill" <e...@ijack.net> escreveu na mensagem Quote> Oracle isn't case sensitive. I believe the BDE is when dealing with But I dont have the time to do that much!! I will eventualy swap to DBX, but... I cant do it right now Lets check over BDE why its doing that case problem []s |
Craig Stuntz [TeamB
![]() Delphi Developer |
Sun, 04 Dec 2005 04:47:06 GMT
Re:Oracle and BDE, case sensitive!?QuoteFeijs wrote: SQL standard this is a delimited identifier and must be case-sensitive. -Craig -- |
Feij
![]() Delphi Developer |
Sun, 04 Dec 2005 04:57:53 GMT
Re:Oracle and BDE, case sensitive!?Only over Oracle?? When I connect to MSSQL or IB, works fine ... "Craig Stuntz [TeamB]" <cstu...@vertexsoftware.com> escreveu na mensagem Quote> Feijs wrote: |
Craig Stuntz [TeamB
![]() Delphi Developer |
Sun, 04 Dec 2005 05:25:11 GMT
Re:Oracle and BDE, case sensitive!?QuoteFeijs wrote: SQL dialect 3 does and exhibits the same problem. In MS SQL Server, it's a global option on the server or DB, IIRC. Turn it on and you'll see the same problem. -Craig -- |
Marc Scheune
![]() Delphi Developer |
Sun, 04 Dec 2005 13:13:53 GMT
Re:Oracle and BDE, case sensitive!?Quote>Oracle isn't case sensitive. I believe the BDE is when dealing with queries! However, what happens normally in Oracle is this: if you create a create table MyTable ....... then Oracle really stores "MYTABLE" in its data dictionary. When you try to access that by means of a live BDE query, you have to select * from MyTable would fail. On the other hand, if you ever create a table in Oracle like so: create table "MyTable" then you've created a mixed-case table name which Oracle will leave as Marc ================================================================ |
a
![]() Delphi Developer |
Sun, 04 Dec 2005 13:26:18 GMT
Re:Oracle and BDE, case sensitive!?Feijo, Oracle isn't ANSI SQL-92 compliant. As such, you have more to worry about JOIN statements will kill you. Anything with an INNER JOIN needs to be in NULLs are handled differently in MS SQL/Interbase and Oracle. In MS SQL/IB In MS SQL/IB it returns rows where field is null. Oracle does not. You need and there are others. Integer fields, Long text fields, difference between If you haven't been thinking Oracle in the back of your mind during Thanks, Brett Quote"Feij" <fe...@x.suply.com> wrote in message Quote> using TQuery with RequestLive := True, an stantement like: |
Nicolas Bronk
![]() Delphi Developer |
Sun, 04 Dec 2005 17:57:37 GMT
Re:Oracle and BDE, case sensitive!?Quote> Oracle isn't case sensitive. I believe the BDE is when dealing with Oracle is case sensitive, but the standard inside is to capitalize your entries. You can test it, if you enter in any oracle tool a command like create table "Tabelle" ("Feld" charchar2(10)); and you will see that you have a table with upper and lower case and even Regards Nicolas |
Eric Hil
![]() Delphi Developer |
Sun, 04 Dec 2005 21:26:23 GMT
Re:Oracle and BDE, case sensitive!?Quote> Oracle isn't ANSI SQL-92 compliant. As such, you have more to worry about compliant. Quote> NULLs are handled differently in MS SQL/Interbase and Oracle. In MS This is part of the SQL 92 spec... Eric |
Robert Cern
![]() Delphi Developer |
Mon, 05 Dec 2005 01:49:38 GMT
Re:Oracle and BDE, case sensitive!?IMO the best BDE replacement is SQL Direct. It does not have TTable equivalent, for the rest, you just do a search/replace TQuery with TSDQuery, TDatabase with TSDDatabase,... and everything is functionally the same, only ligher and faster. Slightly more work is just to have live queries, it does not have RequestLive property, but you have to use an UpdateObject (just like CachedUpdates with BDE). I converted a big BDE project to SQL-Direct in few hours. The reason for case sensitivity is because Oracle *is* case sensitive. You -- Quote"Feij" <fe...@x.suply.com> wrote in message Quote
|
Team
![]() Delphi Developer |
Mon, 05 Dec 2005 09:45:24 GMT
Re:Oracle and BDE, case sensitive!?QuoteEric Hill wrote: NULL. Oracle admits this is non compliant behavior and warns that they might change this to come into compliance in the future. BTW, InterBase has always done this correctly and not treated the two the same Quote> Eric Jeff Overcash (TeamB) (Please do not email me directly unless asked. Thank You) If there is somebody up there could they throw me down a line. Just a little helping hand just a little understanding. Just some answers to the questions that surround me now. If there's somebody up there could they throw me down a line. (Fish) |
Eric Hil
![]() Delphi Developer |
Mon, 05 Dec 2005 11:26:45 GMT
Re:Oracle and BDE, case sensitive!?Quote> > Oracle treats NULL differently from an empty string in the WHERE clause. Eric |
1. Case sensitive Oracle table names
2. Case sensitive table/column names in Oracle
3. Oracle 8i case sensitive queries
4. Delphi is case sensitive with Oracle table names and fields name
5. Case-Sensitive fieldnames with Oracle 8
6. Pdox-ODBC-Oracle.Case sensitive!?
7. Case Sensitive vs Case-InSensitive
8. BDE SQL Is Case Sensitive Only ?