Forum Replies Created

Viewing 9 posts - 61 through 69 (of 69 total)

  • RE: Bizarre duplicate query plan

    Hi,

    I encountered this kind of issues due to mismatch between the SET properties in the workload. I guess you are getting two plans as you are running one...

  • RE: Compare comma separated values

    Hi Mauricio,

    How about the approach below:

    DROP TABLE IF EXISTS #CSV
    CREATE TABLE #CSV
    (ID INT NOT NULL,
    LIST VARCHAR(30) NOT NULL
    )

    INSERT INTO #CSV

  • RE: Parse Data in SQL

    Hi,

    If you are using SQL 2016 (compatibility level 130), you can achieve this by the following way:

    DECLARE @Input VARCHAR(100) = '(DD)(GG)(BBB)(AAA)'
    SELECT @Input = REPLACE(@Input,')','')
    SELECT...

  • RE: Get Ip Address of Servers on network and Check if services are running

    Hi,

    Can you try the DMV sys.dm_exec_connections (look for the client_net_address column in the resultset)?

    Thanks.

  • RE: Syntax error

    Hi Komal,

    Please try putting the ON clause before WITH clause. So it might look like
    CREATE TABLE [Comp].[Model](
    [Model] [nvarchar](255) NOT NULL,
      [ModelCondition] [nvarchar](100) NULL...

  • RE: Joining two lists

    bpaul 90357 - Monday, May 15, 2017 8:31 AM

    I have a list of Store Locations and an Inventory List. Example below

    Store List
    Store...

  • RE: Column dependencies

    Hi 89netanel,

    I assume you have primary key foreign key dependencies defined in your tables. If that is the case, then you can find the list of dependent tables...

  • RE: Performance degraded after migrating to 2016 from 2012

    Hi,

    You can try various options on the database level, like updating the COMPATIBILITY_LEVEL to 130 since you upgraded from SQL 2012 to 2016, it might still be 110...

  • RE: Append json value

    Hi,

    Have you tried enclosing  the value in single-quotes?

    I mean JSON_MODIFY(@j, 'append $.size', '1000')

    Please let us know.

Viewing 9 posts - 61 through 69 (of 69 total)