Forum Replies Created

Viewing 15 posts - 1,501 through 1,515 (of 4,820 total)

  • RE: Search within a string and return value(s)

    Here's the cleaned up sample data for anyone looking to work on the function:CREATE TABLE #T2 (
         varchar(1000)
    );
    INSERT INTO #T2 ()
    VALUES    ('https://www.abc123.com/search?breadcrumbs%5B0%5D=red-big-widget&breadcrumbs%5B1%5D=red-long-big-widgets&cc=LUNERATOOBS&facet.multiselect=true&page=1&q=*&rows=15&son=0&sort=price+asc&start=0&filter=(category:"12897")&filter=(a_brand_t_fq:"BrandLoonry")&filter=(a_length_d_fq:[12%20TO%2024]%20OR%20a_length_d_fq:[24%20TO%2036]%20OR%20a_length_d_fq:[36%20TO%2048])&filter=(a_dimmable_t_fq:"Yes")'),
            ('https://www.abc123.com/search?facet.multiselect=true&page=1&q=*&rows=15&son=0&sort=price+asc&start=0&filter=(category:"12897")&filter=(a_brand_t_fq:"Euro%20Litny")&filter=(a_voltage_t_fq:"120")'),
            ('https://www.abc123.com/search?facet.multiselect=true&page=1&q=*&rows=15&son=0&sort=price+asc&start=0&filter=(category:"12897")&filter=(a_brand_t_fq:"LifeWerks")&filter=(a_lens_t_fq:"Frosted%20carbonate")'),
            ('https://www.abc123.com/search?facet.multiselect=true&page=1&q=*&rows=15&son=0&sort=price+asc&start=0&filter=(category:"12897")&filter=(a_brand_t_fq:"GEICO")&filter=(a_dimmable_t_fq:"No")'),

  • RE: Search within a string and return value(s)

    I'm not sure why you are adding Eirikur's script as the WHERE clause, because it's a SELECT as opposed to any kind of filter.   I corrected the sample table data...

  • RE: How to use Cast & Convert

    asita - Tuesday, April 17, 2018 6:06 PM

    Hello Good Evening

    SUM(Principal1

  • RE: How to check back months data depend on a column value condition

    Try this on for size:CREATE TABLE #MyTemp (
        ID INT IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,
        YearCol INT,
        MonthCol INT,
        RegionName VARCHAR(200),
        JobSector VARCHAR(20),
        ReviewsConduct INT,
        ReviewsPass INT,
        ReviewsFail INT

  • RE: What permissions do you need to run jobs via SQL Agent?

    cristian 26986 - Thursday, April 12, 2018 10:11 AM

    So just to wrap this up, out IT figured it out, but unfortunately, I...

  • RE: last entry, first entry

    meryemkurs072 - Wednesday, April 11, 2018 12:45 PM

    Hi,

    The code below generally gives what I want, but I want the details. That is,...

  • RE: Removing stored procedures to move to cloud

    Eric M Russell - Tuesday, April 17, 2018 10:15 AM

    Eirikur Eiriksson - Tuesday, April 17, 2018 9:06...

  • RE: Get all index definitions from all databases and all tables

    richardmgreen1 - Tuesday, April 17, 2018 9:16 AM

    Phil Parkin - Tuesday, April 17, 2018 8:58 AM

    April 17, 2018 at 10:15 am

    #1987194

  • RE: Counting Records

    Not sure you have your sample data in agreement with your expected results.   I interpreted your meaning to have the output column named "Indicator - 1 (Yes or No)" as...

  • RE: Removing stored procedures to move to cloud

    xsevensinzx - Tuesday, April 17, 2018 6:22 AM

    funbi - Tuesday, April 17, 2018 6:00 AM

  • RE: Removing stored procedures to move to cloud

    funbi - Tuesday, April 17, 2018 6:00 AM

    Hugo Kornelis - Tuesday, April 3, 2018 1:50 PM

    April 17, 2018 at 6:17 am

    #1987118

  • RE: Select MAX, Update Function

    netguykb - Monday, April 16, 2018 10:54 AM

    So If the following is ran:


    SELECT *
    --SET B.Archive = 'Y'
    FROM (
      SELECT *,
      ...

  • RE: Complex Windowed Sum - New Requirement

    j-1064772 - Monday, April 16, 2018 2:05 PM

    The sum of quantities encompasses all the UnitNo's of a customer in one single Total Qty...

  • RE: How can I insert in a single table from different SQL Servers

    anusql74 - Monday, April 16, 2018 12:06 PM

    yes there is link server on all servers
    Job history is simply saying Success but table...

  • RE: Complex Windowed Sum - New Requirement

    j-1064772 - Friday, April 13, 2018 12:53 PM

    The CustomerTotal is the "to-date" value, i.e. the current sum of all quantities in all...

Viewing 15 posts - 1,501 through 1,515 (of 4,820 total)