Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server CE / November 2007

Tip: Looking for answers? Try searching our database.

Query problem SQL Ce 3.1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raffaele - 16 Nov 2007 12:14 GMT
Hi,

i've write a query:

SELECT     id, Surname, Name
FROM         Statistic AS anag
WHERE     ((SELECT     SUM(Price) AS SumPrez
                        FROM         Purchasing AS Rate
                        WHERE     (Balance = 0) AND (idanagrafica =
anag.id)) -
                         (SELECT     SUM(Installment) AS SumRate
                           FROM          Collections AS Incas
                           WHERE      (Balance = 0) AND (idanagrafica =
anag.id)) < 100)

No have problem with SQL 2005 but if i try to execute on mobile device with
SQL Ce 3.1 (Compact Edition) i've error

Can help me?

Thanks
Raffaele
Matt Lacey - 16 Nov 2007 14:54 GMT
> Hi,
>
[quoted text clipped - 18 lines]
> Thanks
> Raffaele

what is the error?
Erik Ejlskov - 16 Nov 2007 16:46 GMT
Subqueries are not supported by SQL Compact 3.1

Signature

Erik Ejlskov Jensen
- see my SQL Compact blog at
http://erikej.blogspot.com

> Hi,
>
[quoted text clipped - 19 lines]
> Thanks
> Raffaele
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.