geekwannabe
Member
- Joined
- Oct 5, 2006
- Messages
- 10
- Programming Experience
- 10+
I have a fair amount of experience with foxpro and php/mysql. I'm trying to make the transition to .net.
I'm having "issues" creating the query that I would like. I *assumed* <g> I could use the query builder to "help" create the needed syntax but that has not panned out.
Anyhow, the issue I would like to address is application load time. My current backend is a foxpro table via VFPOLEDB. I'm not able to construct a query that limits data to 10 rows at a time. I can issue my select in foxpro without event.
The statement I would expect to use is: "Select TOP 10 id_numbr,name from num_list order by id_numbr"
The .net query builder complains as follows:
Error in SELECT clause: expression near '10'.
Missing FROM clause.
Error in SELECT clause: expression near ','.
Unable to parse query text.
What am I doing wrong here?
Should I not expect to be able to use syntax native to my datasources? (mysql, foxpro, etc)
I'm having "issues" creating the query that I would like. I *assumed* <g> I could use the query builder to "help" create the needed syntax but that has not panned out.
Anyhow, the issue I would like to address is application load time. My current backend is a foxpro table via VFPOLEDB. I'm not able to construct a query that limits data to 10 rows at a time. I can issue my select in foxpro without event.
The statement I would expect to use is: "Select TOP 10 id_numbr,name from num_list order by id_numbr"
The .net query builder complains as follows:
Error in SELECT clause: expression near '10'.
Missing FROM clause.
Error in SELECT clause: expression near ','.
Unable to parse query text.
What am I doing wrong here?
Should I not expect to be able to use syntax native to my datasources? (mysql, foxpro, etc)