Forum Replies Created

Viewing 15 posts - 1,186 through 1,200 (of 1,493 total)

  • RE: Change a selected value to null

    sdh96 (12/1/2014)


    I am emailing data using this:

    DECLARE @xml NVARCHAR(MAX)

    DECLARE @body NVARCHAR(MAX)

    USE R4W_001

    SET @xml = CAST(( SELECT ITEM_ID AS 'td','',"td/@align" = 'right', replace(convert(varchar,convert(Money, AVAILABLE),1),'.00','') AS 'td','',

    ...

  • RE: Question about VALUE

    Eirikur Eiriksson (11/24/2014)


    Quick note (for completeness), the inner query returns an XML, the value() method is invoked on that XML

    😎

    (inner query returning XML).value() <--the value method on the XML data...

  • RE: Question about VALUE

    Thanks for the link. That is a lot of information.:-)

    -- Found my answer in the link: "The period is used to designate that the element value to return is...

  • RE: Linking three databases so they show data right (please help a sql newbie!)

    scott.foss (11/20/2014)


    I am new to sql server so I appreciate all help i can get in this matter.

    what I want in a successful report by linking three databases:

    DB1.id, DB1.data2,...

  • RE: Table changes lost

    nomen (11/19/2014)


    In SSMS, I used the ALTER TABLE statement to add a field to a table. No errors are generated and I can verify that the field has been...

  • RE: Case with Int and Varchar

    sharonsql2013 (11/18/2014)


    I am trying a case statement but get the error : "Conversion failed when converting the varchar value 'No Data Available' to data type int."

    Case statement is

    Case when...

  • RE: can you have too many rows in a table

    sukai_ndure (11/14/2014)


    How many rows would you consider to be too many for a single table and how would you re-arrange the data if asked?

    any answers?

    If there is a large number...

  • RE: Today's Random Word!

    Ed Wagner (11/14/2014)


    SQLRNNR (11/14/2014)


    Ed Wagner (11/14/2014)


    Stuart Davies (11/14/2014)


    Ed Wagner (11/14/2014)


    Friday

    Crunchie

    Texture

    Putty

    Silly

    Fool

  • RE: Multiple Parameter Values

    You are using @MemberIds like a variable not a table.

  • RE: Multiple Parameter Values

    I would suggest turning your parameter into a table inside the sp. That way multiples will work.

  • RE: Remove Characters

    bpowers (11/11/2014)


    What would be the best approach to just return the characters after the last special character (-) in a string?

    Example:

    ReportServer-SalesOrders

    ReportServer-OKLA-SalesOrders

    I only want to return "SalesOrders". Any help will be...

  • RE: Today's Random Word!

    Ed Wagner (11/11/2014)


    Stuart Davies (11/11/2014)


    SQLRNNR (11/10/2014)


    Stuart Davies (11/10/2014)


    Ed Wagner (11/10/2014)


    Stuart Davies (11/10/2014)


    crookj (11/10/2014)


    SQLRNNR (11/10/2014)


    Ed Wagner (11/8/2014)


    crookj (11/7/2014)


    SQLRNNR (11/7/2014)


    prison stripes

    Steelers SUCKY uniform (Honey Bee Stripes).

    Referee

    tree

    House

    Horror

    Film

    Buff

    Vampire Slayer

    Captain Kronos

    Syndrome

    China

  • RE: Today's Random Word!

    Ed Wagner (11/6/2014)


    SQLRNNR (11/6/2014)


    sing4you (11/6/2014)


    Ed Wagner (11/6/2014)


    Stuart Davies (11/6/2014)


    TomThomson (11/6/2014)


    Ed Wagner (11/5/2014)


    djj (11/5/2014)


    Ed Wagner (11/5/2014)


    Stuart Davies (11/5/2014)


    Jeff Moden (11/4/2014)


    Ed Wagner (11/4/2014)


    SQLRNNR (11/4/2014)


    Pistol

    Rifle

    Porkchop Cannon 😀

    Hamburger Bishop

    Caliber

    Twenty-two

    Forty-four

    Bulldog (11.18)

    British

    .303

    .357 magnum

    Make My Day,...

  • RE: TSQL formatting doesn't match source code

    In the Tools\Options\Text Editor\Transact-SQL\Tabs see what the tab size is.

    Look in your text editor and see what it thinks a tab is.

  • RE: TSQL formatting doesn't match source code

    It most likely is a tab size problem.

Viewing 15 posts - 1,186 through 1,200 (of 1,493 total)