Viewing 15 posts - 1,156 through 1,170 (of 1,390 total)
It's an unusual query. There's no join condition so it's really a CROSS JOIN. I would guess the temp table always returns 1 row. No matter what this query will...
February 7, 2020 at 3:35 pm
with grupo_cte(idTipoGrupoCons, intIdEntidad, intIdEjercicio) as (
select 16, 50, 7
union all
select 16, 45, 4
...
February 5, 2020 at 2:18 pm
The table has grown and grown and needs around 3.7 GB for 2.2 Million records.
It's the size of the Excel file with the pivot table?
February 4, 2020 at 3:45 pm
I think the trick is that we're all in the same boat, so stating why you oppose something but knowing that the final decision might be somewhere else is...
February 3, 2020 at 3:39 pm
I'm not sure I agree on this one - cooperation leads to learning. rather than fight them we can mentor them
Now I work in marketing... the only thing...
February 3, 2020 at 2:19 pm
In the FROM clause of the "main query" the table dbo.ShtStock had been LEFT JOINED to based on the ShtStockId. I changed that to be the dbo.NZ(...) function. The "main...
February 2, 2020 at 12:49 pm
I don't think it's as much an attitude issue as it is a domain knowledge issue. I wouldn't try to tell .Net developers how to write C# code, but...
February 1, 2020 at 2:38 pm
Maybe the obscured error message contains some clues
February 1, 2020 at 1:19 pm
So "TimeDayId" is not a particularly accurate name for a DATE type column imo. My suggestion would be to rename the column to "DayDate" or something similar
January 31, 2020 at 7:16 pm
Not tested on Sql 2008 but it should work afaik.
--drop table if exists dbo.test_process_statuses;
--go
create table dbo.test_process_statuses(
ProcessKeyId ...
January 30, 2020 at 12:24 am
Nevermind
January 29, 2020 at 11:14 pm
Thanks Phil I'm a big fan of your articles. I completely agree JSON can be a key element of efficient application data access. As far as data validation goes tho... ...
January 27, 2020 at 2:24 pm
with
other_parts_cte as (
select
p.PartId, t.maskId, t.chemicalid
from
#temp t
...
January 26, 2020 at 2:39 pm
Viewing 15 posts - 1,156 through 1,170 (of 1,390 total)