Viewing 15 posts - 706 through 720 (of 1,219 total)
Again, you cannot rename an instance.
The sp_dropserver/sp_addserver applies whem you have changed the machine name in Windows. In this case you need to do "sp_dropserver oldname" followed by
sp_addserver "newname",...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 31, 2013 at 4:44 am
Jeff Moden (8/30/2013)
If you're interested in speed, STR isn't the way to do it.
It's unlikely that the speed difference would be significant. Yes, if you need to do this on...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 31, 2013 at 3:10 am
deep3.kaur 98681 (8/30/2013)
Also, why did stats update help, why was auto stats update not working. I don't understand that.
Hard to say when we don't know the exact steps you did....
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 31, 2013 at 3:01 am
SELECT quotename(s.name) + '.' + quotename(o.name), o.type
FROM sys.objects o
JOIN sys.schemas s ON o.object_id = s.object_id
WHERE o.type NOT IN ('S', 'IT')
This will lists all objects in the...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 30, 2013 at 4:21 pm
Are there any triggers on the table? The INSERT statements themselves are plain vanilla, but there could be issues with trigger code.
But since you say mirror waits, I guess you...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 30, 2013 at 4:07 pm
It's impossible to say. In the system I work there is a table to which a bunch of rows are added every night. This job usually completes in a few...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 30, 2013 at 4:01 pm
SELECT replace(str(amt, 13), ' ', '0')
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 30, 2013 at 3:59 pm
Jay Purvis (8/30/2013)
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 30, 2013 at 3:57 pm
deep3.kaur 98681 (8/30/2013)
My main issue is why the ETL is taking more time on Sql 2012 then it...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 30, 2013 at 3:46 pm
patrickmcginnis59 10839 (8/30/2013)Its just the first time I've seen RBAR used in a non T-SQL context.
For that matter, I had not seen the term RBAR before I started to be...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 30, 2013 at 3:43 pm
In addition to the other posts, permit me to point that one important piece is missing from your post: what error do they get?
And, for that matter, do they insert...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 30, 2013 at 3:31 pm
I have been involved in another thread where someone was trying to use BCP to export data, and the througput he got was about the same as yours. I did...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 29, 2013 at 4:17 pm
danka_6786978 (8/29/2013)
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 29, 2013 at 4:07 pm
Jay Purvis (8/29/2013)
Especially when the builds were released only a month...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 29, 2013 at 4:01 pm
It's as simple as this:
SET @sql = 'SELECT * FROM <sometable>
WHERE dateadd(hh, @tzoffset, END_DATETIME) BETWEEN @StartDate AND @EndDate'
When you work with dynamic SQL you should use parameterised statements for...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 29, 2013 at 3:56 pm
Viewing 15 posts - 706 through 720 (of 1,219 total)