Viewing 15 posts - 1,501 through 1,515 (of 4,820 total)
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")'),
April 18, 2018 at 11:50 am
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...
April 18, 2018 at 11:46 am
SUM(Principal1
April 18, 2018 at 11:10 am
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
April 18, 2018 at 10:54 am
April 17, 2018 at 10:31 am
The code below generally gives what I want, but I want the details. That is,...
April 17, 2018 at 10:26 am
April 17, 2018 at 10:18 am
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...
April 17, 2018 at 10:00 am
April 17, 2018 at 6:32 am
SELECT *
--SET B.Archive = 'Y'
FROM (
SELECT *,
...
April 16, 2018 at 2:56 pm
April 16, 2018 at 2:23 pm
April 16, 2018 at 2:09 pm
April 16, 2018 at 7:00 am
Viewing 15 posts - 1,501 through 1,515 (of 4,820 total)