If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Error in using XMLTable function

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-16-11, 12:26
siddh_singh siddh_singh is offline
Registered User
 
Join Date: Jul 2011
Location: India
Posts: 1
Error in using XMLTable function

Hi everyone,

I am using Sybase DB ASE 15.0 version.
And I am trying to load XML to a table and hence found XMLTable() function.

But on running the query its giving the error.

select * from xmltable('/doc/item'
passing '<doc><item><id>1</id><name>Box</name></item>'
+'<item><id>2</id><name>Jar</name></item></doc>'
columns id int path 'id',name varchar(20) path 'name') as items_table

Error at ( . I think I need some access to run the query for XML functions.

Any light........please@@@

Thanks in Advance,
Siddharth
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On