Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 4 of 4 total |
Simple SQL Problem (Repost) |
Thu, Feb 16 2006 2:00 PM | Permanent Link |
"Mike Saunders" | I thought this was straightforward but it seems not
I have DBISAM3 and need to know if all my table names need to be restricted to a single word if I use the following construct (I hope not) SQL.Add('ALTER TABLE MEMORY "daily schedule" ' ); DBISAM does not like the multi word table name I thought I could enclose with double quotes Thanks Mike |
Thu, Feb 16 2006 5:24 PM | Permanent Link |
"Donat Hebert \(WSI\)" | Its been a while haven't touched version 3 however I recall making a change
in Version 4 to use ansiquoted (double quotes) versus single quotes in Version 3 .. So try single quotes for the identifier .. ie quotedstr('Daily Schedule') Another option I believe is the square bracket [Daily Schedule] hth. Donat. "Mike Saunders" <mike@folleytech.co.uk> wrote in message news:543DCC9B-5B93-49B1-9AA6-391A2E024B45@news.elevatesoft.com... >I thought this was straightforward but it seems not > > I have DBISAM3 and need to know if all my table names need to be > restricted to a single word if I use the following construct (I hope > not) > > SQL.Add('ALTER TABLE MEMORY "daily schedule" ' ); > > DBISAM does not like the multi word table name I thought I could > enclose with double quotes > > Thanks > > Mike |
Mon, Feb 20 2006 6:42 AM | Permanent Link |
"John Hay" | Mike
> SQL.Add('ALTER TABLE MEMORY "daily schedule" ' ); > > DBISAM does not like the multi word table name I thought I could > enclose with double quotes Are you sure this is the problem. I tried the following in DBSYS v 3.30 and it worked fine. CREATE TABLE MEMORY "daily schedule" (test CHAR(10)); ALTER TABLE MEMORY "daily schedule" ADD test1 CHAR(10); John |
Mon, Feb 20 2006 4:09 PM | Permanent Link |
"Mike Saunders" | John Hay wrote:
> Mike > > > SQL.Add('ALTER TABLE MEMORY "daily schedule" ' ); > > > > DBISAM does not like the multi word table name I thought I could > > enclose with double quotes > > Are you sure this is the problem. I tried the following in DBSYS v > 3.30 and it worked fine. > > CREATE TABLE MEMORY "daily schedule" > (test CHAR(10)); > ALTER TABLE MEMORY "daily schedule" > ADD test1 CHAR(10); > > John Thanks I made the age old mistake of assuming the problem was where it wasn't and ignoring the real source of the error Mike |
This web page was last updated on Friday, April 26, 2024 at 06:09 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |