Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)

  • RE: Replace String in column

    Thanks LOWELL,

    but unfortunately, it doesn't work... 🙁 it doesn't change the href position in the same row.

    I have more than one href in the same row....

  • RE: Replace String in column

    Thanks LOWELL !!

    I'm going to try right now your solution..... 😀

    Thanks for your suggestion!

    Alessandro

  • RE: Replace String in column

    Thanks Luke,

    I really appreciate your help !

    😀

    Alex

  • RE: Replace String in column

    Hi Luke!

    I couldn't change the lenght of the table, it must be a TEXT column 'cause as I said this table is populated by a JS that is an online...

  • RE: Replace String in column

    Thanks Luke, great solution!!

    when I execute this script, it return an error :crying:

    UPDATE HTMLART

    SET Body = REPLACE(Body, 'a href="', 'a href="MyPath/')

    WHERE ID = 1

    Server: Msg 8116, Level 16,...

  • RE: Replace String in column

    Thanks Luke,

    this is very interesting solution. The problem is that I don't have the plain control of what I'm going to insert in the body column. I'm going...

  • RE: Replace String in column

    excuse me.... how can I post you the insert statement? I don't know why but when I try to post the line with HTML tags... the form transform the statement......

  • RE: Replace String in column

    Thanks for you prompt answer !!!

    What I'm try to do is a SP or UDF to change the insert of one line in the table by using the CHARINDEX...

  • RE: Query with a custom order

    SOLVED BY RYAN !!

    Thank's a lot !!

  • RE: Query with a Custom Order

    rossetto_ax (4/21/2008)


    RyanRandall (4/21/2008)


    Another option and my preference is...

    DECLARE @Rows TABLE (RowNumber INT IDENTITY(1, 1), Col1 VARCHAR(10))

    INSERT @Rows SELECT 'B' UNION ALL SELECT 'A' UNION ALL SELECT 'D'

    SELECT a.Col1, a.[Val 1]

    FROM...

  • RE: Query with a Custom Order

    RyanRandall (4/21/2008)


    Another option and my preference is...

    DECLARE @Rows TABLE (RowNumber INT IDENTITY(1, 1), Col1 VARCHAR(10))

    INSERT @Rows SELECT 'B' UNION ALL SELECT 'A' UNION ALL SELECT 'D'

    SELECT a.Col1, a.[Val 1]

    FROM @Table...

  • RE: Query with a Custom Order

    RyanRandall (4/21/2008)


    ORDER BY [Val 1] DESC

    ?

    Thank's Ryan !!

    But unfortunately is not what I need.... I can't order by the value order but what I have to...

  • RE: How to calculate a Total avg column in Matrix?

    Rajesh Patavardhan (11/15/2007)


    One option is to use the Custom Scripting option.

    Not sure whether this is the best way.

    Following is a sample script to put in the Code section of report

    public...

  • RE: Error in converting Float into Decimal

    WOW IT WORKS !!! :Wow:

    Thanks !!

    the problem was actually the decimal places !! With Decimal(5,2) work fine.

    Thanks a lot for your patience. 😉

    Alessandro

  • RE: Error in converting Float into Decimal

    Yes, this is right but I couldn't modify the table... now I try to round beforre inserting

Viewing 15 posts - 1 through 15 (of 18 total)