Sybase

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsDatabasesSybase

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old July 12th, 2011, 02:03 AM
siddharth_singh siddharth_singh is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jul 2011
Posts: 1 siddharth_singh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 45 sec
Reputation Power: 0
Error in Using XMLtable() in ASE 15.0

Hi Everyone,

I am using ASE 15.0 and connected to Sybase DB.

I want to use XMLTable() to load an XML file to a table.
Since I am using below query for testing it's not working:

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: 11:52:07 [SELECT - 0 row(s), 0.000 secs] [Error Code: 102, SQL State: 37000] Incorrect syntax near '('.
... 1 statement(s) executed, 0 row(s) affected, exec/fetch time: 0.000/0.000 sec [0 successful, 0 warnings, 1 errors]


Any help regarding this issue its killing me.
I have enable the xml using sp_configure to "1";

Thanks in Advance,
Siddharth

Reply With Quote
Reply

Viewing: Tutorialized ForumsDatabasesSybase > Error in Using XMLtable() in ASE 15.0


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap