x
login about faq Site discussion (meta-askssc)

for xml auto with type

hi all,

I was tried to study xml in sql2008. when I running this query using "TYPE" always giving me error result. (please see below images) what is my wrong here ? cos this is simple sintax ? this is same result whe I using FOR XML, ELEMENTS, ROOT('test')

please help me... thank you very much

alt text

more ▼

asked Feb 10 '12 at 05:48 AM in Default

sporty gravatar image

sporty
0 1

(comments are locked)
10|1200 characters needed characters left

1 answer: sort newest

hi all...

I found my mistaken is. in the same time I am connect with sql instance for SQL2000. thats why when using TYPE, I was always getting result error...

tahnks you very much...

cheer's

more ▼

answered Feb 10 '12 at 06:34 AM

sporty gravatar image

sporty
0 1

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x115

asked: Feb 10 '12 at 05:48 AM

Seen: 289 times

Last Updated: Feb 10 '12 at 06:34 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.