Forum Replies Created

Viewing 6 posts - 1 through 7 (of 7 total)

  • RE: getting string out of data from a column

    hello

    the following code worked BUT how do I join this to another table (select xs_id from new_table)

    WITH XMLNAMESPACES (DEFAULT 'urn:vim25')

    ,BASE_DATA AS

    (

    SELECT

    ...

  • RE: getting string out of data from a column

    hello

    thank you for your time ,no luck.

    how do I get data without declare stmt as i cannot declare 1000 rows or more and xml data type but return...

  • RE: getting string out of data from a column

    Hi

    thank you again but this is not xml datatype its ntext data type

    CREATE TABLE [dbo].[SYSTEM_ID_INFO](

    [ID] [int] NOT NULL,

    [SYSTEM_ID] [ntext] NULL)

  • RE: getting string out of data from a column

    I apologize for not being clear

    I have to pull this data from table with 1000 rows like this

    Wondering , where in the query I plug in the actual column names...

  • RE: getting string out of data from a column

    thank you.is this how I replace my column names?when I do I get the following errors

    SELECT

    sys_id('(HostSystemIdentificationInfo/identifierValue/text())[3]','varchar(50)')

    ,sys_id('(HostSystemIdentificationInfo/identifierValue/text())[4]','varchar(50)')

    FROM host_sys);

    sys_id is not a recognized built-in...

  • RE: getting string out of data from a column

    hello

    Thank you for your response and have following questions

    1.can we split the data into two columns and your query returns all in one

    2.based on your reply how do I write...

Viewing 6 posts - 1 through 7 (of 7 total)