Viewing 15 posts - 3,751 through 3,765 (of 8,753 total)
drew.allen (4/4/2016)
Eirikur Eiriksson (4/4/2016)
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @XQUERY_STR NVARCHAR(MAX) = N'';
DECLARE @PARAM_STR NVARCHAR(MAX) =...
April 4, 2016 at 1:16 pm
Jeff Moden (4/4/2016)
Eirikur Eiriksson (4/4/2016)
Edit: Just tested 10.000 row elements on my old laptop, finished in less than a second.
If all the rows were identical, then stats will only have...
April 4, 2016 at 1:08 pm
Brandie Tarvin (4/4/2016)
April 4, 2016 at 12:37 pm
coolchaitu (4/4/2016)
Job failed last night due to temp log consuming full disk space. Could you please advise on fixing this. Heard,Shrinking tempdb log file is not a good idea.
Quick question,...
April 4, 2016 at 12:33 pm
TheSQLGuru (4/4/2016)
April 4, 2016 at 11:12 am
Here is a quick suggestion towards a solution, let us know if you need more assistance.
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @XQUERY_STR NVARCHAR(MAX) = N'';
DECLARE @PARAM_STR NVARCHAR(MAX) = N'@TXML1 XML';
DECLARE @TXML1...
April 4, 2016 at 10:55 am
JKSQL (3/30/2016)
UPDATE...
April 3, 2016 at 3:01 pm
Sachin Nandanwar (3/31/2016)
March 31, 2016 at 9:16 am
WhiteLotus (3/29/2016)
I have just moved the databases from 1 server to another server (I performed Attach detach method for user databases )
When I checked in SQL error log...
March 30, 2016 at 12:00 am
Alan.B (3/25/2016)
March 29, 2016 at 3:45 pm
Hugo Kornelis (3/29/2016)
Eirikur Eiriksson (3/29/2016)
March 29, 2016 at 3:32 pm
Quick thought, the first (union) query will use two index seek operators (if the correct indices are in place) while the latter does a single scan. If the cardinality of...
March 29, 2016 at 11:45 am
Few ways of doing this and one is replacing the apostrophes with double apostrophes.
😎
Quick sample and quick correction on Drew's code.
DECLARE @Cleintslist TABLE
(
Cust_id INT IDENTITY(1,1)...
March 29, 2016 at 11:10 am
drew.allen (3/29/2016)
Eirikur Eiriksson (3/29/2016)
😎
SELECT
C.cust_id
,C.cust_name
...
March 29, 2016 at 9:24 am
Quick thought, there is no need for the subquery as this can written as a normal query
😎
SELECT
C.cust_id
,C.cust_name
,C.cust_state
...
March 29, 2016 at 8:36 am
Viewing 15 posts - 3,751 through 3,765 (of 8,753 total)