Viewing 15 posts - 7,366 through 7,380 (of 8,753 total)
ramana3327 (8/25/2014)
If we want to move SQL Sever 2008R2 to SQL 2102,
In placemigration (Upgradation) or side by side migration is better? How can we decide which one is better...
August 25, 2014 at 5:56 am
From what I understand, this should get you started
😎
USE tempdb;
GO
create table dbo.error_staging
(ld_date INT
,s_code varchar(10)
,error_code varchar(10)
,[mbr_no] varchar(10));
insert into dbo.error_staging
values(20140811, 'S000310D', '200016','A023539B'),(20140812, 'S000430D', '200016','A544348B'),(20140813, 'S001204D', '200016','A240640B'),
(20140815, 'S000365D', '200160','A398944B'),(20140815, 'S000446D', '200160','A395200B'),(20140815,...
August 25, 2014 at 5:43 am
Qira (8/25/2014)
tq very much
You are welcome.
While the splitting part works fine with very short list of elements, you might want to look at DelimitedSplit8K[/url] for better splitting performance when handling...
August 25, 2014 at 5:01 am
arooj300 (8/25/2014)
Thanks for the reply. I have plenty of space in T drive almost 200 GB. and I have checked with partial and no cache but there is no...
August 25, 2014 at 3:45 am
kbhanu15 (8/25/2014)
Hi All,can you please provide the T-SQL script for the following request ?
Generate script for view dependencies of user defined table types ?
Quick solution, searches sys.parameters for the...
August 25, 2014 at 3:35 am
The error is exactly what is says on the tin, the system is out of disk space on the T: drive. To resolve this, either some space has to be...
August 25, 2014 at 3:14 am
Here is a quick solution, uses charindex instead of patindex. It does leave some room for improvements though, especially in the search string splitting part.
😎
USE tempdb;
GO
/* The strings to search...
August 25, 2014 at 2:25 am
dwain.c (8/25/2014)
Eirikur Eiriksson (8/24/2014)
dwain.c (8/24/2014)
SELECT a.CVID, a.JobNoticeID, IsMatch=CASE WHEN b.JobNoticeID IS NOT NULL...
August 25, 2014 at 1:19 am
WhiteLotus (8/19/2014)
Yes I use SOLARWIND to monitor SQL Performance and It shows that Workfiles Created/Sec and Worktables created /sec are in CRITICAL status.
I guess the threshold is a configured value...
August 25, 2014 at 1:14 am
CELKO (8/19/2014)
This is called a hash function. You can Google it or get a book on freshman computing, or data structures.
Out of curiosity, isn't this a slight contradiction on...
August 25, 2014 at 1:05 am
Here is a very well performing solution which adds a covering filtered index, simply blazing fast.;-) Even without the index it is still more than three times faster than previous...
August 25, 2014 at 12:29 am
dwain.c (8/24/2014)
SELECT a.CVID, a.JobNoticeID, IsMatch=CASE WHEN b.JobNoticeID IS NOT NULL THEN 1 ELSE...
August 24, 2014 at 11:23 pm
TomThomson (8/24/2014)
Jeff Moden (8/23/2014)
There's nothing wrong with challenging a DA when it comes to performance
up to there I agree with you 100%
because, and with absolutely no malice in my...
August 24, 2014 at 2:31 pm
Here is yet another solution, similar to Lutz's apart from the grouping. Tends to be slightly quicker on small sets.
😎
USE tempdb;
GO
create table #test (name nvarchar (10),point_of_time datetime)
insert #test (name,point_of_time)
select 'd','2014-08-19...
August 24, 2014 at 1:58 pm
Viewing 15 posts - 7,366 through 7,380 (of 8,753 total)