Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)

  • RE: Remove all leading zeros from a column of data in SQL?

    Please check below query.

    Note: Please replace table name with your table name in select and update statements.

    DECLARE @T1TBL TABLE(ItemNum VARCHAR(50))

    INSERT INTO @T1TBL
    SELECT...

  • RE: TRY_CONVERT large numbers

    Carlo Romagnano (3/2/2016)


    When execute below code then error message come, not * (star).

    SELECT TRY_CONVERT(VARCHAR(1), 234523)

    An error

    Msg 195, Level 15, State 10, Line 1

    'VARCHAR' is not a recognized built-in function name.

    When...

  • RE: TRY_CONVERT large numbers

    SQL Server 2012

  • RE: TRY_CONVERT large numbers

    When execute below code then error message come, not * (star).

    SELECT TRY_CONVERT(VARCHAR(1), 234523)

    An error

    Msg 195, Level 15, State 10, Line 1

    'VARCHAR' is not a recognized built-in function name.

    When execute below...

Viewing 4 posts - 1 through 4 (of 4 total)