Viewing 15 posts - 1,081 through 1,095 (of 7,490 total)
did you double check the "slow" instances service account is authorized to use Instant File Initialization ?
October 27, 2014 at 7:27 am
Since the date is in your result set, which date to you want it to have ?
Select EmpName, min( PayDate) as PayDate, WageType, PayRate
from Whatever
group by EmpName,...
October 24, 2014 at 5:39 am
can you share what you have tested and why distinct cannot be used ?
a simple group by on the 4 columns will also work and may even use available indexes
October 24, 2014 at 1:57 am
Spot on for the weak spot detection !
Enjoy your holiday !
September 26, 2014 at 3:46 am
how about this:
/* still using the recursive CTE */
Create table MyTable ( Id int not null, Name varchar(128) not null, IdParent int NULL );
go
Create...
September 26, 2014 at 12:23 am
I guess your interesting read would be Hierarchies on Steroids #1: Convert an Adjacency List to Nested Sets[/url] and the sequels 😉
just solving your simple example using a cte can...
September 25, 2014 at 6:33 am
September 25, 2014 at 6:04 am
apparently just being member of 'public' on a database is enough to be able to script the create database statement. :crazy:
September 23, 2014 at 2:57 am
is the user member of any powerful instance level security group(s) or has the account been granted things 'on any database' ?
September 23, 2014 at 2:21 am
someone must have granted 'view definition TO ...' ;
e.g. to public ( not my favorite ! )
try:
deny view definition TO [ThatSpecificUser]
September 23, 2014 at 1:02 am
IMO that must be something that comes from either:
- someone executing DDL for implementation of stuff
or
- a dynamic sql statement someone is executing.
SQLserver will not let you implement DDL...
September 23, 2014 at 12:44 am
HowardW (9/10/2014)
You might...
September 11, 2014 at 12:09 am
I know you the values of query_hash and query_plan_hash are different and the columns serve different purposes.
My points are:
- why is query_hash of the sqlplan not equal with the query_hash...
September 9, 2014 at 7:13 am
start reading here : Database Mirroring (SQL Server 2012)
September 9, 2014 at 2:07 am
itmanagers (8/27/2014)
Hope you are doing fine.
I'm new using SQL backup jobs with multiple full, diff and log backups.
I have the following scenario
full- every day at 8:00pm
diff- every 4 hours
log- every...
August 28, 2014 at 12:49 am
Viewing 15 posts - 1,081 through 1,095 (of 7,490 total)