EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can Syntax Editor help with this?

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
snorkel



Joined: 16 May 2008
Posts: 7

PostPosted: Fri May 16, 2008 7:53 am    Post subject: Can Syntax Editor help with this? Reply with quote

I saw in the demo editor that when I switch it to SQL it can parse out the SQL structure including table aliases.
Would I be able to use this to do things like table alias completion and maybe even join completion?

for example say I type this

select * from pg_database pgd where pgd.

Is it possible to the get the table name from the alias the user typed?

Thanks,

Snorkel
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Fri May 16, 2008 9:00 am    Post subject: Reply with quote

Yes it is possible.
There is special demo sample "SQL Editor" which implement exactly this functionality.

Michael.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor 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, 2005 phpBB Group