Viewing 15 posts - 1,111 through 1,125 (of 1,360 total)
I think it would be more accurate and far less work to rely on the existing constraints.
Yes yes. Even if checks are performed in advance it's no guarantee the...
February 12, 2020 at 5:37 pm
DBCC TIMEWARP at its best.
Then set the recovery model to "Trust Me We'll Be OK"
February 11, 2020 at 2:00 pm
What happens if you restart the service? According to the docs the service needs to be restarted after 'set sqlagent.enabled true'. If that doesn't work I'd make a support call.
February 11, 2020 at 1:02 pm
According to the timestamps you answered your own question half a day before it was even asked!
February 11, 2020 at 12:50 pm
You could create a table (b_tree) to store your numeric data in a single column. Then assign additional columns based on common attributes of the numbers.
column1: your numbers
column2: applies to...
February 11, 2020 at 12:33 pm
In the FROM clause of the UPDATE statement you list the table 'Orders'. My guess is you intend for this to be the CTE but if the schema is not...
February 10, 2020 at 10:06 pm
I agree. The answers are equivalent at best.
February 7, 2020 at 5:42 pm
drop proc if exists dbo.test_case_cross;
go
create proc dbo.test_case_cross
@node_order int,
@Record_Key_4 ...
February 7, 2020 at 5:20 pm
Here's how I'm testing it. I'm switching over to John and Jonathan's in the case where there are not nullable columns. Still with the CROSS JOIN. Wait a sec
February 7, 2020 at 5:14 pm
Yeah I'm getting counterexamples too including my own. Which columns can be NULL?
February 7, 2020 at 4:53 pm
...
from
Popup_Switches ps
cross join
#temp_1 t
where
ps.popup_gid in(2, 5)
and t.node_order=1
and (t.record_Key_4 = '1' or t.Record_Key_5 NOT IN ('I', 'X'));
February 7, 2020 at 4:32 pm
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
Viewing 15 posts - 1,111 through 1,125 (of 1,360 total)