BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Table name with " "

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Bill Todd
Guest





PostPosted: Fri Dec 03, 2004 1:25 pm    Post subject: Re: Table name with " " Reply with quote



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





PostPosted: Fri Dec 03, 2004 3:04 pm    Post subject: Table name with " " Reply with quote



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





PostPosted: Fri Dec 03, 2004 4:52 pm    Post subject: Re: Table name with " " Reply with 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:
Quote:
If the database is dialect 3 Firebird should accept a SQL standard
quoted identifier.



Back to top
Thomas Miller
Guest





PostPosted: Fri Dec 03, 2004 5:28 pm    Post subject: Re: Table name with " " Reply with quote

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





PostPosted: Fri Dec 03, 2004 6:03 pm    Post subject: Re: Table name with " " Reply with quote

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





PostPosted: Fri Dec 03, 2004 8:09 pm    Post subject: Re: Table name with " " Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.