| View previous topic :: View next topic |
| Author |
Message |
Bill Todd Guest
|
Posted: Fri Dec 03, 2004 1:25 pm Post subject: Re: Table name with " " |
|
|
If the database is dialect 3 Firebird should accept a SQL standard
quoted identifier.
--
Bill (TeamB)
TeamB cannot answer questions received via email
|
|
| Back to top |
|
 |
Luciano RM Guest
|
Posted: Fri Dec 03, 2004 3:04 pm Post subject: Table name with " " |
|
|
Hi,
Delphi 7 + Firebird
Iīm using the property SimpleDataSet.DataSet.CommandText with
a basic select:
Selec Field1, Field2 From Table Where Field1 = 1
The SQLMonitor show that the table name is passed to the Firebird
with " delimiter:
Insert Into "TableName"
("Field1", "Field2")
Values ...
As the Firebird doesnīt accept the "īs is ther any way to avoid
the SimpleDataSet send this " ?
Best Regards
Luciano RM
|
|
| Back to top |
|
 |
Luciano RM Guest
|
Posted: Fri Dec 03, 2004 4:52 pm Post subject: Re: Table name with " " |
|
|
Hi Bill,
Thatīs right, but I found out that the object names become case
sensitive when using it! That was the problem.
Them same happens on the IBExpert or other managers.
Thanks!
Best Regards.
Luciano RM
Bill Todd wrote:
| Quote: | If the database is dialect 3 Firebird should accept a SQL standard
quoted identifier.
|
|
|
| Back to top |
|
 |
Thomas Miller Guest
|
Posted: Fri Dec 03, 2004 5:28 pm Post subject: Re: Table name with " " |
|
|
That is what the " are for, to treat the sting literal as
typed.
Luciano RM wrote:
| Quote: | Hi Bill,
Thatīs right, but I found out that the object names become case
sensitive when using it! That was the problem.
Them same happens on the IBExpert or other managers.
Thanks!
Best Regards.
Luciano RM
Bill Todd wrote:
If the database is dialect 3 Firebird should accept a SQL standard
quoted identifier.
|
--
Thomas Miller
Wash DC Delphi SIG Chairperson
Delphi Client/Server Certified Developer
BSS Accounting & Distribution Software
BSS Enterprise Accounting FrameWork
http://www.bss-software.com
http://www.cpcug.org/user/delphi/index.html
https://sourceforge.net/projects/uopl/
http://sourceforge.net/projects/dbexpressplus
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Fri Dec 03, 2004 6:03 pm Post subject: Re: Table name with " " |
|
|
The purpose of quoted identifiers in SQL is to allow you to have case
sensitive object names, object names that are also reserved words and
object names that include spaces (if the database allows spaces in
object names).
--
Bill (TeamB)
TeamB cannot answer questions received via email
Luciano RM wrote:
| Quote: | Hi Bill,
Thatīs right, but I found out that the object names become case
sensitive when using it! That was the problem.
Them same happens on the IBExpert or other managers.
Thanks!
Best Regards.
Luciano RM
Bill Todd wrote:
If the database is dialect 3 Firebird should accept a SQL standard
quoted identifier.
|
|
|
| Back to top |
|
 |
Luciano RM Guest
|
Posted: Fri Dec 03, 2004 8:09 pm Post subject: Re: Table name with " " |
|
|
Hi Thomas,
Thatīs new for me, tanks!
Luciano RM
Thomas Miller wrote:
| Quote: | That is what the " are for, to treat the sting literal as typed.
Luciano RM wrote:
Hi Bill,
Thatīs right, but I found out that the object names become case
sensitive when using it! That was the problem.
Them same happens on the IBExpert or other managers.
Thanks!
Best Regards.
Luciano RM
|
|
|
| Back to top |
|
 |
|