Tempdb on SQL 2k8r2
Does having large tempdb files cause performance problems? If yes, what kind of performance problems and why? Considering that all tempdb files have to be the same size and sometimes you need to free...
View ArticleRestore a database from Enterprise Edition which has CDC enabled on a...
Hello, I have a SQL Server Enterprise Edition which holds a database which CDC enabled. I took a backup and then tried to restore it to another SQL Server but Standard Edition. I got below error...
View ArticleSQL Server Services Account
Hi, SQL Server and agent service are running under Local System account. I want to backup database to remote server '\\......'. Job failed with errror access denied. How to access remote location...
View ArticleHow to convert the Geography data into Lat&Lon?
How to convert the Geography Data type data into Lat&Lon?
View ArticleSQL Server 2012 syspolicy_purge_history fails step 3 "Erase Phantom System...
I recently installed SQL Server 2012 Ent (x64). The install is a stand alone default instance. The syspolicy_purge_history job fails on step three with the following error: Executed as user:...
View ArticleGroup data based on pattern
Hi, here are two things I need to do with my data: 1. I have raw data, 10.000 rows per day coming in batches every hour (see sample data columns A-E). I need to process these data on a daily basis (so...
View Articlenew instance unable to logon regardless of which account
existing server (server 08 std r2 / SQL 08 r2 std). installed a new instance for a citrix database. no matter what I do, no account can connect to the instance in SSMS (accounts that are sysadmins)....
View ArticleVery Slow Response Time retrieving data migrated from MySQL to SQL Server...
SSMA 5.2 migrated from MySQL 5.0.51a to SQL Server Express 2008 R2 SP1 with Adv Tools via ODBC connection (tcp), using PHP 5.2.8, Apache 2.2.11 on XP. Fetching 1.2M of data: bigint (Unix) timestamp,...
View ArticleThe SQL Agent Service won't start under a specified (Domain) user account...
Greetings! I have a SQL Server on which the Agent Service will start and run, but only when configured to run under the LocalSystem account, which I don't want. The Agent Service will not start with...
View Articlesp_change_users_login
sp_change_users_login 'Report ' Does this actual reports the Domain Or Network groups and users If there any Orphan users ?
View ArticleSQL database mail authentication
I would like to set sql database mail to authenticate with specific windows domain account. But the only option I have found is to send database engine service credentials. Database service credentials...
View ArticleSqlDependency query notification subscriptions cause row updates to lock...
I'm using SqlDependency to monitor a table for changes. However, whenever SqlDependency begins monitoring a table, any updates to that table inside a transaction cause the entire table to get locked....
View ArticleHashing Algorithm SHA-256
What versions of SQL Server support the hashing algorithm SHA-256? I find references to encryption, but I haven't found too much on hashing. Some articles are using encrypting and hashing as the same...
View ArticleDifference in the detail of logging in Simple recovery and bulk-logged...
Besides from backup point of view, what are the differences in different recovery models? Is the logging optimized in simple recovery model comparative to bulk-logged model?
View ArticleMissing bytes
If I have the following table with 51800000 rows and avg page space used of 99.79%. Why does the table use 1025792 KB? CREATE TABLE [FactVaR_S265_K1_K1] ([Factor Group Key] [TINYINT] NOT NULL, -- 1...
View ArticleSELECT query, row versioning and TempDb
Hi All, I am on SQL Server 2008. I want to clear my concept about row versioning and usage of TempDb. In my database, read committed snapshot is ON. Now lets say, session1 is updating some data in...
View ArticleDBCC fileHeader sectorsize and actualsize difference
I installed sql server 2008 on my system and create 1 user Db. when i executed dbcc fileheader('master') sectorsize and actualsize were 4096 and 512 bytes respectivley. and for user database sectorsize...
View Articlesql 2005 recovery model changed from full to simple-implications for backups
One of our developers had an issue with drive space for the log files during a database upgrade. They changed the recovery model from full to simple at around 16:00, used shrink on the log files, then...
View ArticleEDU B E32-00981 vs EDU NL E32-00982
What is the difference between Microsoft SQL SERVER DVLPR EDTN 2012 EDU B E32-00981 and Microsoft SQL SERVER DVLPR EDTN 2012 EDU NL E32-00982
View Article