all groups > sql server clients > september 2007 >
You're in the

sql server clients

group:

SQL 2005 Compact Edition - Derived tables


SQL 2005 Compact Edition - Derived tables arothberg
9/26/2007 12:32:00 PM
sql server clients: I would like to know if derived tables are allowed in SELECT statements in
Compact Edition 3.1

For example:

SELECT * FROM (SELECT * FROM SomeTable) d

I have some complex queries which require using dervied tables. This
doesn't appear to work with my 3.1 installation and I get the error: "There
RE: SQL 2005 Compact Edition - Derived tables petery NO[at]SPAM online.microsoft.com (
9/27/2007 3:41:08 AM
Hello,

As far as I know, deried table in nested query is currently not support but
it might be supported in next release. You could use derived table in
"insert" statment. Please refer to the following links for more details:

http://technet.microsoft.com/en-us/library/ms174633.aspx

http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1201639&SiteID=17

If you have any further concerns or questions, please feel free to let's
know. Thank you.


Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
<http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx>.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
<http://msdn.microsoft.com/subscriptions/support/default.aspx>.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button