Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to retrieve an XML data from a column in DB
#1
Not Solved Question 
After successfully establishing connection with DB

Code:
SQL = "Select * from EMP_MESSAGEQUEUE where WHERE SALESORDERID='MCI-130425-z0S3AL13' "

If oConn.State = 1 Then    
oConn.Execute(SQL)
msgbox "executed"
selectedRows.open SQL, oConn
  do until selectedRows.eof
   EMP_val=selectedRows("EMP_PAYLOAD")
    msgbox EMP_val  
   selectedRows.movenext        
  loop
  oConn.close  
  
End If


where column EMP_PAYLOAD is of "XMLDATA" type in DB. , but at the place "oConn.Execute SQL" it is prompting error.
Also tried with executing stored procedure still the execute command is throwing an DB error. Could you please help on te executing the stored procedure.

Thanks,
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comparing data from xml file and a value in gui object using UFT Lavanya N 1 2,370 07-21-2015, 03:24 PM
Last Post: Lavanya N
  Retrieve row number from web table amilar 1 3,098 06-20-2012, 09:15 PM
Last Post: Surya
  How to retrieve cell values in the WebTable of portal application Sreedevi 4 20,219 06-19-2012, 11:32 PM
Last Post: nikhilcogni
  Retrieve Data from PDF sunilojha 1 2,453 09-21-2010, 05:50 PM
Last Post: Saket
  Issue with identifying Javatable column a_karamched 0 1,929 07-22-2008, 04:41 PM
Last Post: a_karamched

Forum Jump:


Users browsing this thread: 2 Guest(s)