Viewing 15 posts - 3,061 through 3,075 (of 8,753 total)
hegdesuchi (10/14/2016)
I have to update target table and I am good with below logic.
MERGE testdb.dbo.targettable r
using dbo.sourcetable s
on s.id=r.id
...
October 15, 2016 at 2:36 am
Quick guess, the GUI has SET ANSI_WARNINGS OFF while SSMS has SET ANSI_WARNINGS ON
😎
October 14, 2016 at 3:23 am
mitzyturbo (10/13/2016)
I'm wondering if this might be combination of using the <= operator in the inner join along with using a temp table which might be throwing the...
October 13, 2016 at 4:00 am
Can you post the actual execution plan for the query?
😎
October 13, 2016 at 3:15 am
Further on Jeff's fine reply, here is an example of "Generic" table auditing with few extras for education and entertainment.
😎
USE TEEST;
GO
SET NOCOUNT ON;
/*
--------------------------------------------------------------------------------------------------------------------------
Name: ...
October 13, 2016 at 2:18 am
How large is the dbo.sysjobhistory table in msdb? Seen similar on the same version/patch level when the table grows huge.
😎
October 12, 2016 at 9:37 am
This looks entirely wrong to me, two instances of a parameter object with the same name in the same scope, using parameters in non-parameterized code, no command is executed. My...
October 12, 2016 at 9:29 am
BLOB_EATER (10/12/2016)
Eirikur Eiriksson (10/12/2016)
BLOB_EATER (10/12/2016)
October 12, 2016 at 9:19 am
BLOB_EATER (10/12/2016)
October 12, 2016 at 3:17 am
Quick question, what is the full output of SELECT @@VERSION
😎
October 11, 2016 at 11:56 pm
Not clear what the problem is here, can you elaborate further?
😎
October 11, 2016 at 7:39 pm
BI_Dev (10/11/2016)
Is it possible to block all users from querying a table while it's being refreshed (truncate/insert into) by a maintenance job? I'm not a DBA but would like...
October 11, 2016 at 10:42 am
Quick question, do you have a POC (Partition, Order, Covering) index to satisfy the row_number?
😎
October 11, 2016 at 10:11 am
As mentioned before, check the parentheses, here is a suggestion
😎
SELECT
bi.ref
,st.design
,bi.qtt
,bi.qtt2
,st.fornecedor
,st.epcult
...
October 11, 2016 at 9:58 am
This is well documented on BOL: Using XML Data Types
😎
October 11, 2016 at 5:25 am
Viewing 15 posts - 3,061 through 3,075 (of 8,753 total)