Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - tutorial using QDB.: (6 Items)
   
tutorial using QDB.  
hello everyone

I'm want to create a database
I already make .sql and .cfg file extention,
I already connected to the database

now I have a problem, When I type INSERT INTO customers (firstname,lastname) VALUES (Afif,Fifa);
It give me error "near INSERT syntax error."

do you know why? I still confuse about it..

thanks
Re: tutorial using QDB.  
I think you posting to the wrong forum this is forum for Momentics IDE

However values in INSERT should be in single quotes

 INSERT INTO Customers (CustomerName, ContactName, Address, City, PostalCode, Country)
VALUES ('Cardinal','Tom B. Erichsen','Skagen 21','Stavanger','4006','Norway'); 
Re: tutorial using QDB.  
thanks for reply

I already using your advice but it's "ïnput/output error" like attached picture.

Attachment: Image qdb5.jpg 204.4 KB
Re: tutorial using QDB.  
One comment - I'd suggest using your own in-memory database.  We were using QDB in 6.5 and it was fine with high 
throughout - on moving to 6.6 the performance tanked and after some troubleshooting we moved away from it.

Thanks,
-James

> On Nov 30, 2015, at 8:13 PM, Afif Grahaditya <community-noreply@qnx.com> wrote:
> 
> thanks for reply
> 
> I already using your advice but it's "ïnput/output error" like attached picture.
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post115145
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com
> <qdb5.jpg>
Re: tutorial using QDB.  
I'm working using QNX 6.5 too.. i don't know why it always said "near syntax error"..like in the picture.
Attachment: Image qdb6.jpg 213.52 KB
Re: tutorial using QDB.  
> I'm working using QNX 6.5 too.. i don't know why it always said "near syntax 
> error"..like in the picture.

I think if I can make it with the sample program maybe I can make my own QDB after that.