Viewing 15 posts - 1 through 15 (of 388 total)
This can be achieved by a FLWOR operation.
DECLARE @x XML = '
<Root>
<Student>Jhon </Student>
<Student> Luka </Student>
<Post>1</Post>
<Post>2</Post>
</Root>'
SELECT @x.query ('
for $i in (Root)
let $s := $i/Student
let $p := $i/Post
return
<Root>
<Students> {$s} </Students>
<Posts>{$p}</Posts>
</Root>
')
/*
Produces:
<Root>
...
December 9, 2011 at 4:37 am
You can use Denali CTP3
September 19, 2011 at 5:28 am
Most people submit their solutions in the first two weeks after the challenge is published. The evaluation then might take another 2-4 weeks to complete. The solutions will be available...
March 7, 2011 at 8:51 am
The last example clearly mentions that it will work only on SQL Server 2008 and above. Are you running the example on SQL Server 2005?
November 28, 2010 at 5:42 am
This is caused by a limitation in the number of characters the title can take
November 16, 2010 at 5:15 am
Yes, it is possible to have several purchases in a month.
September 24, 2010 at 10:40 am
Differential backups and partial backups are not the same.
August 4, 2010 at 9:29 pm
The backup/restore operations of a FILESTREAM database is expected to be the same as NON-FILESTREAM databases.
I just tested this and verified that the differential backup includes FILESTREAM data files...
August 4, 2010 at 3:38 am
You will need to build a dynamic query and execute it (to have the value of a column transformed as an element name).
July 9, 2010 at 12:56 am
Look at the link given in my previous reply. That link will take you to the page where the function is listed.
July 6, 2010 at 3:10 am
No, this is not an in-built function. The article had a link to download the source of this function.
You can find it here.
July 6, 2010 at 12:42 am
Well, this may be considered as a 'better wheel' because the other 'wheel' does not turn well. If you closely observe the results produced by this function and compare it...
June 30, 2010 at 11:34 pm
Yes, the next item in the task list is to support namespaces.
June 30, 2010 at 10:06 am
Viewing 15 posts - 1 through 15 (of 388 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy