473,385 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Could not retrieve schema info

Hi all,
Using VS 2005 and MSSQL 2005.
I created a view with the following:
select Brandid
, products = left(o.list, len(o.list)-2)
from lstBrand
cross apply
(
select Convert(varchar(200), ProductName)+', ' as [text()]
from lstProduct
where lstBrand.BrandId = lstProduct.BrandId
for XML Path('')
) o (list)

I then tried to add this view to a typed dataset, but get an error "Could
not retrieve schema from table or view"
But as soon as I remove the apply operator, it works.
Can some one shed some light and help

Thanks
Robert
Nov 14 '07 #1
0 1218

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: jw56578 | last post by:
what is a common method, if any, to retrieve stored query information from Access. MDAC does not support OleDbSchemaGuid.Procedure_Columns. I need stored procedure name and paramter information,...
1
by: Kenny ODell | last post by:
I am struggling a bit with XML, even as I wade through endless help files and several books. I thought it would be useful to toss my particular needs to the group to see what you think is the best...
2
by: Torben Jensen | last post by:
Hi, Does anyone have experience in retrieveing useraccount information like eg. name, lastname, phonenumber, adress etc from Active Directory from an asp.net application? Perhaps standard...
0
by: Derek | last post by:
I am creating an intranet using Visual Web Developer Express Edition. Everything has been working OK until yesterday when I started getting 62 messages all beginning "Could not find schema...
2
by: Joe | last post by:
Hi I am going to receive a dataset downstream and I will not know the the fields number of field relations number of relations So I have to be flexible to take unknown data and be able to...
1
by: mavis | last post by:
Firstly, is it possible to locate everything in xsd by XPATH? for example, xs:element/xs:complexType/xs:sequence/xs:element ..... Is there any good ways to record the XPath info through...
4
by: olivier.scalbert | last post by:
Hello, I need to create an xsd to validate the following type of xml: <?xml version="1.0" encoding="UTF-8"?> <root <exception1 xsi:type="ExceptionAType"> <Type>1</Type> <Info>Bla bla</Info>...
5
by: Ken | last post by:
I'm trying to run a loop to capture column property information from a table in my datasource. Can anybody see where this is going wrong? Dim tbl As New DataTable Dim col As DataColumn Dim x...
1
by: mr t | last post by:
The DataTable xml written out, produces the following xml. can anyone show me how to extract that schema and put it in external file? the reason for this, is that I want to apply that structure to...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.