Board index » delphi » RequestLive = True fails if Sybase Name Full (db.dbo.table)

RequestLive = True fails if Sybase Name Full (db.dbo.table)

If your SQL statement uses the following,

select * from Database.dbo.TableName and you try to set REQUESTLIVE
to true it will fail, if you specify, select * from TableName it works
fine.    However, if you have logged into another Database you
need to specify database.dbo.tablename for SQL to execute.  Basically
it looks like the BDE does not know how to parse a SQL statement that
has more than one "." in it.

Can anyone else confirm this?

Robert Love

 

Re:RequestLive = True fails if Sybase Name Full (db.dbo.table)


Yes, you are correct. SQL parsing engine expect ownername.tablename and
doesn't handle more that one period.
Try quoting the whole object name like "db.dbo.table" and  it should work.

T.Ramesh.

Quote
Robert Love wrote:
> If your SQL statement uses the following,

> select * from Database.dbo.TableName and you try to set REQUESTLIVE
> to true it will fail, if you specify, select * from TableName it works
> fine.    However, if you have logged into another Database you
> need to specify database.dbo.tablename for SQL to execute.  Basically
> it looks like the BDE does not know how to parse a SQL statement that
> has more than one "." in it.

> Can anyone else confirm this?

> Robert Love

Re:RequestLive = True fails if Sybase Name Full (db.dbo.table)


Thanks that did the trick.

Robert Love

Quote
RAMESH THEIVENDRAN wrote:

> Yes, you are correct. SQL parsing engine expect ownername.tablename and
> doesn't handle more that one period.
> Try quoting the whole object name like "db.dbo.table" and  it should work.

> T.Ramesh.

> Robert Love wrote:

> > If your SQL statement uses the following,

> > select * from Database.dbo.TableName and you try to set REQUESTLIVE
> > to true it will fail, if you specify, select * from TableName it works
> > fine.    However, if you have logged into another Database you
> > need to specify database.dbo.tablename for SQL to execute.  Basically
> > it looks like the BDE does not know how to parse a SQL statement that
> > has more than one "." in it.

> > Can anyone else confirm this?

> > Robert Love

Other Threads