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 

substring "invalid use of keyword"

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Michael Sterling
Guest





PostPosted: Thu Dec 11, 2003 5:06 pm    Post subject: substring "invalid use of keyword" Reply with quote



i'm using delphi 7 and writing a sql statement for a query component.
i'm posting this for two reasons, 1) i need help (please) and 2) i've
already seen two examples of replies giving solutions that don't work.
when i use the substring function in my query component "SELECT
substring(column_name, 1, 2)" i get that error on the substring
function that says "Invalid use of keyword. Token: ," and when i
change it to "SELECT substring(column_name from 1 for 2)", i get
"Table is read only"
any help would be appreciated. so as far as i can tell the "from for"
solution does not work..
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) 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.