Home Page link  

Select query from transaction table

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Select query from transaction table jetspeed 04-11-2007
Posted by jetspeed on April 11, 2007, 8:38 am
Please log in for more thread options
For some reason I can't run a select query on the transaction table. Other
tables work fine
eg. select * from transaction
returns
Incorrect syntax near the keyword 'transaction'

Any ideas?

Cheers

Posted by Glenn Adams [MVP - Retail Mgmt on April 11, 2007, 10:04 am
Please log in for more thread options
The rms database was originally designed in MS Access. It uses some SQL
Server reserved words as table names.
Transaction and Order spring to mind, but there may be a couple of others.

To query these tables you must delimit the tablenames:
select * from [transaction]

Same thing anywhere that you use the transaction table such as the
select list of joins. See the .qrp file for the Detailed Sales report
for examples...

Glenn Adams
Tiber Creek Consulting
http://www.tibercreek.com
glenn@tibercreek.com
----------------------------------------------
Please DO NOT respond to me directly but post all responses here in the
newsgroup so that all can share the information.


jetspeed wrote:
> For some reason I can't run a select query on the transaction table. Other
> tables work fine
> eg. select * from transaction
> returns
> Incorrect syntax near the keyword 'transaction'
>
> Any ideas?
>
> Che

Similar ThreadsPosted
Query for deleting a transaction December 19, 2006, 1:11 pm
Transaction on Hold Query May 18, 2009, 8:09 pm
Transaction Table Relationships September 3, 2005, 9:51 am
SQL Table where Transaction Number exists July 24, 2007, 2:18 pm
Time Field in transaction table May 11, 2009, 7:30 pm
"RecallType" field coding in transaction table January 27, 2010, 8:04 am
Help with SQL Query Update Prior Transaction item Cost March 24, 2008, 9:05 am
Database Schema - Table or table names July 22, 2005, 9:00 am
Auto select sales rep June 26, 2007, 6:18 am
select * from #temp problem in HQ November 17, 2008, 9:13 am

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap