Traditional Indexes Vs Clustered Columnstore Index
I've been asked to look at using Clustered Columnstore indexes for one of my tables. The table contains about 5 million records with about 50 columns. The max field size is a NVarchar(MAX) with max...
View ArticleGuideline for picking a static port number for a named instance
Basically the question is, which number should I pick?
View ArticleLicensing cost SQL Server 2014
It is my understanding that SQL Server 2014 is Licensing by core with a minimum of 4 cores per CPU.What impact does having multiple instances have on pricing if any?Any impact would be greatly...
View ArticleI want hyperlinkFiled in my Query Result
HiI Have a field in my Query Result with this Value : For example "Http://www.sssss.com"I want To change it Which User click on it, Directly Open a web page with addres (that save on that row)thank you
View Articlehow Do I Identify the job with the code
I got query from sysproccessesand the result for one spid is : SQLAgent - TSQL JobStep (Job 0xF3BDA6DFF9DCF94D81FF97C49EDA7C61 : Step 1Which job has this code : 0xF3BDA6DFF9DCF94D81FF97C49EDA7C61thank you
View ArticleWhy do I leave my DB in Restoring State after attaching to the instance?
Hi All,Why do I leave my DB in Restoring State after attaching to the instance? Could not this fire a redo activity on Transaction Log?Or, How does sql server undo all uncommitted transactions on...
View ArticleHow to get number of execution in specific time-not from first
HiI have this query SELECT top 100 Ltrim([text]),objectid,total_rows,total_logical_reads , execution_count FROM sys.dm_exec_query_stats AS aCROSS APPLY sys.dm_exec_sql_text(a.sql_handle) AS b where...
View ArticleCan I lock a table only for a specific user for some seconds
Hi I ned to do some operations on a table when any user dont work with it.How do i do it?Do i lock the table? and is it possible?
View ArticleCopy Database Wizard fails from 2008 to 2014
I am trying to migrate a 2008 R2 (SP1) database with one secondary data file to a separate 2014 server using the Copy Database Wizard from the 2014 server, and connect to both SQL engines on that...
View ArticleUser Audit - XP_LOGININFO help
I am trying to write a script that generates a user audit of users who actually can and can't access a database. When it comes to groups I'm using xp_logininfo to get the members of the group. I have...
View ArticleGuidelines to setup db part of data centre
HiMy company is migrating all their servers to a new data centre and I get to specify what we need for the db servers.We've got a 22 prod servers (mainly physical) with a couple of TB of data on sql...
View ArticleFilegroup backup questions
Hi,I'm playing around with file group backups a bit. Want to see if we can get our backups smaller/faster.And also trying to get maint jobs faster.So the plan is, is to create a separate file group/s...
View ArticleI need a guideLine for Standard Database Design
Hi We should monitor Database Objects created by development dept. in 2 views : - View , sps , .. to have best performance - Tables , ... To have standard Design. Such as select best PK and constraints...
View ArticleSql server 2014 with Windows server 2012 R2 - Datacenter
Hi we want to change version of our servers to these versions :- windows server 2012 R2 Datacenter- sql server 2014 (without any packs)Are they compatible with each other?thank you
View ArticleRecover SQL Server SA Password
I’ve forgotten the password of SA account, therefore I am not able to login to my SQL Server 2008 R2. I have another account, but with no special privileges. Anyone here can tell me how to reset SQL...
View ArticleQuestion on Alwayson and sql agent job
Hi All, We are in process of implementing AG in SQL 2014. I am facing issues while checking jobs. I have created the jobs on both nodes. However, I want the jobs to be executed only on primary. For...
View ArticleRunnin Multiple Instances on 2 nodes, one AoHA, one Mirroring
I'm looking at installing 2008R2 and 2014 side by side, then using Mirroring to provide HA for the 2008R2 instance and AoHA for the 2014 instance. I'd be using the same two physical servers for both...
View ArticleMy database went into suspected mode
My database went into suspected mode. and after we had run some script, it came out from the suspected mode. but we encountered this error while opening table in database.2009-11-02 15:46:42.90 spid51...
View ArticleSql Server 2005 R2 to R4 - suggestions/advice etc...
Hi everyone, Can you help me please? I want to do a service pack upgrade on Sql Server 2005 from SP2 to SP4. I believe such upgrades are fairly low risk. I have been told that good backups before the...
View ArticleSQL 2014 Express installation crashing out.
Hi Guys,Im trying to install SQL 2014 Express (SQLExprAdv_x64_ENU.exe) on a 64bit Win 7 Pro SP1 laptop.The laptop is a fresh install with all updates, inc .Net Framework 4.5.2After the files extract,...
View Article